void main() { object oPC; object oTarget; oPC = GetLastUsedBy(); oTarget = GetObjectByTag("InnWaypoint"); AssignCommand(oPC,JumpToObject(oTarget)); }