kusanagy

Npc_Teleporter with Icons

Jan 2nd, 2020
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 41.38 KB | None | 0 0
  1. local NpcEntry = 600000
  2.  
  3.  
  4. function Teleporter_Gossip(event, player, unit)
  5.                     if (player:IsInCombat() == true) then
  6.                     else
  7.                     Teleporter_Menu(unit, player)
  8.                     end
  9. end
  10.  
  11. function Teleporter_Menu(unit, player)
  12.     player:GossipMenuAddItem(2, "|Tinterface\\ICONS\\Achievement_Zone_Northrend_01.blp:20:20:-20:0|t|cFF462AFAWotlk GPS Teleport|r", 0, 8001)
  13.     player:GossipMenuAddItem(2, "|Tinterface\\ICONS\\Achievement_Zone_EasternKingdoms_01.blp:20:20:-20:0|t|cFFB53F00TBC GPS Teleport", 0, 1010)
  14.     --player:GossipMenuAddItem(2, "|Tinterface\\ICONS\\Achievement_Dungeon_ClassicDungeonMaster.blp:20:20:-20:0|t|cFFB53F00Level Zone 100", 0, 1011)
  15.     player:GossipMenuAddItem(4, "|Tinterface\\ICONS\\INV_Misc_Bag_08.blp:20:20:-20:0|tPocket Bank", 0, 50000)
  16.     player:GossipMenuAddItem(4, "|cFF000080|TInterface/ICONS/Ability_Stealth:20:20:-20:0|tSet Level 1 PvP |r", 0, 99992)
  17.     player:GossipMenuAddItem(8, "|Tinterface\\ICONS\\INV_Hammer_20.blp:20:20:-20:0|tGear Repair", 0, 5003)
  18.     player:GossipSendMenu(1, unit)
  19.     end
  20.    
  21.    
  22. function Teleporter_Events(event, player, unit, sender, intid, code)
  23.     local plyr = player:GetRace()
  24.          if (intid == 999) then -- Main page
  25.     player:GossipMenuAddItem(2, "|Tinterface\\ICONS\\Achievement_Zone_Northrend_01.blp:20:20:-20:0|t|cFF462AFAWotlk GPS Teleport|r", 0, 8001)
  26.     player:GossipMenuAddItem(2, "|Tinterface\\ICONS\\Achievement_Zone_EasternKingdoms_01.blp:20:20:-20:0|t|cFFB53F00TBC GPS Teleport", 0, 1010)
  27.     --player:GossipMenuAddItem(2, "|Tinterface\\ICONS\\Achievement_Dungeon_ClassicDungeonMaster.blp:20:20:-20:0|t|cFFB53F00Level Zone 100", 0, 1011)
  28.     player:GossipMenuAddItem(4, "|Tinterface\\ICONS\\INV_Misc_Bag_08.blp:20:20:-20:0|tPocket Bank", 0, 50000)
  29.     player:GossipMenuAddItem(4, "|cFF000080|TInterface/ICONS/Ability_Stealth:20:20:-20:0|tSet Level 1 PvP |r", 0, 99992)
  30.     player:GossipMenuAddItem(8, "|Tinterface\\ICONS\\INV_Hammer_20.blp:20:20:-20:0|tGear Repair", 0, 5003)
  31.     player:GossipSendMenu(1, unit)
  32.     end
  33.  
  34.  
  35.         if(intid==50000) then -- Send Bank Window
  36.         player:SendShowBank(player)
  37.         end
  38.        
  39.         if( intid == 5003) then
  40.         player:GossipMenuAddItem(7, " Finish", 0, 999)
  41.         player:GossipMenuAddItem(7, " ", 0, 999)
  42.         player:DurabilityRepairAll()
  43.         player:SendNotification("Your Items are Repaired.")
  44.         player:GossipSendMenu(1, unit)
  45.         end
  46.  
  47.         if(intid == 8001) then -- wotlk gps teleport
  48.         player:GossipClearMenu()
  49.         player:GossipMenuAddItem(7, "|cff6E353AReturn|r", 0, 999)
  50.         player:GossipMenuAddItem(2, "|cff005AFF [Teleport Mall Center City]|r", 0, 20010)
  51.         player:GossipMenuAddItem(2, "|cff005AFF [Teleport LK Instances]|r", 0, 90002)
  52.         player:GossipMenuAddItem(2, " [|cFF48EBFFCity Knights|r] Dalaran City", 0, 10000)
  53.         player:GossipMenuAddItem(2, " [|cFF48EBFFDuel Grounds|r] Argent Tournament", 0, 3143)
  54.         player:GossipMenuAddItem(2, " [Teleport Borean Tundra]|r", 0, 75)
  55.         player:GossipMenuAddItem(2, " [Teleport Dragonblight]|r", 0, 77)
  56.         player:GossipMenuAddItem(2, " [Teleport Storm Peaks]|r", 0, 82)
  57.         player:GossipMenuAddItem(2, " [Teleport Grizzly Hills]|r", 0, 78)
  58.         player:GossipMenuAddItem(2, " [Teleport Howling Fjord]|r", 0, 79)
  59.         player:GossipMenuAddItem(4, " [|cFF04FF00Locate|r] Nesingwary Base Camp", 0, 3092)
  60.         player:GossipMenuAddItem(4, " [|cFF04FF00Locate|r] The Shadow Vault", 0, 3093)
  61.         player:GossipMenuAddItem(4, " [|cFF04FF00Locate|r] Crusader's Pinnacle", 0, 3100)
  62.         player:GossipMenuAddItem(4, " [|cFF04FF00Locate|r] The Argent Stand", 0, 3106)
  63.         player:GossipMenuAddItem(4, " [|cFF04FF00Locate|r] Zim'Torga", 0, 3107)
  64.         player:GossipSendMenu(1, unit)
  65.     end
  66.         if(intid == 1010) then
  67.         player:GossipClearMenu()
  68.         player:GossipMenuAddItem(7, "|cff6E353A Return|r", 0, 999)
  69.         player:GossipMenuAddItem(2, " [Teleport World]", 0, 1)
  70.         player:GossipMenuAddItem(2, " [Teleport Azeroth Continets]", 0, 2)
  71.         player:GossipMenuAddItem(2, " [Teleport Outland Locations]", 0, 5)
  72.         player:GossipMenuAddItem(2, " [Teleport Northrend Locations]", 0, 8)
  73.         player:GossipMenuAddItem(2, " [Teleport Raid Instance]", 0, 7)
  74.         player:GossipMenuAddItem(2, " [Teleport Wild Instance]", 0, 6)
  75.         player:GossipMenuAddItem(2, " [Teleport Middle Instance]", 0, 4)
  76.         player:GossipMenuAddItem(2, " [Teleport Primary Instance]", 0, 3)
  77.         player:GossipMenuAddItem(2, " [Teleport Wild BOSS]", 0, 1010)
  78.         player:GossipMenuAddItem(4, " [|cff00FF00Instance|r] Island of sun", 0, 3081)
  79.         player:GossipMenuAddItem(4, " [|cff00FF00Instance|r] The Black Temple", 0, 66)
  80.         player:GossipMenuAddItem(4, " [|cff00FF00Instance|r] Hyjal", 0, 67)
  81.         player:GossipSendMenu(1, unit)
  82.     end
  83.  
  84.    if (intid == 1) then -- Alliance Cities
  85.             if (plyr == 1) or (plyr == 3) or (plyr == 4) or (plyr == 7) or (plyr == 11) then
  86.                     player:GossipMenuAddItem(2, "|TInterface/ICONS/Achievement_Zone_Outland_01:35:35|t|cff0000ffMall Zone|r", 0, 5564)
  87.                     player:GossipMenuAddItem(2, "|TInterface/ICONS/Achievement_Zone_Wetlands_01:35:35|t|cff0000ffMall Alliance|r", 0, 55641)
  88.                     player:GossipMenuAddItem(2, "|TInterface/ICONS/Spell_Arcane_Portalstormwind:35:35|t|cff0000ffStormwind|r", 0,  19)
  89.                     player:GossipMenuAddItem(2, "|TInterface/ICONS/Achievement_Zone_Ironforge:35:35|t|cff0000ffIronforge|r", 0,  20)
  90.                     player:GossipMenuAddItem(2, "|TInterface/ICONS/Achievement_Zone_Darnassus:35:35|t|cff0000ffDarnassus|r", 0,  21)
  91.                     player:GossipMenuAddItem(2, "|TInterface/ICONS/Spell_Arcane_TeleportExodar:35:35|t|cff0000ffExodar|r", 0,  22)
  92.                     player:GossipMenuAddItem(0, "|c99006600Home Page|r", 0,  999)
  93.                     player:GossipSendMenu(1, unit)
  94.             end
  95.                                     -- Horde Cities
  96.             if (plyr == 2) or (plyr == 5) or (plyr == 6) or (plyr == 8) or (plyr == 10) then --darkportal ----5567
  97.                     player:GossipMenuAddItem(2, "|TInterface/ICONS/Achievement_Zone_Outland_01:35:35|t|cffff0000Mall Zone|r", 0, 5564)
  98.                     player:GossipMenuAddItem(2, "|TInterface/ICONS/Achievement_Zone_ArathiHighlands_01:35:35|t|cffff0000Mall Horde|r", 0, 55642)
  99.                     player:GossipMenuAddItem(2, "|TInterface/ICONS/Spell_Arcane_PortalOrgrimmar:35:35|t|cffff0000Orgrimmar|r", 0,  23)
  100.                     player:GossipMenuAddItem(2, "|TInterface/ICONS/Spell_Arcane_PortalThunderBluff:35:35|t|cffff0000Thunder bluff|r", 0,  24)
  101.                     player:GossipMenuAddItem(2, "|TInterface/ICONS/Spell_Arcane_PortalUndercity:35:35|t|cffff0000Undercity|r", 0,  25)
  102.                     player:GossipMenuAddItem(2, "|TInterface/ICONS/Spell_Arcane_TeleportSilvermoon:35:35|t|cffff0000Silvermoon city|r", 0,  26)
  103.                     player:GossipMenuAddItem(0, "|c99006600Home Page|r", 0,  999)
  104.                     player:GossipSendMenu(1, unit)
  105.             end
  106.     end
  107.      
  108.     if (intid == 2) then -- Azeroth Continets
  109.             player:GossipMenuAddItem(7, "|cff6E353AReturn|r", 0, 1010)
  110.             player:GossipMenuAddItem(2, "|c00FF0000Eastern Kingdoms|r", 0,  27)
  111.             player:GossipMenuAddItem(2, "|c00FF0000Kalimdor|r", 0,  28)
  112.             player:GossipSendMenu(1, unit)
  113.     end
  114.      
  115.     if (intid == 3) then -- Azeroth Instances
  116.             player:GossipMenuAddItem(7, "|cff6E353AReturn (Notice:pls make a team and teleport)|r", 0, 1010)
  117.             player:GossipMenuAddItem(2, "|c00FF0000Blackfathom Deeps|r", 0,  29)
  118.             player:GossipMenuAddItem(2, "|c00FF0000Blackrock Depths|r", 0,  30)
  119.             player:GossipMenuAddItem(2, "|c00FF0000Dire Maul|r", 0,  31)
  120.             player:GossipMenuAddItem(2, "|c00FF0000Gnomeregan|r", 0,  32)
  121.             player:GossipMenuAddItem(2, "|c00FF0000Maraudon|r", 0,  33)
  122.             if (plyr == 2) or (plyr == 5) or (plyr == 6) or (plyr == 8) or (plyr == 10) then
  123.                     player:GossipMenuAddItem(2, "|c00FF0000Ragefire Chasm|r", 0,  34)
  124.             end
  125.             player:GossipMenuAddItem(2, "|c00FF0000Razorfen Downs|r", 0,  35)
  126.             player:GossipMenuAddItem(2, "|c00FF0000Razorfen Kraul|r", 0,  36)
  127.             player:GossipMenuAddItem(2, "|c00FF0000Scarlet Monastery|r", 0,  37)
  128.             player:GossipMenuAddItem(2, "|c00FF0000Scholomance|r", 0,  38)
  129.             player:GossipMenuAddItem(2, "|c00FF0000Shadowfang Keep|r", 0,  39)
  130.             player:GossipMenuAddItem(2, "|c00FF0000Stratholme|r", 0,  40)
  131.             player:GossipMenuAddItem(2, "|c00FF0000Sunken Temple|r", 0,  41)
  132.             player:GossipMenuAddItem(2, "|c00FF0000The Deadmines|r", 0,  42)
  133.             if (plyr == 1) or (plyr == 3) or (plyr == 4) or (plyr == 7) or (plyr == 11) then
  134.                     player:GossipMenuAddItem(2, "|c00FF0000The Stockade|r", 0,  43)
  135.             end
  136.             player:GossipMenuAddItem(0, "|c99006600Next Page|r", 0,  994)
  137.             player:GossipSendMenu(1, unit)
  138.     end
  139.      
  140.     if (intid == 994) then -- Azeroth Instances Cont.
  141.             player:GossipMenuAddItem(7, "|cff6E353AReturn (Notice:pls make a team and teleport)|r", 0, 1010)
  142.             player:GossipMenuAddItem(2, "|c00FF0000Uldaman|r", 0,  44)
  143.             player:GossipMenuAddItem(2, "|c00FF0000Wailing Caverns|r", 0,  45)
  144.             player:GossipMenuAddItem(2, "|c00FF0000Zul'Farrak|r", 0,  46)
  145.             player:GossipMenuAddItem(0, "|c99006600Previous Page|r", 0,  3)
  146.             player:GossipSendMenu(1, unit)
  147.     end
  148.      
  149.     if (intid == 4) then -- Azeroth Raids
  150.             player:GossipMenuAddItem(7, "|cff6E353AReturn (Notice:pls make a team and teleport)|r", 0, 1010)
  151.             player:GossipMenuAddItem(2, "|c00FF0000Blackwing Lair|r", 0,  47)
  152.             player:GossipMenuAddItem(2, "|c00FF0000Molten Core|r", 0,  48)
  153.             player:GossipMenuAddItem(2, "|c00FF0000Onyxia's Lair|r", 0,  49)
  154.             player:GossipMenuAddItem(2, "|c00FF0000Ruins of Ahn'Qiraj|r", 0,  50)
  155.             player:GossipMenuAddItem(2, "|c00FF0000Temple of Ahn'Qiraj|r", 0,  51)
  156.             player:GossipMenuAddItem(2, "|c00FF0000Zul'Gurub|r", 0, 52)
  157.             player:GossipSendMenu(1, unit)
  158.     end
  159.      
  160.     if (intid == 5) then -- Outland Locations
  161.             player:GossipMenuAddItem(7, "|cff6E353AReturn|r", 0, 1010)          
  162.             player:GossipMenuAddItem(2, "|c00FF0000Blade's Edge Mountains|r", 0,  53)
  163.             player:GossipMenuAddItem(2, "|c00FF0000Hellfire Peninsula|r", 0,  54)
  164.             player:GossipMenuAddItem(2, "|c00FF0000Nagrand|r", 0,  55)
  165.             player:GossipMenuAddItem(2, "|c00FF0000Netherstorm|r", 0,  56)
  166.             player:GossipMenuAddItem(2, "|c00FF0000Shadowmoon Valley|r", 0,  57)
  167.             player:GossipMenuAddItem(2, "|c00FF0000Terokkar Forest|r", 0,  58)
  168.             player:GossipMenuAddItem(2, "|c00FF0000Zangarmarsh|r", 0,  59)
  169.             player:GossipSendMenu(1, unit)
  170.     end
  171.      
  172.     if (intid == 6) then -- Outland Instances
  173.             player:GossipMenuAddItem(7, "|cff6E353AReturn (Notice:pls make a team and teleport)|r", 0, 1010)
  174.             player:GossipMenuAddItem(2, "|c00FF0000Auchindoun|r", 0,  60)
  175.             player:GossipMenuAddItem(2, "|c00FF0000Caverns of Time|r", 0,  61)
  176.             player:GossipMenuAddItem(2, "|c00FF0000Coilfang Reservoir|r", 0,  62)
  177.             player:GossipMenuAddItem(2, "|c00FF0000Hellfire Citadel|r", 0,  63)
  178.             player:GossipMenuAddItem(2, "|c00FF0000Magisters' Terrace|r", 0,  64)
  179.             player:GossipMenuAddItem(2, "|c00FF0000Tempest Keep|r", 0,  65)
  180.             player:GossipSendMenu(1, unit)
  181.     end
  182.      
  183.     if (intid == 7) then -- Outland Raids
  184.             player:GossipMenuAddItem(7, "|cff6E353AReturn (Notice:pls make a team and teleport)|r", 0, 1010)
  185.             player:GossipMenuAddItem(2, "|c00FF0000Black Temple|r", 0,  66)
  186.             player:GossipMenuAddItem(2, "|c00FF0000Hyjal Summit|r", 0,  67)
  187.             player:GossipMenuAddItem(2, "|c00FF0000Serpentshrine Cavern|r", 0,  68)
  188.             player:GossipMenuAddItem(2, "|c00FF0000Gruul's Lair|r", 0,  69)
  189.             player:GossipMenuAddItem(2, "|c00FF0000Magtheridon's Lair|r", 0,  70)
  190.             player:GossipMenuAddItem(2, "|c00FF0000Karazhan|r", 0, 71)
  191.             player:GossipMenuAddItem(2, "|c00FF0000Sunwell Plateau|r", 0,  72)
  192.             player:GossipMenuAddItem(2, "|c00FF0000The Eye|r", 0,  73)
  193.             player:GossipMenuAddItem(2, "|c00FF0000Zul'Aman|r", 0,  74)
  194.             player:GossipSendMenu(1, unit)
  195.     end
  196.      
  197.     if (intid == 8) then -- Northrend Locations
  198.             player:GossipMenuAddItem(7, "|cff6E353AReturn|r", 0, 1010)  
  199.             player:GossipMenuAddItem(2, "|c00FF0000Borean Tundra|r", 0, 75)
  200.             player:GossipMenuAddItem(2, "|c00FF0000Crystalsong Forest|r", 0, 76)
  201.             player:GossipMenuAddItem(2, "|c00FF0000DragonBlight|r", 0, 77)
  202.             player:GossipMenuAddItem(2, "|c00FF0000Grizzly Hills|r", 0, 78)
  203.             player:GossipMenuAddItem(2, "|c00FF0000Howling Fjord|r", 0, 79)
  204.             player:GossipMenuAddItem(2, "|c00FF0000Icecrown|r", 0, 80)
  205.             player:GossipMenuAddItem(2, "|c00FF0000Sholazar Basin|r", 0, 81)
  206.             player:GossipMenuAddItem(2, "|c00FF0000The Storm Peaks|r", 0, 82)
  207.             player:GossipMenuAddItem(2, "|c00FF0000WinterGrasp|r", 0, 83)
  208.             player:GossipMenuAddItem(2, "|c00FF0000Zul'Drak|r", 0, 84)
  209.             player:GossipSendMenu(1, unit)
  210.     end
  211.      
  212.     if (intid == 90002) then -- Northrend Instances
  213.             player:GossipMenuAddItem(7, "|cff6E353AReturn (Notice:pls make a team and teleport)|r", 0, 8001)
  214.             player:GossipMenuAddItem(2, "|c00FF0000Azjol-Nerub|r", 0, 85)
  215.             player:GossipMenuAddItem(2, "|c00FF0000Drak'Tharon Keep|r", 0, 86)
  216.             player:GossipMenuAddItem(2, "|c00FF0000Gundrak|r", 0, 87)
  217.             player:GossipMenuAddItem(2, "|c00FF0000The Culling of Stratholme|r", 0, 88)
  218.             player:GossipMenuAddItem(2, "|c00FF0000The Halls of Lightning|r", 0, 89)
  219.             player:GossipMenuAddItem(2, "|c00FF0000The Halls of Stone|r", 0, 90)
  220.             player:GossipMenuAddItem(2, "|c00FF0000The Nexus|r", 0, 91)
  221.             player:GossipMenuAddItem(2, "|c00FF0000The Violet Hold|r", 0, 92)
  222.             player:GossipMenuAddItem(2, "|c00FF0000Utgarde Keep|r", 0, 93)
  223.             player:GossipMenuAddItem(2, "|c00FF0000Utgarde Pinnacle|r", 0, 94)
  224.             player:GossipSendMenu(1, unit)
  225.     end
  226.      
  227.     if (intid == 10) then -- Northrend Raids
  228.             player:GossipMenuAddItem(2, "|c00FF0000Naxxramas|r", 0, 95)
  229.             player:GossipMenuAddItem(2, "|c00FF0000The Eye of Eternity|r", 0, 96)
  230.             player:GossipMenuAddItem(2, "|c00FF0000The Obsidian Sanctum|r", 0, 97)
  231.             player:GossipMenuAddItem(2, "|c00FF0000Ulduar|r", 0, 98)
  232.             player:GossipMenuAddItem(2, "|c00FF0000Vault of Archavon|r", 0, 99)
  233.             player:GossipMenuAddItem(0, "|c99006600Home Page|r", 0, 999)
  234.             player:GossipSendMenu(1, unit)
  235.     end
  236.    
  237.    
  238.    
  239.     if(intid == 99992) then --mall center
  240. player:Teleport(0, -11170.207031, -2038.059082, 47.782959, 3.074821)
  241. player:Dismount()
  242. player:GossipComplete()
  243. end
  244.    
  245. if(intid == 1011) then --level 1 -100
  246. player:Teleport(1, 4612.901367, -3860.338379, 944.641235, 1.026173)
  247. player:Dismount()
  248. player:GossipComplete()
  249. end
  250.    
  251.    
  252.     if(intid == 20010) then --mall center
  253. player:Teleport(30, 719.341675, -12.025321, 50.373444, 3.390540)
  254. player:Dismount()
  255. player:GossipComplete()
  256. end
  257.    
  258.     if(intid == 10000) then --Toc
  259. player:Teleport(571, 5830.139160, 477.591949, 658.930054, 4)
  260. player:Dismount()
  261. player:GossipComplete()
  262. end
  263.  
  264.  
  265.  
  266. if(intid == 3143) then -- ArgentTournament
  267. player:Teleport(571, 8515.889648, 629.250000, 547.745972, 1.5)
  268. player:Dismount()
  269. player:SendBroadcastMessage("|cff00FF1DTeleporting to [Argent Tournament]")
  270. player:SendNotification("|cff00FF1DPlease wait.....")
  271. player:GossipComplete()
  272.     end
  273.        
  274.         if (intid == 3092) then
  275.         player:Teleport(571, 5575.551758, 5723.434082, -75.240295, 1.998841)
  276.         player:GossipComplete()
  277.         end
  278.        
  279.         if ( intid == 3093) then
  280.         player:Teleport(571, 8150.500488, 2810.237305, 576.7559881, 5.614261)
  281.         player:GossipComplete()
  282.         end
  283.        
  284.         if (intid == 3100) then
  285.         player:Teleport(571, 6417.224609, 444.628815, 511.980682, 2.858296)
  286.         player:GossipComplete()
  287.         end
  288.        
  289.         if (intid == 3106) then
  290.         player:Teleport(571, 5449.366211, -2283.365234, 297.777283, 4.714105)
  291.         player:GossipComlete()
  292.         end
  293.        
  294.         if (intid == 3107) then
  295.         player:Teleport(571, 5751.228516, -3483.190430, 383.304413, 4.853304)
  296.         player:GossipComplete()
  297.         end
  298.  
  299.  
  300.    
  301.     -- Shattrath
  302.      
  303.     if (intid == 11) then
  304.             player:Teleport(530, -1817.82, 5453.04, -12.42, 0)
  305.             player:Dismount()
  306.             player:SendNotification("|r|cff00ccffSystem |cffff0000Teleport To [Shattrath City]|r")
  307.             player:GossipComplete()
  308.     end
  309.    
  310.        --zona de profesiones
  311.      
  312.     if (intid == 5567) then
  313.             player:Teleport(530, -248.646118, 934.131592, 85.260094, 1.5)
  314.             player:Dismount()
  315.             player:SendNotification("|r|cff00ccffSystem |cffff0000Teleport To [The Dark Portal]|r")
  316.             player:GossipComplete()
  317.     end
  318.         --mallzone
  319.        
  320.     if (intid == 5564) then
  321.             player:Teleport(1, -6934.411621, -4936.770508, 1.825763, 1.522874)
  322.             player:Dismount()
  323.             player:SendNotification("|r|cff00ccffSystem |cffff0000Teleport To [Start-Zone]|r")
  324.             player:GossipComplete()
  325.     end
  326.      
  327.         --mallzone alliance
  328.      if (intid == 55641) then
  329.             player:Teleport(0, -4923.826660, -957.8259, 502.673767, 0)
  330.             player:Dismount()
  331.             player:SendNotification("|r|cff00ccffSystem |cffff0000Teleport To [Mall Zone Horde]|r")
  332.             player:GossipComplete()
  333.     end
  334.    
  335.         --mallzone horde
  336.     if (intid == 55642) then
  337.             player:Teleport(1, 1573.247192, -4413.024414, 7.125350, 0.632247)
  338.             player:Dismount()
  339.             player:SendNotification("|r|cff00ccffSystem |cffff0000Teleport To [Mall Zone Horde]|r")
  340.             player:GossipComplete()
  341.     end
  342.    
  343.        
  344.     -- Alliance Cities
  345.      
  346.     if (intid == 19) then -- Stormwind
  347.             player:Teleport(0, -8913.23, 554.63, 93.79, 0)
  348.             player:Dismount()
  349.             player:GossipComplete()
  350.     end
  351.      
  352.     if (intid == 20) then -- Ironforge
  353.             player:Teleport(0, -4923.826660, -957.8259, 502.673767, 0)
  354.             player:Dismount()
  355.             player:GossipComplete()
  356.     end
  357.      
  358.     if (intid == 21) then -- Darnassus
  359.             player:Teleport(1, 9945.49, 2609.89, 1316.26, 0)
  360.             player:Dismount()
  361.             player:GossipComplete()
  362.     end
  363.      
  364.     if (intid == 22) then -- Exodar
  365.             player:Teleport(530, -4002.67, -11875.54, -0.71, 0)
  366.             player:Dismount()
  367.             player:GossipComplete()
  368.     end
  369.      
  370.      
  371.     -- Horde Cities
  372.      
  373.     if (intid == 23) then -- Orgimmar
  374.             player:Teleport(1, 1571.830322, -4414.051758, 7.721913, 0)
  375.             player:Dismount()
  376.             player:GossipComplete()
  377.     end
  378.      
  379.     if (intid == 24) then -- Thunderbluff
  380.             player:Teleport(1, -1285.23, 117.86, 129.99, 0)
  381.             player:Dismount()
  382.             player:GossipComplete()
  383.     end
  384.      
  385.     if (intid == 25) then -- Undercity
  386.             player:Teleport(0, 1831.26, 238.52, 60.52, 0)
  387.             player:Dismount()
  388.             player:GossipComplete()
  389.     end
  390.      
  391.     if (intid == 26) then -- Silvermoon
  392.             player:Teleport(530, 9398.75, -7277.41, 14.21, 0)
  393.             player:Dismount()
  394.             player:GossipComplete()
  395.     end
  396.      
  397.      
  398.     -- Azeroth Locations
  399.      
  400.     if (intid == 27) then -- Eastern Kingdoms
  401.             player:GossipMenuAddItem(2, "Alterac Mountains", 0, 112)
  402.             player:GossipMenuAddItem(2, "Arathi Highlands", 0, 113)
  403.             player:GossipMenuAddItem(2, "Badlands", 0, 114)
  404.             player:GossipMenuAddItem(2, "Blasted Lands", 0, 115)
  405.             player:GossipMenuAddItem(2, "Burning Steppes", 0, 116)
  406.             player:GossipMenuAddItem(2, "Deadwind Pass", 0, 117)
  407.             player:GossipMenuAddItem(2, "Dun Morogh", 0, 118)
  408.             player:GossipMenuAddItem(2, "Duskwood", 0, 119)
  409.             player:GossipMenuAddItem(2, "Eastern Plaguelands", 0, 120)
  410.             player:GossipMenuAddItem(2, "Elwynn Forest", 0, 121)
  411.             player:GossipMenuAddItem(2, "Eversong Woods", 0, 122)
  412.             player:GossipMenuAddItem(2, "Ghostlands", 0, 123)
  413.             player:GossipMenuAddItem(2, "Hillsbrad Foothills", 0, 124)
  414.             player:GossipMenuAddItem(2, "Isle of Quel'Danas", 0, 125)
  415.             player:GossipMenuAddItem(0, "Next Page", 0, 996)
  416.             player:GossipMenuAddItem(0, "Home Page", 0, 999)
  417.             player:GossipSendMenu(1, unit)
  418.     end
  419.      
  420.     if (intid == 996) then -- Eastern Kingdoms Cont.
  421.             player:GossipMenuAddItem(2, "Loch Modan", 0, 126)
  422.             player:GossipMenuAddItem(2, "Redridge Mountains", 0, 127)
  423.             player:GossipMenuAddItem(2, "Searing Gorge", 0, 128)
  424.             player:GossipMenuAddItem(2, "Silverpine Forest", 0, 129)
  425.             player:GossipMenuAddItem(2, "Stranglethorn Vale", 0, 130)
  426.             player:GossipMenuAddItem(2, "Swamp of Sorrows", 0, 131)
  427.             player:GossipMenuAddItem(2, "The Hinterlands", 0, 132)
  428.             player:GossipMenuAddItem(2, "Tirisfal Glades", 0, 133)
  429.             player:GossipMenuAddItem(2, "Western Plaguelands", 0, 134)
  430.             player:GossipMenuAddItem(2, "Westfall", 0, 135)
  431.             player:GossipMenuAddItem(2, "Wetlands", 0, 136)
  432.             player:GossipMenuAddItem(0, "Previous Page", 0, 27)
  433.             player:GossipMenuAddItem(0, "Home Page", 0, 999)
  434.             player:GossipSendMenu(1, unit)
  435.     end
  436.      
  437.     if (intid == 28) then -- Kalimdor
  438.             player:GossipMenuAddItem(2, "Ashenvale", 0, 137)
  439.             player:GossipMenuAddItem(2, "Azshara", 0, 138)
  440.             player:GossipMenuAddItem(2, "Azuremyst Isle", 0, 139)
  441.             player:GossipMenuAddItem(2, "Bloodmyst Isle", 0, 140)
  442.             player:GossipMenuAddItem(2, "Darkshore", 0, 141)
  443.             player:GossipMenuAddItem(2, "Desolace", 0, 142)
  444.             player:GossipMenuAddItem(2, "Durotar", 0, 143)
  445.             player:GossipMenuAddItem(2, "Dustwallow Marsh", 0, 144)
  446.             player:GossipMenuAddItem(2, "Felwood", 0, 145)
  447.             player:GossipMenuAddItem(2, "Feralas", 0, 146)
  448.             player:GossipMenuAddItem(2, "Moonglade", 0, 147)
  449.             player:GossipMenuAddItem(2, "Mulgore", 0, 148)
  450.             player:GossipMenuAddItem(2, "Silithus", 0, 149)
  451.             player:GossipMenuAddItem(0, "Next Page", 0, 995)
  452.             player:GossipMenuAddItem(0, "Home Page", 0, 999)
  453.             player:GossipSendMenu(1, unit)
  454.     end
  455.      
  456.     if (intid == 995) then -- Kalimdor Cont.
  457.             player:GossipMenuAddItem(2, "Stonetalon Mountains", 0, 150)
  458.             player:GossipMenuAddItem(2, "Tanaris", 0, 151)
  459.             player:GossipMenuAddItem(2, "Teldrassil", 0, 152)
  460.             player:GossipMenuAddItem(2, "The Barrens", 0, 153)
  461.             player:GossipMenuAddItem(2, "Thousand Needles", 0, 154)
  462.             player:GossipMenuAddItem(2, "Un'Goro Crater", 0, 0, 155)
  463.             player:GossipMenuAddItem(2, "Winterspring", 0, 156)
  464.             player:GossipMenuAddItem(0, "Previous Page", 0, 28)
  465.             player:GossipMenuAddItem(0, "Home Page", 0, 999)
  466.             player:GossipSendMenu(1, unit)
  467.     end
  468.      
  469.     if (intid == 29) then -- Blackfathom Deeps
  470.             player:Teleport(1, 4247.34, 744.05, -24.71, 0)
  471.             player:GossipComplete()
  472.     end
  473.      
  474.     if (intid == 30) then -- Blackrock Depths
  475.             player:Teleport(0, -7576.74, -1126.68, 262.26, 0)
  476.             player:GossipComplete()
  477.     end
  478.      
  479.     if (intid == 31) then -- Dire Maul
  480.             player:Teleport(1, -3879.52, 1095.26, 154.78, 0)
  481.             player:GossipComplete()
  482.     end
  483.      
  484.     if (intid == 32) then -- Gnomeregan
  485.             player:Teleport(0, -5162.63, 923.21, 257.17, 0)
  486.             player:GossipComplete()
  487.     end
  488.      
  489.     if (intid == 33) then -- Maraudon
  490.             player:Teleport(1, -1412.73, 2816.92, 112.64, 0)
  491.             player:GossipComplete()
  492.     end
  493.      
  494.     if (intid == 34) then -- Ragefire Chasm
  495.             player:Teleport(1, 1814.17, -4401.13, -17.67, 0)
  496.             player:GossipComplete()
  497.     end
  498.      
  499.     if (intid == 35) then -- Razorfen Downs
  500.             player:Teleport(1, -4378.32, -1949.14, 88.57, 0)
  501.             player:GossipComplete()
  502.     end
  503.      
  504.     if (intid == 36) then -- Razorfen Kraul
  505.             player:Teleport(1, -4473.31, -1810.05, 86.11, 0)
  506.             player:GossipComplete()
  507.     end
  508.      
  509.     if (intid == 37) then -- Scarlet Monastery
  510.             player:Teleport(0, 2881.84, -816.23, 160.33, 0)
  511.             player:GossipComplete()
  512.     end
  513.      
  514.     if (intid == 38) then -- Scholomance
  515.             player:Teleport(0, 1229.45, -2576.66, 90.43, 0)
  516.             player:GossipComplete()
  517.     end
  518.      
  519.     if (intid == 39) then -- Shadowfang Keep
  520.             player:Teleport(0, -243.85, 1517.21, 76.23, 0)
  521.             player:GossipComplete()
  522.     end
  523.      
  524.     if (intid == 40) then -- Stratholme
  525.             player:Teleport(0, 3362.14, -3380.05, 144.78, 0)
  526.             player:GossipComplete()
  527.     end
  528.      
  529.     if (intid == 41) then -- Sunken Temple
  530.             player:Teleport(0, -10452.32, -3817.51, 18.06, 0)
  531.             player:GossipComplete()
  532.     end
  533.      
  534.     if (intid == 42) then -- The Deadmines
  535.             player:Teleport(0, -11084.10, 1556.17, 48.12, 0)
  536.             player:GossipComplete()
  537.     end
  538.      
  539.     if (intid == 43) then -- The Stockade
  540.             player:Teleport(0, -8797.29, 826.67, 97.63, 0)
  541.             player:GossipComplete()
  542.     end
  543.      
  544.     if (intid == 44) then -- Uldaman
  545.             player:Teleport(0, -6072.23, -2955.94, 209.61, 0)
  546.             player:GossipComplete()
  547.     end
  548.      
  549.     if (intid == 45) then -- Wailing Caverns
  550.             player:Teleport(1, -735.11, -2214.21, 16.83, 0)
  551.             player:GossipComplete()
  552.     end
  553.      
  554.     if (intid == 46) then -- Zul'Farrak
  555.             player:Teleport(1, -6825.69, -2882.77, 8.91, 0)
  556.             player:GossipComplete()
  557.     end
  558.      
  559.      
  560.     -- Azeroth Raids
  561.      
  562.     if (intid == 47) then -- Blackwing Lair
  563.             player:Teleport(469, -7666.11, -1101.53, 399.67, 0)
  564.             player:GossipComplete()
  565.     end
  566.      
  567.     if (intid == 48) then -- Molten Core
  568.             player:Teleport(230, 1117.61, -457.36, -102.49, 0)
  569.             player:GossipComplete()
  570.     end
  571.      
  572.     if (intid == 49) then -- Onyxia's Lair
  573.             player:Teleport(1, -4697.81, -3720.44, 50.35, 0)
  574.             player:GossipComplete()
  575.     end
  576.      
  577.     if (intid == 50) then -- Ruins of Ahn'Qiraj
  578.             player:Teleport(1, -8380.47, 1480.84, 14.35, 0)
  579.             player:GossipComplete()
  580.     end
  581.      
  582.     if (intid == 51) then -- Temple of Ahn'Qiraj
  583.             player:Teleport(1, -8258.27, 1962.73, 129.89, 0)
  584.             player:GossipComplete()
  585.     end
  586.      
  587.     if (intid == 52) then -- Zul'Gurub
  588.             player:Teleport(0, -11916.74, -1203.32, 92.28, 0)
  589.             player:GossipComplete()
  590.     end
  591.      
  592.      
  593.     -- Outland Locations
  594.      
  595.     if (intid == 53) then -- Blade's Edge Mountains
  596.             player:Teleport(530, 2039.24, 6409.27, 134.30, 0)
  597.             player:GossipComplete()
  598.     end
  599.      
  600.     if (intid == 54) then -- Hellfire Peninsula
  601.             player:Teleport(530, -247.37, 964.77, 84.33, 0)
  602.             player:GossipComplete()
  603.     end
  604.      
  605.     if (intid == 55) then -- Nagrand
  606.             player:Teleport(530, -605.84, 8442.39, 60.76, 0)
  607.             player:GossipComplete()
  608.     end
  609.      
  610.     if (intid == 56) then -- Netherstorm
  611.             player:Teleport(530, 3055.70, 3671.63, 142.44, 0)
  612.             player:GossipComplete()
  613.     end
  614.      
  615.     if (intid == 57) then -- Shadowmoon Valley
  616.             player:Teleport(530, -2859.75, 3184.24, 9.76, 0)
  617.             player:GossipComplete()
  618.     end
  619.      
  620.     if (intid == 58) then -- Terokkar Forest
  621.             player:Teleport(530, -1917.17, 4879.45, 2.10, 0)
  622.             player:GossipComplete()
  623.     end
  624.      
  625.     if (intid == 59) then -- Zangarmarsh
  626.             player:Teleport(530, -206.61, 5512.90, 21.58, 0)
  627.             player:GossipComplete()
  628.     end
  629.      
  630.      
  631.     -- Outland Instances
  632.      
  633.     if (intid == 60) then -- Auchindoun
  634.             player:Teleport(530, -3323.76, 4934.31, -100.21, 0)
  635.             player:GossipComplete()
  636.     end
  637.      
  638.     if (intid == 61) then -- Caverns of Time
  639.             player:Teleport(1, -8187.16, -4704.91, 19.33, 0)
  640.             player:GossipComplete()
  641.     end
  642.      
  643.     if (intid == 62) then -- Coilfang Reservoir
  644.             player:Teleport(530, 731.04, 6849.35, -66.62, 0)
  645.             player:GossipComplete()
  646.     end
  647.      
  648.     if (intid == 63) then -- Hellfire Citadel
  649.             player:Teleport(530, -331.87, 3039.30, -16.66, 0)
  650.             player:GossipComplete()
  651.     end
  652.      
  653.     if (intid == 64) then -- Magisters' Terrace
  654.             player:Teleport(530, 12884.92, -7333.78, 65.48, 0)
  655.             player:GossipComplete()
  656.     end
  657.      
  658.     if (intid == 65) then -- Tempest Keep
  659.             player:Teleport(530, 3088.25, 1388.17, 185.09, 0)
  660.             player:GossipComplete()
  661.     end
  662.      
  663.      
  664.     -- Outland Raids
  665.      
  666.     if (intid == 66) then -- Black Temple
  667.             player:Teleport(530, -3638.16, 316.09, 35.40, 0)
  668.             player:GossipComplete()
  669.     end
  670.      
  671.     if (intid == 67) then -- Hyjal Summit
  672.             player:Teleport(1, -8175.94, -4178.52, -166.74, 0)
  673.             player:GossipComplete()
  674.     end
  675.      
  676.     if (intid == 68) then -- Serpentshrine Cavern
  677.             player:Teleport(530, 731.04, 6849.35, -66.62, 0)
  678.             player:GossipComplete()
  679.     end
  680.      
  681.     if (intid == 69) then -- Gruul's Lair
  682.             player:Teleport(530, 3528.99, 5133.50, 1.31, 0)
  683.             player:GossipComplete()
  684.     end
  685.      
  686.     if (intid == 70) then -- Magtheridon's Lair
  687.             player:Teleport(530, -337.50, 3131.88, -102.92, 0)
  688.             player:GossipComplete()
  689.     end
  690.      
  691.     if (intid == 71) then -- Karazhan
  692.             player:Teleport(0, -11119.22, -2010.73, 47.09, 0)
  693.             player:GossipComplete()
  694.     end
  695.      
  696.     if (intid == 72) then -- Sunwell Plateau
  697.             player:Teleport(530, 12560.79, -6774.58, 15.08, 0)
  698.             player:GossipComplete()
  699.     end
  700.      
  701.     if (intid == 73) then -- The Eye
  702.             player:Teleport(530, 3088.25, 1388.17, 185.09, 0)
  703.             player:GossipComplete()
  704.     end
  705.      
  706.     if (intid == 74) then -- Zul'Aman
  707.             player:Teleport(530, 6850, -7950, 170, 0)
  708.             player:GossipComplete()
  709.     end
  710.      
  711.      
  712.     -- Northrend Locations
  713.      
  714.     if (intid == 75) then -- Borean Tundra
  715.             player:Teleport(571, 2920.15, 4043.40, 1.82, 0)
  716.             player:GossipComplete()
  717.     end
  718.      
  719.     if (intid == 76) then -- Crystalsong Forest
  720.             player:Teleport(571, 5371.18, 109.11, 157.65, 0)
  721.             player:GossipComplete()
  722.     end
  723.      
  724.     if (intid == 77) then -- Dragonblight
  725.             player:Teleport(571, 2729.59, 430.70, 66.98, 0)
  726.             player:GossipComplete()
  727.     end
  728.      
  729.     if (intid == 78) then -- Grizzly Hills
  730.             player:Teleport(571, 3587.20, -4545.12, 198.75, 0)
  731.             player:GossipComplete()
  732.     end
  733.      
  734.     if (intid == 79) then -- Howling Fjord
  735.             player:Teleport(571, 154.39, -4896.33, 296.14, 0)
  736.             player:GossipComplete()
  737.     end
  738.      
  739.     if (intid == 80) then -- Icecrown
  740.             player:Teleport(571, 8406.89, 2703.79, 665.17, 0)
  741.             player:GossipComplete()
  742.     end
  743.      
  744.     if (intid == 81) then -- Sholazar Basin
  745.             player:Teleport(571, 5569.49, 5762.99, -75.22, 0)
  746.             player:GossipComplete()
  747.     end
  748.      
  749.     if (intid == 82) then -- The Storm Peaks
  750.             player:Teleport(571, 6180.66, -1085.65, 415.54, 0)
  751.             player:GossipComplete()
  752.     end
  753.      
  754.     if (intid == 83) then -- Wintergrasp
  755.             player:Teleport(571, 5044.03, 2847.23, 392.64, 0)
  756.             player:GossipComplete()
  757.     end
  758.      
  759.     if (intid == 84) then -- Zul'Drak
  760.             player:Teleport(571, 4700.09, -3306.54, 292.41, 0)
  761.             player:GossipComplete()
  762.     end
  763.      
  764.      
  765.     -- Northrend Instances
  766.      
  767.     if (intid == 85) then -- Azjol-Nerub
  768.             player:Teleport(571, 3738.93, 2164.14, 37.29, 0)
  769.             player:GossipComplete()
  770.     end
  771.      
  772.     if (intid == 86) then -- Drak'Tharon
  773.             player:Teleport(571, 4772.13, -2035.85, 229.38, 0)
  774.             player:GossipComplete()
  775.     end
  776.      
  777.     if (intid == 87) then -- Gundrak
  778.             player:Teleport(571, 6937.12, -4450.80, 450.90, 0)
  779.             player:GossipComplete()
  780.     end
  781.      
  782.     if (intid == 88) then -- The Culling of Stratholme
  783.             player:Teleport(1, -8746.94, -4437.69, -199.98, 0)
  784.             player:GossipComplete()
  785.     end
  786.      
  787.     if (intid == 89) then -- The Halls of Lightning
  788.             player:Teleport(571, 9171.01, -1375.94, 1099.55, 0)
  789.             player:GossipComplete()
  790.     end
  791.      
  792.     if (intid == 90) then -- The Halls of Stone
  793.             player:Teleport(571, 8921.35, -988.56, 1039.37, 0)
  794.             player:GossipComplete()
  795.     end
  796.      
  797.     if (intid == 91) then -- The Nexus
  798.             player:Teleport(571, 3784.76, 6941.97, 104.49, 0)
  799.             player:GossipComplete()
  800.     end
  801.      
  802.     if (intid == 92) then -- The Violet Hold
  803.             player:Teleport(571, 5695.19, 505.38, 652.68, 0)
  804.             player:GossipComplete()
  805.     end
  806.      
  807.     if (intid == 93) then -- Utgarde Keep
  808.             player:Teleport(571, 1222.44, -4862.61, 41.24, 0)
  809.             player:GossipComplete()
  810.     end
  811.      
  812.     if (intid == 94) then -- Utgarde Pinnacle
  813.             player:Teleport(571, 1251.10, -4856.31, 215.86, 0)
  814.             player:GossipComplete()
  815.     end
  816.      
  817.      
  818.     -- Northrend Raids
  819.      
  820.     if (intid == 95) then -- Naxxramas
  821.             player:Teleport(571, 3669.77, -1275.48, 243.51, 0)
  822.             player:GossipComplete()
  823.     end
  824.      
  825.     if (intid == 96) then -- The Eye of Eternity
  826.             player:Teleport(571, 3873.50, 6974.83, 152.04, 0)
  827.             player:GossipComplete()
  828.     end
  829.      
  830.     if (intid == 97) then -- The Obsidian Sanctum
  831.             player:Teleport(571, 3547.39, 267.95, -115.96, 0)
  832.             player:GossipComplete()
  833.     end
  834.      
  835.     if (intid == 98) then -- Ulduar
  836.             player:Teleport(571, 9330.53, -1115.40, 1245.14, 0)
  837.             player:GossipComplete()
  838.     end
  839.      
  840.     if (intid == 99) then -- Vault of Archavon
  841.             player:Teleport(571, 5410.21, 2842.37, 418.67, 0)
  842.             player:GossipComplete()
  843.     end
  844.          
  845.     -- Eastern Kingdoms
  846.      
  847.     if (intid == 112) then -- Alterac Mountains
  848.             player:Teleport(0, 353.79, -607.08, 150.76, 0)
  849.             player:GossipComplete()
  850.     end
  851.      
  852.     if (intid == 113) then -- Arathi Highlands
  853.             player:Teleport(0, -2269.78, -2501.06, 79.04, 0)
  854.             player:GossipComplete()
  855.     end
  856.      
  857.     if (intid == 114) then -- Badlands
  858.             player:Teleport(0, -6026.58, -3318.27, 260.64, 0)
  859.             player:GossipComplete()
  860.     end
  861.      
  862.     if (intid == 115) then -- Blasted Lands
  863.             player:Teleport(0, -10797.67, -2994.29, 44.42, 0)
  864.             player:GossipComplete()
  865.     end
  866.      
  867.     if (intid == 116) then -- Burning Steppes
  868.             player:Teleport(0, -8357.72, -2537.49, 135.01, 0)
  869.             player:GossipComplete()
  870.     end
  871.      
  872.     if (intid == 117) then -- Deadwind Pass
  873.             player:Teleport(0, -10460.22, -1699.33, 81.85, 0)
  874.             player:GossipComplete()
  875.     end
  876.      
  877.     if (intid == 118) then -- Dun Morogh
  878.             player:Teleport(0, -6234.99, 341.24, 383.22, 0)
  879.             player:GossipComplete()
  880.     end
  881.      
  882.     if (intid == 119) then -- Duskwood
  883.             player:Teleport(0, -10068.30, -1501.07, 28.41, 0)
  884.             player:GossipComplete()
  885.     end
  886.      
  887.     if (intid == 120) then -- Eastern Plaguelands
  888.             player:Teleport(0, 1924.70, -2653.54, 59.70, 0)
  889.             player:GossipComplete()
  890.     end
  891.      
  892.     if (intid == 121) then -- Elwynn Forest
  893.             player:Teleport(0, -8939.71, -131.22, 83.62, 0)
  894.             player:GossipComplete()
  895.     end
  896.      
  897.     if (intid == 122) then -- Eversong Woods
  898.             player:Teleport(530, 10341.73, -6366.29, 34.31, 0)
  899.             player:GossipComplete()
  900.     end
  901.      
  902.     if (intid == 123) then -- Ghostlands
  903.             player:Teleport(530, 7969.87, -6872.63, 58.66, 0)
  904.             player:GossipComplete()
  905.     end
  906.      
  907.     if (intid == 124) then -- Hillsbrad Foothills
  908.             player:Teleport(0, -585.70, 612.18, 83.80, 0)
  909.             player:GossipComplete()
  910.     end
  911.      
  912.     if (intid == 125) then -- Isle of Quel'Danas
  913.             player:Teleport(530, 12916.81, -6867.82, 7.69, 0)
  914.             player:GossipComplete()
  915.     end
  916.      
  917.     if (intid == 126) then -- Loch Modan
  918.             player:Teleport(0, -4702.59, -2698.61, 318.75, 0)
  919.             player:GossipComplete()
  920.     end
  921.      
  922.     if (intid == 127) then -- Redridge Mountains
  923.             player:Teleport(0, -9600.62, -2123.21, 66.23, 0)
  924.             player:GossipComplete()
  925.     end
  926.      
  927.     if (intid == 128) then -- Searing Gorge
  928.             player:Teleport(0, -6897.73, -1821.58, 241.16, 0)
  929.             player:GossipComplete()
  930.     end
  931.      
  932.     if (intid == 129) then -- Silverpine Forest
  933.             player:Teleport(0, 1499.57, 623.98, 47.01, 0)
  934.             player:GossipComplete()
  935.     end
  936.      
  937.     if (intid == 130) then -- Stranglethorn Vale
  938.             player:Teleport(0, -11355.90, -383.40, 65.14, 0)
  939.             player:GossipComplete()
  940.     end
  941.      
  942.     if (intid == 131) then -- Swamp of Sorrows
  943.             player:Teleport(0, -10552.60, -2355.25, 85.95, 0)
  944.             player:GossipComplete()
  945.     end
  946.      
  947.     if (intid == 132) then -- The Hinterlands
  948.             player:Teleport(0, 92.63, -1942.31, 154.11, 0)
  949.             player:GossipComplete()
  950.     end
  951.      
  952.     if (intid == 133) then -- Tirisfal Glades
  953.             player:Teleport(0, 1676.13, 1669.37, 137.02, 0)
  954.             player:GossipComplete()
  955.     end
  956.      
  957.     if (intid == 134) then -- Western Plaguelands
  958.             player:Teleport(0, 1635.57, -1068.50, 66.57, 0)
  959.             player:GossipComplete()
  960.     end
  961.      
  962.     if (intid == 135) then -- Westfall
  963.             player:Teleport(0, -9827.95, 865.80, 25.80, 0)
  964.             player:GossipComplete()
  965.     end
  966.      
  967.     if (intid == 136) then -- Wetlands
  968.             player:Teleport(0, -4086.32, -2620.72, 43.55, 0)
  969.             player:GossipComplete()
  970.     end
  971.      
  972.      
  973.     -- Kalimdor
  974.      
  975.     if (intid == 137) then -- Ashenvale
  976.             player:Teleport(1, 3474.41, 853.47, 5.76, 0)
  977.             player:GossipComplete()
  978.     end
  979.      
  980.     if (intid == 138) then -- Azshara
  981.             player:Teleport(1, 2763.93, -3881.34, 92.52, 0)
  982.             player:GossipComplete()
  983.     end
  984.      
  985.     if (intid == 139) then -- Azuremyst Isle
  986.             player:Teleport(530, -3972.72, -13914.99, 98.88, 0)
  987.             player:GossipComplete()
  988.     end
  989.      
  990.     if (intid == 140) then -- Bloodmyst Isle
  991.             player:Teleport(530, -2721.67, -12208.90, 9.08, 0)
  992.             player:GossipComplete()
  993.     end
  994.      
  995.     if (intid == 141) then -- Darkshore
  996.             player:Teleport(1, 4336.61, 173.83, 46.84, 0)
  997.             player:GossipComplete()
  998.     end
  999.      
  1000.     if (intid == 142) then -- Desolace
  1001.             player:Teleport(1, 47.28, 1684.64, 93.55, 0)
  1002.             player:GossipComplete()
  1003.     end
  1004.      
  1005.     if (intid == 143) then -- Durotar
  1006.             player:Teleport(1, -611.61, -4263.16, 38.95, 0)
  1007.             player:GossipComplete()
  1008.     end
  1009.      
  1010.     if (intid == 144) then -- Dustwallow Marsh
  1011.             player:Teleport(1, -3682.58, -2556.93, 58.43, 0)
  1012.             player:GossipComplete()
  1013.     end
  1014.      
  1015.     if (intid == 145) then -- Felwood
  1016.             player:Teleport(1, 3590.56, -1516.69, 169.98, 0)
  1017.             player:GossipComplete()
  1018.     end
  1019.      
  1020.     if (intid == 146) then -- Feralas
  1021.             player:Teleport(1, -4300.02, -631.56, -9.35, 0)
  1022.             player:GossipComplete()
  1023.     end
  1024.      
  1025.     if (intid == 147) then -- Moonglade
  1026.             player:Teleport(1, 7999.68, -2670.19, 512.09, 0)
  1027.             player:GossipComplete()
  1028.     end
  1029.      
  1030.     if (intid == 148) then -- Mulgore
  1031.             player:Teleport(1, -2931.49, -262.82, 53.25, 0)
  1032.             player:GossipComplete()
  1033.     end
  1034.      
  1035.     if (intid == 149) then -- Silithus
  1036.             player:Teleport(1, -6814.57, 833.77, 49.74, 0)
  1037.             player:GossipComplete()
  1038.     end
  1039.      
  1040.     if (intid == 150) then -- Stonetalon Mountains
  1041.             player:Teleport(1, -225.34, -765.16, 6.4, 0)
  1042.             player:GossipComplete()
  1043.     end
  1044.      
  1045.     if (intid == 151) then -- Tanaris
  1046.             player:Teleport(1, -6999.47, -3707.94, 26.44, 0)
  1047.             player:GossipComplete()
  1048.     end
  1049.      
  1050.     if (intid == 152) then -- Teldrassil
  1051.             player:Teleport(1, 8754.06, 949.62, 25.99, 0)
  1052.             player:GossipComplete()
  1053.     end
  1054.      
  1055.     if (intid == 153) then -- The Barrens
  1056.             player:Teleport(1, -948.46, -3738.60, 5.98, 0)
  1057.             player:GossipComplete()
  1058.     end
  1059.      
  1060.     if (intid == 154) then -- Thousand Needles
  1061.             player:Teleport(1, -4685.72, -1836.24, -44.04, 0)
  1062.             player:GossipComplete()
  1063.     end
  1064.      
  1065.     if (intid == 155) then -- Un'Goro Crater
  1066.             player:Teleport(1, -6162.47, -1098.74, -208.99, 0)
  1067.             player:GossipComplete()
  1068.     end
  1069.      
  1070.     if (intid == 156) then -- Winterspring
  1071.             player:Teleport(1, 6896.27, -2302.51, 586.69, 0)
  1072.             player:GossipComplete()
  1073.  
  1074. end
  1075. end
  1076.  
  1077. RegisterCreatureGossipEvent(NpcEntry, 1, Teleporter_Gossip)
  1078. RegisterCreatureGossipEvent(NpcEntry, 2, Teleporter_Events)
Add Comment
Please, Sign In to add comment