/* Mage guild 2 Great library */ //Put this OnUsed void main() { object oPC = GetLastUsedBy(); if (!GetIsPC(oPC)) return; AssignCommand(oPC, ClearAllActions()); object oTarget; location lTarget; oTarget = GetWaypointByTag("mg2gl"); lTarget = GetLocation(oTarget); if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return; AssignCommand(oPC, ActionJumpToLocation(lTarget)); }