void main() { object oPC=GetEnteringObject(); object oDest=GetWaypointByTag("CRYPT_PELIOS_FINAL"); if (GetIsPC(oPC)==TRUE) { // is a PC if (GetItemPossessedBy(oPC,"GemofPelios")!=OBJECT_INVALID) { // has the item AssignCommand(oPC,ClearAllActions()); AssignCommand(oPC,JumpToObject(oDest)); } // has the item } // is a PC }