Code:
local npcid = 55555
function NPC_main_menu(pUnit, player)
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(3, "The Asgard Realm Presents", 1, 0)
pUnit:GossipMenuAddItem(0, "Server Information", 3, 0)
pUnit:GossipMenuAddItem(0, "Server Rules and Regulations", 4, 0)
pUnit:GossipMenuAddItem(1, "Teleport Locations", 6, 0)
pUnit:GossipMenuAddItem(1, "Cool Morphs", 7, 0)
pUnit:GossipMenuAddItem(3, "De-Morph", 8, 0)
pUnit:GossipSendMenu(player)
end
function NPC_on_gossip_talk(pUnit, event, player)
NPC_main_menu(pUnit, player)
end
function NPC_on_gossip_select(pUnit, event, player, id, intid, code, pMisc)
if(intid == 3) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(4, "This is a high rate PVP server. The rate is 75x. It's pretty new so we are still working on it and if you have any ideas send us a mail. We have two custom leveling areas and two custom shopping centers. One for Alliance and one for Horde. One custom city and alot of custom items. Enjoy your staying here.", 10, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 4) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:SendChatMessage(12, 0, "Check the rules section closely.")
pUnit:GossipMenuAddItem(4, "Don't cheat... If you do you will get kicked or banned for a time period. Play fair and don't scam others. Don't beg GMs or Admins for money or items. Do as they tell you to. The GMs will maybe make events like Hide and Seek with a reward and they deside the reward. And please don't spam. If you do you will get kicked for a short time.", 21, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 6) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(1, "Citys", 700, 0)
pUnit:GossipMenuAddItem(1, "Raids", 701, 0)
pUnit:GossipMenuAddItem(1, "Outland Locations", 702, 0)
pUnit:GossipMenuAddItem(1, "Other Places", 703, 0)
pUnit:GossipMenuAddItem(1, "LIST NAME HERE", 704, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 7) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(1, "Akama", 50, 0)
pUnit:GossipMenuAddItem(1, "Chinese Dragon", 51, 0)
pUnit:GossipMenuAddItem(1, "Demon Hunter", 52, 0)
pUnit:GossipMenuAddItem(1, "Diablo", 53, 0)
pUnit:GossipMenuAddItem(1, "Fel Elf Male Melee", 54, 0)
pUnit:GossipMenuAddItem(1, "Fel Elf Male Caster", 55, 0)
pUnit:GossipMenuAddItem(1, "Fel Elf Female Melee", 56, 0)
pUnit:GossipMenuAddItem(1, "Fel Elf Female Caster", 57, 0)
pUnit:GossipMenuAddItem(1, "Dire Fel Orc", 58, 0)
pUnit:GossipMenuAddItem(1, "Fire Dancer", 59, 0)
pUnit:GossipMenuAddItem(1, "Miev", 60, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 700) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(1, "The Forgotten Outpost", 750, 0)
pUnit:GossipMenuAddItem(1, "Orgrimmar", 751, 0)
pUnit:GossipMenuAddItem(1, "Undercity", 752)
pUnit:GossipMenuAddItem(1, "Thunder Bluff", 753, 0)
pUnit:GossipMenuAddItem(1, "Silvermoon City", 754, 0)
pUnit:GossipMenuAddItem(1, "Shattrath City", 755, 0)
pUnit:GossipMenuAddItem(1, "Stormwind City", 756, 0)
pUnit:GossipMenuAddItem(1, "Ironforge", 757, 0)
pUnit:GossipMenuAddItem(1, "Darnassus", 758, 0)
pUnit:GossipMenuAddItem(1, "The Exodar", 759, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 701) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(1, "Sunwell", 850, 0)
pUnit:GossipMenuAddItem(1, "Black Temple", 851, 0)
pUnit:GossipMenuAddItem(1, "Zul'Aman", 852, 0)
pUnit:GossipMenuAddItem(1, "Tempest Keep", 853, 0)
pUnit:GossipMenuAddItem(1, "Caverns of Time", 854, 0)
pUnit:GossipMenuAddItem(1, "Karazhan", 855, 0)
pUnit:GossipMenuAddItem(1, "Auchindoun", 856, 0)
pUnit:GossipMenuAddItem(1, "Hellfire Citadel", 857, 0)
pUnit:GossipMenuAddItem(1, "Gruul's Lair", 858, 0)
pUnit:GossipMenuAddItem(1, "Ahn'Qiraj", 859, 0)
pUnit:GossipMenuAddItem(1, "Coilfang Reservoir", 860, 0)
pUnit:GossipMenuAddItem(1, "Zul'Gurub", 861, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 702) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(1, "Hellfire Peninsula", 900, 0)
pUnit:GossipMenuAddItem(1, "Shadowmoon Valley", 901, 0)
pUnit:GossipMenuAddItem(1, "Netherstorm", 902, 0)
pUnit:GossipMenuAddItem(1, "Nagrand", 903, 0)
pUnit:GossipMenuAddItem(1, "Zangarmarsh", 904, 0)
pUnit:GossipMenuAddItem(1, "Blade's Edge Mountains", 905, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 703) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(1, "Gurubashi Arena", 906, 0)
pUnit:GossipMenuAddItem(1, "Gadgetzan", 907, 0)
pUnit:GossipMenuAddItem(1, "Booty Bay", 908, 0)
pUnit:GossipMenuAddItem(1, "Ratchet", 909, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 704) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 910, 0)
pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 911, 0)
pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 912, 0)
pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 911, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 50) then
player:SetModel(20681)
end
if(intid == 51) then
player:SetModel(14779)
end
if(intid == 52) then
player:SetModel(7570)
end
if(intid == 53) then
player:SetModel(10992)
end
if(intid == 54) then
player:SetModel(22642)
end
if(intid == 55) then
player:SetModel(23224)
end
if(intid == 56) then
player:SetModel(23225)
end
if(intid == 57) then
player:SetModel(22980)
end
if(intid == 58) then
player:SetModel(21443)
end
if(intid == 59) then
player:SetModel(23523)
end
if(intid == 60) then
player:SetModel(20628)
end
if(intid == 8) then
pUnit:SendChatMessage(12, 0, "Please log out and then log back in to return to you're true form.")
end
if(intid == 750) then
player:Teleport(1, -108.361244, 2035.438721, 255.886032)
end
if(intid == 751) then
player:Teleport(1, 1653.308838, -4415.008789, 16.596895)
end
if(intid == 752) then
player:Teleport(0, 1568.948730, 240.901865, -52.147099)
end
if(intid == 753) then
player:Teleport(1, -1197.209229, 26.557766, 176.949020)
end
if(intid == 754) then
player:Teleport(530, 9465.902344, -7279.244629, 14.204638)
end
if(intid == 755) then
player:Teleport(530, -1876.769043, 5451.196777, -12.427807)
end
if(intid == 756) then
player:Teleport(0, -9059.938477, 437.619415, 93.055969)
end
if(intid == 757) then
player:Teleport(0, -4995.001653, -865.970154, 497.011536)
end
if(intid == 758) then
player:Teleport(1, 9952.082031, 2285.412842, 1341.393921)
end
if(intid == 759) then
player:Teleport(530, -3920.354736, -11615.578125, 138.357208)
end
if(intid == 850) then
player:Teleport(530, 12558, -6775.149902, 15.032568)
end
if(intid == 851) then
player:Teleport(530, -3640.775391, 313.752869, 35.271343)
end
if(intid == 852) then
player:Teleport(530, 6850, 7950, 170)
end
if(intid == 853) then
player:Teleport(530, 3100.124582, 1533.054688, 190.300369)
end
if(intid == 854) then
player:Teleport(1, -8482.785156, -8482.785156, -8482.785156)
end
if(intid == 855) then
player:Teleport(0, -8482.785156, -8482.785156, -8482.785156)
end
if(intid == 856) then
player:Teleport(530, -3323.537109, 4868.576660, -99.459801)
end
if(intid == 857) then
player:Teleport(530, -271.185303, 3114.522217, 31.386936)
end
if(intid == 858) then
player:Teleport(530, 3543.103271, 5091.642578, 3.703918)
end
if(intid == 859) then
player:Teleport(1, -8157.667480, 1528.788330, 4.197440)
end
if(intid == 860) then
player:Teleport(530, -735.311829, 6865.698730, -69.713669)
end
if(intid == 861) then
player:Teleport(0, -11915.859375, -1180.229004, 85.140755)
end
if(intid == 900) then
player:Teleport(530, -249.750854, 960.128845, 54.343956)
end
if(intid == 901) then
player:Teleport(530, -1846.033691, 3199.804688, 6.753517)
end
if(intid == 902) then
player:Teleport(530, 3397.15991, 3397.15991, 125.305023)
end
if(intid == 903) then
player:Teleport(530, -534.01757, 8435.868164, 8435.868164)
end
if(intid == 904) then
player:Teleport(530, -237.731461, 5422.525391, 5422.525391)
end
if(intid == 905) then
player:Teleport(530, 1596.716064, 1596.716064, 129.512451)
end
if(intid == 906) then
player:Teleport(0, -13259.100586, 169.506262, 34.615089)
end
if(intid == 907) then
player:Teleport(1, -7154.859863, -3817.939941, 8.398168)
end
if(intid == 908) then
player:Teleport(1, -14293.861328, 539.727844, 8.825499)
end
if(intid == 909) then
player:Teleport(0, -960.564819, -3760.470459, 5.253857)
end
if(intid == 910) then
player:Teleport(1, 100, 100, 100)
end
if(intid == 911) then
player:Teleport(1, 100, 100, 100)
end
if(intid == 912) then
player:Teleport(1, 100, 100, 100)
end
if(intid == 913) then
player:Teleport(1, 100, 100, 100)
end
intid = 0
end
RegisterUnitGossipEvent(55555, 1, "NPC_on_gossip_talk")
RegisterUnitGossipEvent(55555, 2, "NPC_on_gossip_select")