void main() { object oPC; oPC = GetEnteringObject(); if (GetIsPC(oPC)) SetLocalInt(oPC,"PCRandomMonster",0); }