RATDOG/_module/nss/clickforxp.nss

12 lines
288 B
Plaintext
Raw Permalink Normal View History

2021-10-14 18:40:47 -04:00
void main()
{
// Get the creature who triggered this event.
object oPC = GetLastUsedBy();
// Give 3000 experience to the PC.
GiveXPToCreature(oPC, 30000);
// Send a message to the player's chat window.
SendMessageToPC(oPC, "" + GetName(oPC) + " received XP");
}