Code:
function AZZDZZ_OnGossipTalk(pUnit, event, player, pMisc)
if (player:IsInCombat() == true) then
player:SendAreaTriggerMessage("Please leave combat first.")
player:SendBroadcastMessage("Please leave combat first.")
pUnit:GossipComplete(player)
else
if player:IsAlliance() == true then
pUnit:GossipCreateMenu(22222, player, 0)
pUnit:GossipMenuAddItem(1, "I am Alliance.", 15, 0)
pUnit:GossipSendMenu(player)
else
pUnit:GossipCreateMenu(11111, player, 0)
pUnit:GossipMenuAddItem(1, "I am Horde.", 6, 0)
pUnit:GossipSendMenu(player)
end
end
end
function AZZDZZ_OnGossipSelect(pUnit, event, player, id, intid, code, pMisc)
if (intid == 15) then
player:Teleport(571, 8181, 1857, 566.25)
player:GossipComplete()
end
if (intid == 6) then
player:Teleport(571, 8181, 1857, 566.25)
player:GossipComplete()
end
end
RegisterUnitGossipEvent(555667, 1, "AZZDZZ_OnGossipTalk")
RegisterUnitGossipEvent(555667, 2, "AZZDZZ_OnGossipSelect")
Change the Red to your map x y z
Try that, not tested.