Code:
local itemid = 66000
function Item_Trigger(item, event, player)
Item_menu(item, player)
end
function Item_menu(item, player)
if (player:IsInCombat() == true) then
player:SendAreaTriggerMessage("You are in combat!")
else
item:GossipCreateMenu(3544, player, 0)
local race=player:GetPlayerRace()
if race==1 or race==3 or race==4 or race==7 or race==11 then
item:GossipMenuAddItem(4, "Alliance Cities", 1, 0)
end
local race=player:GetPlayerRace()
if race==2 or race==5 or race==6 or race==8 or race==10 then
item:GossipMenuAddItem(4, "Horde Cities", 2, 0)
end
item:GossipMenuAddItem(4, "Eastern Kingdom Locations", 3, 0)
item:GossipMenuAddItem(4, "Kalimdor Locations", 4, 0)
item:GossipMenuAddItem(4, "Outland Locations", 5, 0)
item:GossipMenuAddItem(4, "Azeroth Instances", 6, 0)
item:GossipMenuAddItem(4, "Outland Instances", 7, 0)
item:GossipMenuAddItem(1, "gm island,pvp area", 1236, 0)
item:GossipMenuAddItem(1, "Gurubashi Arena", 420, 0)
item:GossipMenuAddItem(4, "WOTLK Locations", 8, 0)
item:GossipMenuAddItem(4, "WOTLK Instances", 9, 0)
item:GossipMenuAddItem(4, "custom instances", 14, 0)
item:GossipMenuAddItem(4, "malls", 15, 0)
item:GossipMenuAddItem(4, "music", 603, 0)
item:GossipMenuAddItem(4, "morphs", 153, 0)
item:GossipMenuAddItem(3, "Advance All Skills", 620, 0)
item:GossipMenuAddItem(0, "Remove Resurrection Sickness", 998, 0)
item:GossipSendMenu(player)
end
end
function OnSelect(item, event, player, id, intid, code)
if(intid == 999) then
item:GossipCreateMenu(99, player, 0)
local race=player:GetPlayerRace()
if race==1 or race==3 or race==4 or race==7 or race==11 then
item:GossipMenuAddItem(4, "Alliance Cities", 1, 0)
end
local race=player:GetPlayerRace()
if race==2 or race==5 or race==6 or race==8 or race==10 then
item:GossipMenuAddItem(4, "Horde Cities", 2, 0)
end
item:GossipMenuAddItem(4, "Eastern Kingdom Locations", 3, 0)
item:GossipMenuAddItem(4, "Kalimdor Locations", 4, 0)
item:GossipMenuAddItem(4, "Outland Locations", 5, 0)
item:GossipMenuAddItem(4, "Azeroth Instances", 6, 0)
item:GossipMenuAddItem(4, "Outland Instances", 7, 0)
item:GossipMenuAddItem(1, "Gurubashi Arena", 420, 0)
item:GossipMenuAddItem(1, "gm island,pvp area", 1236, 0)
item:GossipMenuAddItem(4, "WOTLK Locations", 8, 0)
item:GossipMenuAddItem(4, "WOTLK Instances", 9, 0)
item:GossipMenuAddItem(4, "custom instances", 14, 0)
item:GossipMenuAddItem(4, "malls", 15, 0)
item:GossipMenuAddItem(4, "music", 603, 0)
item:GossipMenuAddItem(4, "morphs", 153, 0)
item:GossipMenuAddItem(3, "Advance All Skills", 620, 0)
item:GossipMenuAddItem(0, "Remove Resurrection Sickness", 10, 0)
item:GossipSendMenu(player)
end
if(intid == 1) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(1, "Stormwind", 300, 0)
item:GossipMenuAddItem(1, "Ironforge", 301, 0)
item:GossipMenuAddItem(1, "Darnassus", 302, 0)
item:GossipMenuAddItem(1, "Exodar", 303, 0)
item:GossipMenuAddItem(1, "Mall", 418, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if(intid == 2) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(1, "Orgrimmar", 304, 0)
item:GossipMenuAddItem(1, "Thunder Bluff", 305, 0)
item:GossipMenuAddItem(1, "Undercity", 306, 0)
item:GossipMenuAddItem(1, "Silvermoon", 307, 0)
item:GossipMenuAddItem(1, "Mall", 419, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if(intid == 3) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(1, "Alterac Mountains", 308, 0)
item:GossipMenuAddItem(1, "Arathi Highlands", 309, 0)
item:GossipMenuAddItem(1, "Badlands", 310, 0)
item:GossipMenuAddItem(1, "Burning Steppes", 311, 0)
item:GossipMenuAddItem(1, "Deadwind Pass", 312, 0)
item:GossipMenuAddItem(1, "Dun Morogh", 313, 0)
item:GossipMenuAddItem(1, "Duskwood", 314, 0)
item:GossipMenuAddItem(1, "Eastern Plaguelands", 315, 0)
item:GossipMenuAddItem(1, "Elwynn Forest", 316, 0)
item:GossipMenuAddItem(1, "Eversong Woods", 317, 0)
item:GossipMenuAddItem(1, "Ghostlands", 318, 0)
item:GossipMenuAddItem(1, "Hillsbrad Foothills", 319, 0)
item:GossipMenuAddItem(1, "Hinterlands", 320, 0)
item:GossipMenuAddItem(1, "Loch Modan", 321, 0)
item:GossipMenuAddItem(0, "--> Page 2 -->", 10, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if(intid == 4) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(1, "Ashenvale", 331, 0)
item:GossipMenuAddItem(1, "Azshara", 332, 0)
item:GossipMenuAddItem(1, "Azuremyst Isle", 333, 0)
item:GossipMenuAddItem(1, "Bloodmyst Isle", 334, 0)
item:GossipMenuAddItem(1, "Darkshore", 335, 0)
item:GossipMenuAddItem(1, "Durotar", 336, 0)
item:GossipMenuAddItem(1, "Desolace", 337, 0)
item:GossipMenuAddItem(1, "Dustwallow Marsh", 338, 0)
item:GossipMenuAddItem(1, "Felwood", 339, 0)
item:GossipMenuAddItem(1, "Feralas", 340, 0)
item:GossipMenuAddItem(1, "Moonglade", 341, 0)
item:GossipMenuAddItem(1, "Mulgore", 342, 0)
item:GossipMenuAddItem(1, "Silithus", 343, 0)
item:GossipMenuAddItem(1, "Stonetalon Mountains", 344, 0)
item:GossipMenuAddItem(0, "--> Page 2 -->", 11, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if(intid == 5) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(1, "Blade's Edge Mountains", 351, 0)
item:GossipMenuAddItem(1, "Hellfire Peninsula", 352, 0)
item:GossipMenuAddItem(1, "Nagrand", 353, 0)
item:GossipMenuAddItem(1, "Netherstorm", 354, 0)
item:GossipMenuAddItem(1, "Shadowmoon Valley", 355, 0)
item:GossipMenuAddItem(1, "Terokkar Forest", 356, 0)
item:GossipMenuAddItem(1, "Zangarmarsh", 357, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if(intid == 6) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(1, "Ahn'Qiraj", 358, 0)
item:GossipMenuAddItem(1, "Blackfathom Depths", 359, 0)
item:GossipMenuAddItem(1, "Blackrock Depths", 360, 0)
item:GossipMenuAddItem(1, "Blackrock Spire", 361, 0)
item:GossipMenuAddItem(1, "Blackwing Lair", 362, 0)
item:GossipMenuAddItem(1, "Caverns of Time", 363, 0)
item:GossipMenuAddItem(1, "Deadmines", 364, 0)
item:GossipMenuAddItem(1, "Dire Maul", 365, 0)
item:GossipMenuAddItem(1, "Gnomeregan", 366, 0)
item:GossipMenuAddItem(1, "Maraudon", 367, 0)
item:GossipMenuAddItem(1, "Molten Core", 368, 0)
item:GossipMenuAddItem(1, "Onyxia's Lair", 369, 0)
item:GossipMenuAddItem(1, "Ragefire Chasm", 370, 0)
item:GossipMenuAddItem(0, "--> Page 2 -->", 12, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if(intid == 7) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(0, "Outland Raids", 13, 0)
item:GossipMenuAddItem(1, "Auchenai Crypts", 383, 0)
item:GossipMenuAddItem(1, "Coilfang Reservoir", 385, 0)
item:GossipMenuAddItem(1, "Hellfire Ramparts", 387, 0)
item:GossipMenuAddItem(1, "Mana Tombs", 388, 0)
item:GossipMenuAddItem(1, "Pheonix Hall", 389, 0)
item:GossipMenuAddItem(1, "Sethekk Halls", 390, 0)
item:GossipMenuAddItem(1, "Shadow Labyrinth", 391, 0)
item:GossipMenuAddItem(1, "The Blood Furnace", 423, 0)
item:GossipMenuAddItem(1, "The Botanica", 392, 0)
item:GossipMenuAddItem(1, "The Mechanar", 393, 0)
item:GossipMenuAddItem(1, "The Shattered Halls", 425, 0)
item:GossipMenuAddItem(1, "The Slave Pens", 426, 0)
item:GossipMenuAddItem(1, "The Steamvault", 427, 0)
item:GossipMenuAddItem(1, "The Underbog", 428, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if(intid == 8) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(1, "Dalaran", 403, 0)
item:GossipMenuAddItem(1, "DK Start Zone", 405, 0)
item:GossipMenuAddItem(1, "Borean Tundra", 394, 0)
item:GossipMenuAddItem(1, "Crystalsong Forest", 404, 0)
item:GossipMenuAddItem(1, "Dragonblight", 395, 0)
item:GossipMenuAddItem(1, "Grizzly Hills", 396, 0)
item:GossipMenuAddItem(1, "Howling Fjord", 397, 0)
item:GossipMenuAddItem(1, "Icecrown", 398, 0)
item:GossipMenuAddItem(1, "Sholazar Basin", 399, 0)
item:GossipMenuAddItem(1, "Storm Peaks", 400, 0)
item:GossipMenuAddItem(1, "Wintergrasp", 401, 0)
item:GossipMenuAddItem(1, "Zul'Drak", 402, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if(intid == 9) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(1, "Azjol'Nerub", 406, 0)
item:GossipMenuAddItem(1, "Drak'Tharon", 407, 0)
item:GossipMenuAddItem(1, "Gun'Drak", 408, 0)
item:GossipMenuAddItem(1, "Icecrown Citadel", 409, 0)
item:GossipMenuAddItem(1, "Naxxaramas", 410, 0)
item:GossipMenuAddItem(1, "Obsidian Sanctum", 411, 0)
item:GossipMenuAddItem(1, "The Nexus/Occulus/Eye of Eternity", 412, 0)
item:GossipMenuAddItem(1, "Halls of Stone/Halls of Lightning", 413, 0)
item:GossipMenuAddItem(1, "Utgarde Keep", 414, 0)
item:GossipMenuAddItem(1, "Utgarde Pinnacle", 415, 0)
item:GossipMenuAddItem(1, "Vault of Archevon", 416, 0)
item:GossipMenuAddItem(1, "Violet Hold", 417, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if(intid == 10) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(1, "Searing Gorge", 322, 0)
item:GossipMenuAddItem(1, "Silverpine Forest", 323, 0)
item:GossipMenuAddItem(1, "Stranglethorn Vale", 324, 0)
item:GossipMenuAddItem(1, "Swamp of Sorrows", 325, 0)
item:GossipMenuAddItem(1, "The Blasted Lands", 326, 0)
item:GossipMenuAddItem(1, "Trisfal Glades", 327, 0)
item:GossipMenuAddItem(1, "Western Plaguelands", 328, 0)
item:GossipMenuAddItem(1, "Westfall", 329, 0)
item:GossipMenuAddItem(1, "Wetlands", 330, 0)
item:GossipMenuAddItem(0, "<-- Page 1 <--", 3, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if(intid == 11) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(1, "Tanaris", 345, 0)
item:GossipMenuAddItem(1, "Teldrassil", 346, 0)
item:GossipMenuAddItem(1, "The Barrens", 347, 0)
item:GossipMenuAddItem(1, "Thousand Needles", 348, 0)
item:GossipMenuAddItem(1, "Un Goro Crater", 349, 0)
item:GossipMenuAddItem(1, "Winterspring", 350, 0)
item:GossipMenuAddItem(0, "<-- Page 1 <--", 4, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if(intid == 12) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(1, "Razorfen Downs", 371, 0)
item:GossipMenuAddItem(1, "Razorfen Kraul", 372, 0)
item:GossipMenuAddItem(1, "Scarlet Monestary", 373, 0)
item:GossipMenuAddItem(1, "Scholomance", 374, 0)
item:GossipMenuAddItem(1, "Shadowfang Keep", 375, 0)
item:GossipMenuAddItem(1, "Stratholme", 376, 0)
item:GossipMenuAddItem(1, "Sunken Temple", 377, 0)
item:GossipMenuAddItem(1, "Uldaman", 378, 0)
item:GossipMenuAddItem(1, "Wailing Caverns", 379, 0)
item:GossipMenuAddItem(1, "Zul'Aman", 380, 0)
item:GossipMenuAddItem(1, "Zul'Farrak", 381, 0)
item:GossipMenuAddItem(1, "Zul'Gurub", 382, 0)
item:GossipMenuAddItem(0, "<-- Page 1 <--", 6, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if(intid == 13) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(1, "Razorfen Kraul", 123, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if(intid == 14) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(1, "olympic fields", 1003, 0)
item:GossipMenuAddItem(1, "olympic square", 1002, 0)
item:GossipMenuAddItem(1, "scarlet hands", 1222, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if(intid == 15) then
item:GossipCreateMenu(99, player, 0)
item:GossipMenuAddItem(1, "horde mall", 10, 0)
item:GossipMenuAddItem(1, "alliance mall", 11, 0)
item:GossipMenuAddItem(0, "[Back]", 999, 0)
item:GossipSendMenu(player)
end
if (intid == 998) then
if(player:HasAura(15007) == true) then
player:RemoveAura(15007)
player:SendBroadcastMessage("You have been cured of Resurrection Sickness!")
else
player:SendBroadcastMessage("You do not currently have Resurrection Sickness!")
player:GossipComplete(player)
end
if(intid == 153) then
unit:GossipCreateMenu(99, player, 0)
unit:GossipMenuAddItem(3,"Scuba-Goblin", 666, 0)
unit:GossipMenuAddItem(3,"Wrapped Sentry", 7777, 0)
unit:GossipMenuAddItem(3,"Warp Guard", 8888, 0)
unit:GossipMenuAddItem(3,"Ghost Wolf", 9999, 0)
unit:GossipMenuAddItem(3,"Black Flower", 1000, 0)
unit:GossipMenuAddItem(3,"Blue Flower", 1111, 0)
unit:GossipMenuAddItem(3,"Thrall", 1222, 0)
unit:GossipMenuAddItem(3,"Sneeds Shreader", 1333, 0)
unit:GossipMenuAddItem(3,"Mage in Pimp Hat", 1444, 0)
unit:GossipMenuAddItem(3,"Shark", 1555, 0)
unit:GossipMenuAddItem(3,"Hammerhead Shark", 1666, 0)
unit:GossipMenuAddItem(3,"Ironforge Guard", 1777, 0)
unit:GossipMenuAddItem(3,"Ironfroge Mage", 1888, 0)
unit:GossipMenuAddItem(3,"Horde Sentry Warrior", 1999, 0)
unit:GossipMenuAddItem(3,"Horde Sentry Shaman", 2000, 0)
unit:GossipMenuAddItem(3,"smaller", 122, 0)
item:GossipMenuAddItem(1,"bigger", 1100, 0)
unit:GossipSendMenu(player)
end
if(intid == 1100) then --smaller
player:SetScale(0.5)
item:GossipComplete(player)
end
if(intid == 1000) then --bigger
player:SetScale(5)
item:GossipComplete(player)
end
if(intid == 300) then --Stormwind
player:Teleport(0, -8928, 540, 95)
item:GossipComplete(player)
end
if(intid == 301) then --Ironforge
player:Teleport(0, -4981, -881, 502)
item:GossipComplete(player)
end
if(intid == 302) then --Darnassus
player:Teleport(1, 9978, 2033, 1328.5)
item:GossipComplete(player)
end
if(intid == 303) then --Exodar
player:Teleport(530, -4014, -11895, -1.5)
item:GossipComplete(player)
end
if(intid == 304) then --Orgrimmar
player:Teleport(1, 1502, -4415, 22)
item:GossipComplete(player)
end
if(intid == 305) then --Thunder Bluff
player:Teleport(1, -1283, 158, 130)
item:GossipComplete(player)
end
if(intid == 306) then --Undercity
player:Teleport(0, 1752, 239, 61.5)
item:GossipComplete(player)
end
if(intid == 307) then --Silvermoon
player:Teleport(530, 9392, -7277, 14.5)
item:GossipComplete(player)
end
if(intid == 308) then --Alterac Mountains
player:Teleport(0, 237, -652, 119)
item:GossipComplete(player)
end
if(intid == 309) then --Arathi Highlands
player:Teleport(0, -1550, -2495, 55)
item:GossipComplete(player)
end
if(intid == 310) then --Badlands
player:Teleport(0, -6775, -3286, 242)
item:GossipComplete(player)
end
if(intid == 311) then --Burning Steppes
player:Teleport(0, -7975, -1786, 133.5)
item:GossipComplete(player)
end
if(intid == 312) then --Deadwind Pass
player:Teleport(0, -10447, -1872, 105)
item:GossipComplete(player)
end
if(intid == 313) then --Dun Morogh
player:Teleport(0, -5709, -1339, 395)
item:GossipComplete(player)
end
if(intid == 314) then --Duskwood
player:Teleport(0, -10914, -528, 54)
item:GossipComplete(player)
end
if(intid == 315) then --Eastern Plaguelands
player:Teleport(0, 1739, -3623, 120)
item:GossipComplete(player)
end
if(intid == 316) then --Elwynn Forest
player:Teleport(0, -9591, -463, 58)
item:GossipComplete(player)
end
if(intid == 317) then --Eversong Woods
player:Teleport(530, 8250, -7214, 140)
item:GossipComplete(player)
end
if(intid == 318) then --Ghostlands
player:Teleport(530, 6396, -6848, 101)
item:GossipComplete(player)
end
if(intid == 319) then --Hillsbrad Foothills
player:Teleport(0, -440, -582, 54)
item:GossipComplete(player)
end
if(intid == 320) then --Hinterlands
player:Teleport(0, 235, -3298, 110)
item:GossipComplete(player)
end
if(intid == 321) then --Loch Modan
player:Teleport(0, -5853, -3251, 303)
item:GossipComplete(player)
end
if(intid == 322) then --Searing Gorge
player:Teleport(0, -6645, -1918, 245)
item:GossipComplete(player)
end
if(intid == 323) then --Silverpine Forest
player:Teleport(0, 628, 1291, 87)
item:GossipComplete(player)
end
if(intid == 324) then --Stranglethorn Vale
player:Teleport(0, -14246, 301, 28)
item:GossipComplete(player)
end
if(intid == 325) then --Swamp of Sorrows
player:Teleport(0, -10476, -2408, 74)
item:GossipComplete(player)
end
if(intid == 326) then --The Blasted Lands
player:Teleport(0, -11189, -3023, 8)
item:GossipComplete(player)
end
if(intid == 327) then --Tirisfal Glades
player:Teleport(0, 1599, 569, 38)
item:GossipComplete(player)
end
if(intid == 328) then --Western Plaguelands
player:Teleport(0, 1676, -1366, 70)
item:GossipComplete(player)
end
if(intid == 329) then --Westfall
player:Teleport(0, -10922, 998, 36)
item:GossipComplete(player)
end
if(intid == 330) then --Wetlands
player:Teleport(0, -3604, -2711, 20)
item:GossipComplete(player)
end
if(intid == 331) then --Ashenvale
player:Teleport(1, 2319, -1672, 124)
item:GossipComplete(player)
end
if(intid == 332) then --Azshara
player:Teleport(1, 3336, -4599, 93)
item:GossipComplete(player)
end
if(intid == 333) then --Azuremyst Isle
player:Teleport(530, -4540, -11933, 28)
item:GossipComplete(player)
end
if(intid == 334) then --Bloodmyst Isle
player:Teleport(530, -2721, -12206, 10)
item:GossipComplete(player)
end
if(intid == 335) then --Darkshore
player:Teleport(1, 5084, 242, 29)
item:GossipComplete(player)
end
if(intid == 336) then --Desolace
player:Teleport(1, -548, 1276, 90)
item:GossipComplete(player)
end
if(intid == 337) then --Durotar
player:Teleport(1, 301, -4184, 28)
item:GossipComplete(player)
end
if(intid == 338) then --Dustwallow Marsh
player:Teleport(1, -3345, -3078, 33)
item:GossipComplete(player)
end
if(intid == 339) then --Felwood
player:Teleport(1, 5537, -585, 359)
item:GossipComplete(player)
end
if(intid == 340) then --Feralas
player:Teleport(1, -4811, 1037, 105)
item:GossipComplete(player)
end
if(intid == 341) then --Moonglade
player:Teleport(1, 7931, -2616, 493)
item:GossipComplete(player)
end
if(intid == 342) then --Mulgore
player:Teleport(1, -2372, -893, -9)
item:GossipComplete(player)
end
if(intid == 343) then --Silithus
player:Teleport(1, -6839, 763, 43)
item:GossipComplete(player)
end
if(intid == 344) then --Stonetalon Mountains
player:Teleport(1, 588, 330, 48)
item:GossipComplete(player)
end
if(intid == 345) then --Tanaris
player:Teleport(1, -7149, -3746, 9)
item:GossipComplete(player)
end
if(intid == 346) then --Teldrassil
player:Teleport(1, 9947, 649, 1310)
item:GossipComplete(player)
end
if(intid == 347) then --The Barrens
player:Teleport(1, 567, -2573, 96)
item:GossipComplete(player)
end
if(intid == 348) then --Thousand Needles
player:Teleport(1, -4969, -1723, -61)
item:GossipComplete(player)
end
if(intid == 349) then --Un Goro Crater
player:Teleport(1, -7932, -2139, -230)
item:GossipComplete(player)
end
if(intid == 350) then --Winterspring
player:Teleport(1, 6719, -4646, 722)
item:GossipComplete(player)
end
if(intid == 351) then --Blade's Edge Mountains
player:Teleport(530, 2924, 5982, -1)
item:GossipComplete(player)
end
if(intid == 352) then --Hellfire Peninsula
player:Teleport(530, -220, 2217, 86)
item:GossipComplete(player)
end
if(intid == 353) then --Nagrand
player:Teleport(530, -1525, 6571, 21)
item:GossipComplete(player)
end
if(intid == 354) then --Netherstorm
player:Teleport(530, 3052, 3670, 143)
item:GossipComplete(player)
end
if(intid == 355) then --Shadowmoon Valley
player:Teleport(530, -3693, 2344, 77)
item:GossipComplete(player)
end
if(intid == 356) then --Terokkar Forest
player:Teleport(530, -1975, 4516, 13)
item:GossipComplete(player)
end
if(intid == 357) then --Zangarmarsh
player:Teleport(530, -205, 5545, 24)
item:GossipComplete(player)
end
if(intid == 358) then --Ahn'Qiraj
player:Teleport(1, -8187, 1539, 5)
item:GossipComplete(player)
end
if(intid == 359) then --Blackfathom Depths
player:Teleport(1, 4248, 736, -26)
item:GossipComplete(player)
end
if(intid == 360) then --Blackrock Depths
player:Teleport(0, -7187, -914, 166)
item:GossipComplete(player)
end
if(intid == 361) then --Blackrock Spire
player:Teleport(0, -7532, -1221, 286)
item:GossipComplete(player)
end
if(intid == 362) then --Blackwing Lair
player:Teleport(229, 137, -474, 117)
item:GossipComplete(player)
end
if(intid == 363) then --Caverns of Time
player:Teleport(1, -8568, -4260, -213)
item:GossipComplete(player)
end
if(intid == 364) then --Deadmines
player:Teleport(0, 11209, 1664, 25)
item:GossipComplete(player)
end
if(intid == 365) then --Dire Maul
player:Teleport(1, -3524, 1124, 162)
item:GossipComplete(player)
end
if(intid == 366) then --Gnomeregan
player:Teleport(0, -5164, 918,258)
item:GossipComplete(player)
end
if(intid == 367) then --Maraudon
player:Teleport(1, -1458, 2606, 76)
item:GossipComplete(player)
end
if(intid == 368) then --Molten Core
player:Teleport(230, 1123, -455, -101)
item:GossipComplete(player)
end
if(intid == 369) then --Onyxia's Lair
player:Teleport(1, -4709, -3729, 55)
item:GossipComplete(player)
end
if(intid == 370) then --Ragefire Chasm
player:Teleport(1, 1805, -4404, -18)
item:GossipComplete(player)
end
if(intid == 371) then --Razorfen Downs
player:Teleport(1, -4661, -2511, 81)
item:GossipComplete(player)
end
if(intid == 372) then --Razorfen Kraul
player:Teleport(1, -4473, -1690, 82)
item:GossipComplete(player)
end
if(intid == 373) then --Scarlet Monestary
player:Teleport(0, 2841, -692, 140)
item:GossipComplete(player)
end
if(intid == 374) then --Scholomance
player:Teleport(0, 1265, -2560, 95)
item:GossipComplete(player)
end
if(intid == 375) then --Shadowfang Keep
player:Teleport(0, -241, 1545, 77)
item:GossipComplete(player)
end
if(intid == 376) then --Stratholme
player:Teleport(0, 3345, -3380, 145)
item:GossipComplete(player)
end
if(intid == 377) then --Sunken Temple
player:Teleport(0, -10457, -3828, 19)
item:GossipComplete(player)
end
if(intid == 378) then --Uldaman
player:Teleport(0, -6704, -2955, 209)
item:GossipComplete(player)
end
if(intid == 379) then --Wailing Caverns
player:Teleport(1, -737, -2219, 17)
item:GossipComplete(player)
end
if(intid == 380) then --Zul'Aman
player:Teleport(530, 6850, -7950, 171)
item:GossipComplete(player)
end
if(intid == 381) then --Zul'Farrak
player:Teleport(1, -6821, -2890, 9)
item:GossipComplete(player)
end
if(intid == 382) then --Zul'Gurub
player:Teleport(0, -11916, -1204, 93)
item:GossipComplete(player)
end
if(intid == 383) then --Auchenai Crypts
player:Teleport(530, -3367, 5216, -101)
item:GossipComplete(player)
end
if(intid == 384) then --Black Temple
player:Teleport(530, -3614, 310, 40)
item:GossipComplete(player)
end
if(intid == 385) then --Coilfang Reservoir
player:Teleport(530, 792, 6863, -64)
item:GossipComplete(player)
end
if(intid == 386) then --Gruul's Lair
player:Teleport(530, 3529, 5096, 3)
item:GossipComplete(player)
end
if(intid == 387) then --Hellfire Ramparts
player:Teleport(530, -360, 3071, -16)
item:GossipComplete(player)
end
if(intid == 388) then --Mana Tombs
player:Teleport(530, -3100, 4950, -100)
item:GossipComplete(player)
end
if(intid == 389) then --Pheonix Hall
player:Teleport(530, 3084, 1385, 185)
item:GossipComplete(player)
end
if(intid == 390) then --Sethekk Halls
player:Teleport(530, -3364, 4675, -101)
item:GossipComplete(player)
end
if(intid == 391) then --Shadow Labyrinth
player:Teleport(530, -3630, 4941, -101)
item:GossipComplete(player)
end
if(intid == 392) then --The Botanica
player:Teleport(530, 3404, 1488, 183)
item:GossipComplete(player)
end
if(intid == 393) then --The Mechanar
player:Teleport(530, 2870, 1557, 252)
item:GossipComplete(player)
end
if(intid == 394) then --Borean Tundra
player:Teleport(571, 3008, 5290, 60)
item:GossipComplete(player)
end
if(intid == 395) then --Dragonblight
player:Teleport(571, 3118, 107, 72)
item:GossipComplete(player)
end
if(intid == 396) then --Grizzly Hills
player:Teleport(571, 3681, -3472, 243)
item:GossipComplete(player)
end
if(intid == 397) then --Howling Fjord
player:Teleport(571, 1267, -4062, 143)
item:GossipComplete(player)
end
if(intid == 398) then --Icecrown
player:Teleport(571, 7514, 2091, 623)
item:GossipComplete(player)
end
if(intid == 399) then --Sholazar Basin
player:Teleport(571, 5501, 4879, -198)
item:GossipComplete(player)
end
if(intid == 400) then --Storm Peaks
player:Teleport(571, 7514, -1037, 467)
item:GossipComplete(player)
end
if(intid == 401) then --Wintergrasp
player:Teleport(571, 4611, 2848, 3397)
item:GossipComplete(player)
end
if(intid == 402) then --Zul'Drak
player:Teleport(571, 5441, -2304, 298)
item:GossipComplete(player)
end
if(intid == 403) then --Dalaran
player:Teleport(571, 5797, 629, 648)
item:GossipComplete(player)
end
if(intid == 404) then --Crystalsong Forest
player:Teleport(571, 5402, 72, 151)
item:GossipComplete(player)
end
if(intid == 405) then --DK Start Zone
player:Teleport(609, 2353, -5666, 427)
item:GossipComplete(player)
end
if(intid == 406) then --Azjol'Nerub
player:Teleport(571, 3721, 2155, 37)
item:GossipComplete(player)
end
if(intid == 407) then --Drak'Tharon
player:Teleport(571, 4897, 2046, 249)
item:GossipComplete(player)
end
if(intid == 408) then --Gun'Drak
player:Teleport(571, 6925, 4447, 451)
item:GossipComplete(player)
end
if(intid == 409) then --Icecrown Citadel
player:Teleport(571, 6151, 2244, 508)
item:GossipComplete(player)
end
if(intid == 410) then --Naxxaramas
player:Teleport(571, 3668, -1049, 131)
item:GossipComplete(player)
end
if(intid == 411) then --Obsidian Sanctum
player:Teleport(571, 3561, 275, -115)
item:GossipComplete(player)
end
if(intid == 412) then --The Nexus/Occulus/Eye of Eternity
player:Teleport(571, 3783, 6942, 105)
item:GossipComplete(player)
end
if(intid == 413) then --Halls of Stone/Halls of Lightning
player:Teleport(571, 8937, 1266, 1026)
item:GossipComplete(player)
end
if(intid == 414) then --Utgarde Keep
player:Teleport(571, 1228, -4943, 36)
item:GossipComplete(player)
end
if(intid == 415) then --Utgarde Pinnacle
player:Teleport(571, 1274, -4857, 216)
item:GossipComplete(player)
end
if(intid == 416) then --Vault of Archevon
player:Teleport(571, 5440, 2840, 421)
item:GossipComplete(player)
end
if(intid == 417) then --Violet Hold
player:Teleport(571, 5708, 521, 650)
item:GossipComplete(player)
end
if(intid == 418) then --Alliance Mall
player:Teleport(0, -4673, -1697, 504)
item:GossipComplete(player)
end
if(intid == 419) then --Horde Mall
player:Teleport(1, -8544, 2005, 101)
item:GossipComplete(player)
end
if(intid == 420) then --Gurubashi Arena
player:Teleport(0, -13282, 117, 25)
item:GossipComplete(player)
end
if(intid == 421) then --Magtheridon's Lair
player:Teleport(530, -313, 3088, -116)
item:GossipComplete(player)
end
if(intid == 422) then --Serpentshrine Cavern
player:Teleport(530, 830, 6865, -63)
item:GossipComplete(player)
end
if(intid == 423) then --The Blood Furnace
player:Teleport(530, -303, 3164, 32)
item:GossipComplete(player)
end
if(intid == 424) then --The Eye
player:Teleport(530, 3087, 1373, 185)
item:GossipComplete(player)
end
if(intid == 425) then --The Shattered Halls
player:Teleport(530, -311, 3083, -3)
item:GossipComplete(player)
end
if(intid == 426) then --The Slave Pens
player:Teleport(530, 719, 6999, -73)
item:GossipComplete(player)
end
if(intid == 427) then --The Steamvault
player:Teleport(530, 816, 6934, -80)
item:GossipComplete(player)
end
if(intid == 428) then --The Underbog
player:Teleport(530, 777, 6763, -72)
item:GossipComplete(player)
end
if(intid == 10) then --horde mall
player:Teleport(1, -10738.1, 2412.09, 7.29061)
item:GossipComplete(player)
end
if(intid == 11) then --alliance mall
player:Teleport(1, -10380, 2098, 66.89)
item:GossipComplete(player)
end
if(intid == 1002) then --olympic square
player:Teleport(0, -2585.077393, -2757.165527, 170.328613)
item:GossipComplete(player)
end
if(intid == 1222) then --scarlet hands
player:Teleport(44, 76.730598, 1.046920, 18.677299)
item:GossipComplete(player)
end
if(intid == 1236) then --gm island pvp area
player:Teleport(1, 16222.499023, 16241.909180, 10.880889)
item:GossipComplete(player)
end
if(intid == 1003) then --olympic field
player:Teleport(0, -3854.502686, -4492.774414, 150.899979)
item:GossipComplete(player)
end
if(intid == 666) then
player:SetModel(19076)
end
if(intid == 7777) then
player:SetModel(19072)
end
if(intid == 8888) then
player:SetModel(19061)
end
if(intid == 9999) then
player:SetModel(19042)
end
if(intid == 1000) then
player:SetModel(19034)
end
if(intid == 1111) then
player:SetModel(19031)
end
if(intid == 1222) then
player:SetModel(19015)
end
if(intid == 1333) then
player:SetModel(19013)
end
if(intid == 1444) then
player:SetModel(19005)
end
if(intid == 1555) then
player:SetModel(12200)
end
if(intid == 1666) then
player:SetModel(12204)
end
if(intid == 1777) then
player:SetModel(21816)
end
if(intid == 1888) then
player:SetModel(21835)
end
if(intid == 1999) then
player:SetModel(23121)
end
if(intid == 2000) then
player:SetModel(23183)
end
if(intid == 11000) then
player:SetScale(5)
end
if(intid == 122) then
player:SetScale(0.5)
end
if(intid == 603) then
item:GossipCreateMenu(1000, player, 0)
item:GossipMenuAddItem(1,"Play Anguish Walk", 7001, 0)
item:GossipMenuAddItem(1,"Play Vigil Walk Music", 7002, 0)
item:GossipMenuAddItem(1,"Play Brewfest Music", 7003, 0)
item:GossipMenuAddItem(1,"Play Nagrand Music", 7004, 0)
item:GossipMenuAddItem(1,"Play Power of the Horde", 7005, 0)
item:GossipMenuAddItem(1,"Play Silvermoon City Music", 7006, 0)
item:GossipMenuAddItem(1,"Play Drama Music", 7007, 0)
item:GossipMenuAddItem(1,"Play Dwarf Music", 7008, 0)
item:GossipMenuAddItem(1,"Play Stormwind City Music", 7009, 0)
item:GossipMenuAddItem(1,"Play Irish Ditty Music", 7010, 0)
item:GossipMenuAddItem(1,"Play Horde Tavern Music", 7011, 0)
item:GossipMenuAddItem(1,"Play Alliance Tavern Music", 7012, 0)
item:GossipMenuAddItem(0, "[Back]", 600, 0)
item:GossipSendMenu(player)
end
if(intid == 7001) then
player:PlaySoundToSet(11700)
player:GossipComplete(player)
end
if(intid == 7002) then
player:PlaySoundToSet(11702)
player:GossipComplete(player)
end
if(intid == 7003) then
player:PlaySoundToSet(11810)
player:GossipComplete(player)
end
if(intid == 7004) then
player:PlaySoundToSet(10849)
player:GossipComplete(player)
end
if(intid == 7005) then
player:PlaySoundToSet(11803)
player:GossipComplete(player)
end
if(intid == 7006) then
player:PlaySoundToSet(9801)
player:GossipComplete(player)
end
if(intid == 7007) then
player:PlaySoundToSet(11706)
player:GossipComplete(player)
end
if(intid == 7008) then
player:PlaySoundToSet(11810)
player:GossipComplete(player)
end
if(intid == 7009) then
player:PlaySoundToSet(2532)
player:GossipComplete(player)
end
if(intid == 7010) then
player:PlaySoundToSet(11805)
player:GossipComplete(player)
end
if(intid == 7011) then
player:PlaySoundToSet(5234)
player:GossipComplete(player)
end
if(intid == 7012) then
player:PlaySoundToSet(4516)
player:GossipComplete(player)
end
if(intid == 620) then
item:GossipCreateMenu(3557, player, 0)
item:GossipMenuAddItem(3, "[Guns]", 638, 0)
item:GossipMenuAddItem(3, "[Maces]", 639, 0)
item:GossipMenuAddItem(2, "[Two-Handed Swords]", 640, 0)
item:GossipMenuAddItem(3, "[Bows]", 641, 0)
item:GossipMenuAddItem(4, "[Axes]", 642, 0)
item:GossipMenuAddItem(3, "[Swords]", 643, 0)
item:GossipMenuAddItem(5, "[Staves]", 644, 0)
item:GossipMenuAddItem(3, "[Two-Handed Axes]", 645, 0)
item:GossipMenuAddItem(6, "[Two-Handed Maces]", 646, 0)
item:GossipMenuAddItem(3, "[Daggers]", 647, 0)
item:GossipMenuAddItem(3, "[Thrown]", 648, 0)
item:GossipMenuAddItem(3, "[Crossbows]", 649, 0)
item:GossipMenuAddItem(3, "[Wands]", 650, 0)
item:GossipMenuAddItem(3, "[Polearms]", 651, 0)
item:GossipMenuAddItem(3, "[Fist Weapons]", 652, 0)
item:GossipSendMenu(player)
end
if(intid == 638) then
item:AdvanceSkill(46, 500)
end
if(intid == 639) then
item:AdvanceSkill(54, 500)
end
if(intid == 640) then
item:AdvanceSkill(55, 500)
end
if(intid == 641) then
item:AdvanceSkill(45, 500)
end
if(intid == 642) then
item:AdvanceSkill(44, 500)
end
if(intid == 643) then
item:AdvanceSkill(43, 500)
end
if(intid == 644) then
item:AdvanceSkill(136, 500)
end
if(intid == 645) then
item:AdvanceSkill(172, 500)
end
if(intid == 646) then
item:AdvanceSkill(160, 500)
end
if(intid == 647) then
item:AdvanceSkill(173, 500)
end
if(intid == 648) then
item:AdvanceSkill(176, 500)
end
if(intid == 649) then
item:AdvanceSkill(226, 500)
end
if(intid == 650) then
item:AdvanceSkill(228, 500)
end
if(intid == 651) then
item:AdvanceSkill(229, 500)
end
if(intid == 652) then
item:AdvanceSkill(473, 500)
end
end
RegisterItemGossipEvent(66000,1,"Item_Trigger")
RegisterItemGossipEvent(66000,2,"OnSelect")