void PGteleport(object oPC, string sTarget) { object oTarget = GetObjectByTag(sTarget); AssignCommand(oPC, JumpToObject(oTarget)); }