void main() { object oPC = GetEnteringObject(); int hd = GetHitDice(oPC); if (GetIsPC(oPC) && !GetIsDM(oPC) && hd >= 13){ SetXP(oPC, 0); BootPC(oPC); } }