//Put this script OnClick or OnFailToOpen void main() { object oPC = GetClickingObject(); if (!GetIsPC(oPC)) return; object oTarget; location lTarget; //This is for the tent door, which will send the PC back to where they used the tent. lTarget = GetLocalLocation(oPC, "ls_stored_loc"); if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return; AssignCommand(oPC, ClearAllActions()); AssignCommand(oPC, ActionJumpToLocation(lTarget)); }