#include "x0_i0_partywide" void main() { // Get the creature who triggered this event. object oPC = GetPCSpeaker(); // Only fire for (real) PCs. if ( !GetIsPC(oPC) || GetIsDMPossessed(oPC) ) return; // Give 10 XP (to party) to the PC. GiveXPToAll(oPC, 10); }