void main() { object oPC = GetEnteringObject(); object oItem = GetItemPossessedBy(oPC, "lowki"); if(oItem == OBJECT_INVALID) { CreateItemOnObject("lowki", oPC, 1); return; } object oWay = GetWaypointByTag("home"); string sMsg = "You have already defeated this area, you are not permitted to enter again."; AssignCommand(oPC, ClearAllActions()); AssignCommand(oPC, ActionJumpToObject(oWay)); DelayCommand(7.0, FloatingTextStringOnCreature(sMsg, oPC, FALSE)); }