#include "NW_O2_CONINCLUDE" #include "NW_I0_GENERIC" void main() { if (GetLocalInt(OBJECT_SELF,"Rescued")!=1) { SetLocalInt(OBJECT_SELF,"Rescued",1); object oPC = GetFirstPC(); while (GetIsObjectValid(oPC) == TRUE) { GiveXPToCreature(oPC,1000); oPC = GetNextPC(); } ActivateFleeToExit(); } }