void main() { object oPC = GetLastUsedBy(); if (!GetIsPC(oPC)) return; object oTarget; location lTarget; oTarget = GetObjectByTag("sha_myratherend_p2"); lTarget = GetLocation(oTarget); if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return; if(GetLocalInt(OBJECT_SELF, "BREAK_PORTAL") || !GetLocalInt(OBJECT_SELF, "SPEAK_ONCE")) { object LadyM = GetNearestObjectByTag("LADYMOON"); SetLocalInt(OBJECT_SELF, "SPEAK_ONCE", TRUE); DelayCommand(18.0, SetLocalInt(OBJECT_SELF, "SPEAK_ONCE", FALSE)); AssignCommand(LadyM, SpeakString("Foolish traitor! Do you think I will allow you to leave here alive?!")); return; } AssignCommand(oPC, ClearAllActions()); AssignCommand(oPC, ActionJumpToLocation(lTarget)); }