midoking

Untitled

Apr 16th, 2011
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 45.61 KB | None | 0 0
  1. function Item_Trigger(item, event, player)
  2.     Item_menu(item, player)
  3. end
  4.  
  5. function Item_menu(item, player)
  6.  
  7.  
  8. if (player:IsInCombat() == true) then
  9. player:SendAreaTriggerMessage("|cffFF0032You can't use that in combat.")
  10. else
  11. item:GossipCreateMenu(3544, player, 0)
  12.     local race = player:GetPlayerRace()
  13.     if race == 1 or race == 3 or race == 4 or race == 7 or race == 11 then --alliance
  14.     item:GossipMenuAddItem(2, "|cff0000ffHome Town Mall", 29300, 0)
  15.     end
  16.     local race = player:GetPlayerRace()
  17.     if race == 2 or race == 5 or race == 6 or race == 8 or race == 10 then --horde
  18.     item:GossipMenuAddItem(2, "|cffFF0032Home Town Mall", 29301, 0)
  19.     end
  20. item:GossipMenuAddItem(4, "|cff0000ffMall Alliance", 29300, 0)
  21. item:GossipMenuAddItem(4, "|cffFF0032Mall Hord", 29301, 0)
  22. item:GossipMenuAddItem(4, "Arathi Basin (A)", 88888, 0)
  23. item:GossipMenuAddItem(4, "Arathi Basin (H)", 99999, 0)
  24. item:GossipMenuAddItem(4, "Bosses Fight", 90000, 0)
  25. item:GossipMenuAddItem(4, "Gold Place Ally & horde", 98888, 0)
  26. item:GossipMenuAddItem(2, "Raid Instances", 3, 0)
  27. item:GossipMenuAddItem(2, "Middle Instances", 4, 0)
  28. item:GossipMenuAddItem(2, "Simple Instances", 5, 0)
  29. item:GossipMenuAddItem(4, "Pvp Arena (5vs5)", 54320, 0)
  30. item:GossipMenuAddItem(8, "Morphing Service", 9191, 0)
  31. item:GossipMenuAddItem(8, "Displays Service", 2003, 0)
  32. item:GossipMenuAddItem(8, "Advance all Skills", 40000, 0)
  33. item:GossipMenuAddItem(8, "Reset all Talents", 12348, 0)
  34. item:GossipMenuAddItem(8, "Remove Sickness", 70000, 0)
  35. item:GossipSendMenu(player)
  36. end
  37. end
  38.  
  39. function OnSelect(item, event, player, id, intid, code)
  40.  
  41. if(intid == 999) then
  42.     local race = player:GetPlayerRace()
  43.     if race == 1 or race == 3 or race == 4 or race == 7 or race == 11 then --alliance
  44.     item:GossipMenuAddItem(2, "|cff0000ffHome Town Mall", 29300, 0)
  45.     end
  46.     local race = player:GetPlayerRace()
  47.     if race == 2 or race == 5 or race == 6 or race == 8 or race == 10 then --horde
  48.     item:GossipMenuAddItem(2, "|cffFF0032Home Town Mall", 29301, 0)
  49.     end
  50. item:GossipCreateMenu(99, player, 0)
  51. item:GossipMenuAddItem(4, "|cff0000ffMall Alliance", 29300, 0)
  52. item:GossipMenuAddItem(4, "|cffFF0032Mall Hord", 29301, 0)
  53. item:GossipMenuAddItem(4, "Arathi Basin (A)", 88888, 0)
  54. item:GossipMenuAddItem(4, "Arathi Basin (H)", 99999, 0)
  55. item:GossipMenuAddItem(2, "Raid Instances", 3, 0)
  56. item:GossipMenuAddItem(2, "Middle Instances", 4, 0)
  57. item:GossipMenuAddItem(2, "Simple Instances", 5, 0)
  58. item:GossipMenuAddItem(4, "Pvp Arena (5vs5)", 54320, 0)
  59. item:GossipMenuAddItem(8, "Morphing Service", 9191, 0)
  60. item:GossipMenuAddItem(8, "Displays Service", 2003, 0)
  61. item:GossipMenuAddItem(8, "Advance all Skills", 40000, 0)
  62. item:GossipMenuAddItem(8, "Reset all Talents", 12348, 0)
  63. item:GossipMenuAddItem(8, "Remove Sickness", 70000, 0)
  64. item:GossipSendMenu(player)
  65. end
  66.  
  67. if(intid == 9191) then
  68. item:GossipCreateMenu(99, player, 0)
  69. item:GossipMenuAddItem(0, "Main Menu", 999, 0)
  70. item:GossipMenuAddItem(2, "Troll Faction", 9700, 0)
  71. item:GossipMenuAddItem(2, "Bloodelf Faction", 9701, 0)
  72. item:GossipMenuAddItem(2, "Draenei Faction", 9702, 0)
  73. item:GossipMenuAddItem(2, "Gnomish Faction", 9703, 0)
  74. item:GossipMenuAddItem(2, "Tauren Faction", 9704, 0)
  75. item:GossipMenuAddItem(2, "NightElf Faction", 9705, 0)
  76. item:GossipMenuAddItem(2, "Dwarf Faction", 9706, 0)
  77. item:GossipMenuAddItem(2, "Orchish Faction", 9707, 0)
  78. item:GossipSendMenu(player)
  79. end
  80.  
  81. if(intid == 9700) then
  82. player:SetModel(20321)
  83. item:GossipComplete(player)
  84. end
  85. if(intid == 9701) then
  86. player:SetModel(20322)
  87. item:GossipComplete(player)
  88. end
  89. if(intid == 9702) then
  90. player:SetModel(20323)
  91. item:GossipComplete(player)
  92. end
  93. if(intid == 9703) then
  94. player:SetModel(20320)
  95. item:GossipComplete(player)
  96. end
  97. if(intid == 9704) then
  98. player:SetModel(20319)
  99. item:GossipComplete(player)
  100. end
  101. if(intid == 9705) then
  102. player:SetModel(20318)
  103. item:GossipComplete(player)
  104. end
  105. if(intid == 9706) then
  106. player:SetModel(20317)
  107. item:GossipComplete(player)
  108. end
  109. if(intid == 9707) then
  110. player:SetModel(20316)
  111. item:GossipComplete(player)
  112. end
  113.  
  114. if(intid == 14222) then
  115. item:GossipCreateMenu(99, player, 0)
  116. item:GossipMenuAddItem(0, "Main Menu", 999, 0)
  117. item:GossipMenuAddItem(2, "|cff005D5D[Utgarde Keep]", 450000, 0)
  118. item:GossipMenuAddItem(4, "|cff005D5D[The Nexus]", 450001, 0)
  119. item:GossipMenuAddItem(4, "|cff005D5D[Azjol-Nerub]", 450002, 0)
  120. item:GossipMenuAddItem(4, "|cff005D5D[The Old Kingdom]", 450003, 0)
  121. item:GossipMenuAddItem(4, "|cff005D5D[Gundrak]", 450004, 0)
  122. item:GossipMenuAddItem(4, "|cff005D5D[Drak’Tharon Keep]", 450005, 0)
  123. item:GossipMenuAddItem(4, "|cff005D5D[Halls of Stone]", 450006, 0)
  124. item:GossipMenuAddItem(4, "|cff005D5D[Halls of Lightning]", 450007, 0)
  125. item:GossipMenuAddItem(4, "|cff005D5D[The Oculus]", 450008, 0)
  126. item:GossipMenuAddItem(4, "|cff005D5D[Ulduar]", 450009, 0)
  127. item:GossipMenuAddItem(4, "|cff005D5D[IceCrown Citadel]", 450010, 0)
  128. item:GossipMenuAddItem(4, "|cff005D5D[Vault of Archavon]", 450011, 0)
  129. item:GossipSendMenu(player)
  130. end
  131.  
  132. if(intid == 40000) then
  133.     player:AdvanceSkill(43, 399)
  134.     player:AdvanceSkill(44, 399)
  135.     player:AdvanceSkill(45, 399)
  136.     player:AdvanceSkill(46, 399)
  137.     player:AdvanceSkill(54, 399)
  138.     player:AdvanceSkill(55, 399)
  139.     player:AdvanceSkill(95, 399)
  140.     player:AdvanceSkill(136, 399)
  141.     player:AdvanceSkill(160, 399)
  142.     player:AdvanceSkill(162, 399)
  143.     player:AdvanceSkill(172, 399)
  144.     player:AdvanceSkill(173, 399)
  145.     player:AdvanceSkill(176, 399)
  146.     player:AdvanceSkill(226, 399)
  147.     player:AdvanceSkill(228, 399)
  148.     player:AdvanceSkill(229, 399)
  149.     player:AdvanceSkill(473, 399)  
  150.     player:AdvanceSkill(164, 449)
  151.     player:AdvanceSkill(165, 449)
  152.     player:AdvanceSkill(171, 449)
  153.     player:AdvanceSkill(182, 449)
  154.     player:AdvanceSkill(186, 449)
  155.     player:AdvanceSkill(197, 449)
  156.     player:AdvanceSkill(202, 449)
  157.     player:AdvanceSkill(333, 449)
  158.     player:AdvanceSkill(393, 449)
  159.     player:AdvanceSkill(755, 449)
  160.     player:AdvanceSkill(773, 449)
  161.     player:AdvanceSkill(129, 449)
  162.     player:AdvanceSkill(185, 449)
  163.     player:AdvanceSkill(356, 449)
  164.     player:SendBroadcastMessage("You have maxed out all skills!")
  165. item:GossipComplete(player)
  166. end
  167.  
  168. if(intid == 70000) then
  169.     if (player:HasAura(15007) == true) then
  170.         player:SendBroadcastMessage("Resurrection Sickness Removed.")
  171.         player:RemoveAura(15007)
  172. item:GossipComplete(player)
  173.     else
  174.         player:SendBroadcastMessage("You don't have resurrection sickness.")
  175. item:GossipComplete(player)
  176.     end
  177. end
  178. if(intid == 12348) then
  179. item:GossipCreateMenu(99, player, 0)
  180. item:GossipMenuAddItem(0, "Main Menu", 999, 0)
  181. item:GossipMenuAddItem(2, "|cff005D5DAre you sure want to reset?", 12348, 0)
  182. item:GossipMenuAddItem(4, "|cff005D5DClick to reset", 12348, 0)
  183. item:GossipSendMenu(player)
  184. end
  185.  
  186. if(intid == 12348) then
  187. player:SendAreaTriggerMessage("Talents Succesfully reseted.")
  188. player:SendBroadcastMessage("Talents Succesfully reseted.")
  189. player:PlaySoundToPlayer(120)
  190. player:ResetAllTalents()
  191. item:GossipComplete(player)
  192. end
  193.  
  194. if(intid == 5010) then
  195. item:GossipCreateMenu(99, player, 0)
  196. item:GossipMenuAddItem(0, "Back", 999, 0)
  197. item:GossipMenuAddItem(4, "|cff06FF40Teleport|cff000000", 5011, 0)
  198. item:GossipSendMenu(player)
  199. end
  200.  
  201. if(intid == 1) then
  202. item:GossipCreateMenu(99, player, 0)
  203. item:GossipMenuAddItem(0, "Back", 999, 0)
  204. item:GossipMenuAddItem(4, "|cff005D5DTeleport", 30000, 0)
  205. item:GossipSendMenu(player)
  206. end
  207.  
  208. if(intid == 2031) then
  209. item:GossipCreateMenu(99, player, 0)
  210. item:GossipMenuAddItem(0, "Back", 999, 0)
  211. item:GossipMenuAddItem(4, "|cff005D5DTeleport", 3003, 0)
  212. item:GossipSendMenu(player)
  213. end
  214.  
  215. if(intid == 2032) then
  216. item:GossipCreateMenu(99, player, 0)
  217. item:GossipMenuAddItem(0, "Back", 999, 0)
  218. item:GossipMenuAddItem(4, "|cff005D5DTeleport", 3005, 0)
  219. item:GossipSendMenu(player)
  220. end
  221.  
  222. if(intid == 2033) then
  223. item:GossipCreateMenu(99, player, 0)
  224. item:GossipMenuAddItem(0, "Back", 999, 0)
  225. item:GossipMenuAddItem(4, "|cff005D5DTeleport", 3007, 0)
  226. item:GossipSendMenu(player)
  227. end
  228.  
  229. if(intid == 2002) then
  230. item:GossipCreateMenu(99, player, 0)
  231. item:GossipMenuAddItem(0, "Back", 999, 0)
  232. item:GossipMenuAddItem(4, "|cff005D5DTeleport", 422, 0)
  233. item:GossipSendMenu(player)
  234. end
  235.  
  236. if(intid == 2003) then
  237. item:GossipCreateMenu(99, player, 0)
  238. item:GossipMenuAddItem(0, "Back", 999, 0)
  239. item:GossipMenuAddItem(2, "|cff005D5DSylvanas", 2004, 0)
  240. item:GossipMenuAddItem(2, "|cff005D5DTyrande", 2005, 0)
  241. item:GossipMenuAddItem(2, "|cff005D5DMalfurion", 2006, 0)
  242. item:GossipMenuAddItem(2, "|cff005D5DCupidon", 2007, 0)
  243. item:GossipMenuAddItem(2, "|cff005D5DMedivh", 2011, 0)
  244. item:GossipMenuAddItem(2, "|cff005D5DWizzard", 2008, 0)
  245. item:GossipMenuAddItem(2, "|cff005D5DMummy", 2009, 0)
  246. item:GossipMenuAddItem(2, "|cff005D5DMaiev", 2010, 0)
  247. item:GossipMenuAddItem(2, "|cff005D5DJaina", 2012, 0)
  248. item:GossipMenuAddItem(2, "|cff005D5DMorph-Rexxar", 2013, 0)
  249. item:GossipMenuAddItem(2, "|cff005D5DMorph-Kael'Talas", 2014, 0)
  250. item:GossipMenuAddItem(2, "|cff005D5DDemon", 2015, 0)
  251. item:GossipMenuAddItem(2, "|cff005D5DIlidan", 2016, 0)
  252. item:GossipMenuAddItem(2, "Demorph [Relog to be applyed]", 2222, 0)
  253. item:GossipSendMenu(player)
  254. end
  255.  
  256. if(intid == 2222) then
  257. player:DeMorph()
  258. item:GossipComplete(player)
  259. end
  260.  
  261. if(intid == 2004) then
  262. item:GossipCreateMenu(99, player, 0)
  263. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 2003, 0)
  264. item:GossipMenuAddItem(4, "[|cff06FF40Dress|cff000000]", 4000, 0)
  265. item:GossipSendMenu(player)
  266. end
  267.  
  268. if(intid == 2005) then
  269. item:GossipCreateMenu(99, player, 0)
  270. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 2003, 0)
  271. item:GossipMenuAddItem(4, "[|cff06FF40Dress|cff000000]", 4001, 0)
  272. item:GossipSendMenu(player)
  273. end
  274.  
  275. if(intid == 2006) then
  276. item:GossipCreateMenu(99, player, 0)
  277. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 2003, 0)
  278. item:GossipMenuAddItem(4, "[|cff06FF40Dress|cff000000]", 4002, 0)
  279. item:GossipSendMenu(player)
  280. end
  281.  
  282. if(intid == 2007) then
  283. item:GossipCreateMenu(99, player, 0)
  284. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 2003, 0)
  285. item:GossipMenuAddItem(4, "[|cff06FF40Dress|cff000000]", 4003, 0)
  286. item:GossipSendMenu(player)
  287. end
  288.  
  289. if(intid == 2008) then
  290. item:GossipCreateMenu(99, player, 0)
  291. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 2003, 0)
  292. item:GossipMenuAddItem(4, "[|cff06FF40Dress|cff000000]", 4004, 0)
  293. item:GossipSendMenu(player)
  294. end
  295.  
  296. if(intid == 2009) then
  297. item:GossipCreateMenu(99, player, 0)
  298. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 2003, 0)
  299. item:GossipMenuAddItem(4, "[|cff06FF40Dress|cff000000]", 4005, 0)
  300. item:GossipSendMenu(player)
  301. end
  302.  
  303. if(intid == 2010) then
  304. item:GossipCreateMenu(99, player, 0)
  305. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 2003, 0)
  306. item:GossipMenuAddItem(4, "[|cff06FF40Dress|cff000000]", 4006, 0)
  307. item:GossipSendMenu(player)
  308. end
  309.  
  310. if(intid == 2011) then
  311. item:GossipCreateMenu(99, player, 0)
  312. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 2003, 0)
  313. item:GossipMenuAddItem(4, "[|cff06FF40Dress|cff000000]", 4007, 0)
  314. item:GossipSendMenu(player)
  315. end
  316.  
  317. if(intid == 2012) then
  318. item:GossipCreateMenu(99, player, 0)
  319. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 2003, 0)
  320. item:GossipMenuAddItem(4, "[|cff06FF40Dress|cff000000]", 4008, 0)
  321. item:GossipSendMenu(player)
  322. end
  323.  
  324. if(intid == 2013) then
  325. item:GossipCreateMenu(99, player, 0)
  326. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 2003, 0)
  327. item:GossipMenuAddItem(4, "[|cff06FF40Dress|cff000000]", 4009, 0)
  328. item:GossipSendMenu(player)
  329. end
  330.  
  331. if(intid == 2014) then
  332. item:GossipCreateMenu(99, player, 0)
  333. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 2003, 0)
  334. item:GossipMenuAddItem(4, "[|cff06FF40Dress|cff000000]", 4010, 0)
  335. item:GossipSendMenu(player)
  336. end
  337.  
  338. if(intid == 2015) then
  339. item:GossipCreateMenu(99, player, 0)
  340. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 2003, 0)
  341. item:GossipMenuAddItem(4, "[|cff06FF40Dress|cff000000]", 4011, 0)
  342. item:GossipSendMenu(player)
  343. end
  344.  
  345. if(intid == 2016) then
  346. item:GossipCreateMenu(99, player, 0)
  347. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 2003, 0)
  348. item:GossipMenuAddItem(4, "[|cff06FF40Dress|cff000000]", 4022, 0)
  349. item:GossipSendMenu(player)
  350. end
  351.  
  352. if(intid == 3) then
  353. item:GossipCreateMenu(99, player, 0)
  354. item:GossipMenuAddItem(2, "[Magtheridon's Lair]", 1000, 0)
  355. item:GossipMenuAddItem(2, "[Tempest Keep]", 1001, 0)
  356. item:GossipMenuAddItem(2, "[The Black Temple]", 1002, 0)
  357. item:GossipMenuAddItem(2, "[Gruul's Lair]", 1003, 0)
  358. item:GossipMenuAddItem(2, "[Zul'Aman]", 1004, 0)
  359. item:GossipMenuAddItem(2, "[Sepentshrine Cavern]", 1005, 0)
  360. item:GossipMenuAddItem(2, "[Blackrock Spire]", 1006, 0)
  361. item:GossipMenuAddItem(2, "[Blackwing Lair]", 1007, 0)
  362. item:GossipMenuAddItem(2, "[Molten Core]", 1008, 0)
  363. item:GossipMenuAddItem(2, "[The Blood Furnace]", 1009, 0)
  364. item:GossipMenuAddItem(2, "[The Botanica]", 1010, 0)
  365. item:GossipMenuAddItem(2, "[The Mechanar]", 1011, 0)
  366. item:GossipMenuAddItem(2, "[The Shattered Halls]", 1012, 0)
  367. item:GossipMenuAddItem(4, "|cff00FD20[Next Page]", 10, 0)
  368. item:GossipMenuAddItem(0, "|cffF61600[Back]", 999, 0)
  369. item:GossipSendMenu(player)
  370. end
  371.  
  372. if(intid == 4) then
  373. item:GossipCreateMenu(99, player, 0)
  374. item:GossipMenuAddItem(2, "[Onyxia's Lair]", 1013, 0)
  375. item:GossipMenuAddItem(2, "[Dire Maul]", 1014, 0)
  376. item:GossipMenuAddItem(2, "[Maraudon]", 1015, 0)
  377. item:GossipMenuAddItem(2, "[Zul'Farrak]", 1016, 0)
  378. item:GossipMenuAddItem(2, "[Zul'Gurub]", 1017, 0)
  379. item:GossipMenuAddItem(2, "[Scarlet Monestary]", 1018, 0)
  380. item:GossipMenuAddItem(2, "[Sunken Temple]", 1019, 0)
  381. item:GossipMenuAddItem(2, "[Uldaman]", 1020, 0)
  382. item:GossipMenuAddItem(2, "[Scholomance]", 1021, 0)
  383. item:GossipMenuAddItem(2, "[Stratholme]", 1022, 0)
  384. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 999, 0)
  385. item:GossipSendMenu(player)
  386. end
  387.  
  388. if(intid == 5) then
  389. item:GossipCreateMenu(99, player, 0)
  390. item:GossipMenuAddItem(2, "[Razorfen Downs]", 1023, 0)
  391. item:GossipMenuAddItem(2, "[Wailing Caverns]", 1024, 0)
  392. item:GossipMenuAddItem(2, "[Deadmines]", 1025, 0)
  393. item:GossipMenuAddItem(2, "[Razorfen Kraul]", 1026, 0)
  394. item:GossipMenuAddItem(2, "[Shadowfang Keep]", 1027, 0)
  395. item:GossipMenuAddItem(2, "[Gnomeregan]", 1028, 0)
  396. item:GossipMenuAddItem(2, "[Ragefire Chasm]", 1029, 0)
  397. item:GossipMenuAddItem(4, "[|cffFF0032Back|cff000000]", 999, 0)
  398. item:GossipSendMenu(player)
  399. end
  400.  
  401. if(intid == 1000) then
  402. item:GossipCreateMenu(99, player, 0)
  403. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 3, 0)
  404. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 421, 0)
  405. item:GossipSendMenu(player)
  406. end
  407.  
  408. if(intid == 1001) then
  409. item:GossipCreateMenu(99, player, 0)
  410. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 3, 0)
  411. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 424, 0)
  412. item:GossipSendMenu(player)
  413. end
  414.  
  415. if(intid == 1002) then
  416. item:GossipCreateMenu(99, player, 0)
  417. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 3, 0)
  418. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 384, 0)
  419. item:GossipSendMenu(player)
  420. end
  421.  
  422. if(intid == 1003) then
  423. item:GossipCreateMenu(99, player, 0)
  424. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 3, 0)
  425. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 386, 0)
  426. item:GossipSendMenu(player)
  427. end
  428.  
  429. if(intid == 1004) then
  430. item:GossipCreateMenu(99, player, 0)
  431. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 3, 0)
  432. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 380, 0)
  433. item:GossipSendMenu(player)
  434. end
  435.  
  436. if(intid == 1005) then
  437. item:GossipCreateMenu(99, player, 0)
  438. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 3, 0)
  439. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 422, 0)
  440. item:GossipSendMenu(player)
  441. end
  442.  
  443. if(intid == 1006) then
  444. item:GossipCreateMenu(99, player, 0)
  445. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 3, 0)
  446. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 361, 0)
  447. item:GossipSendMenu(player)
  448. end
  449.  
  450. if(intid == 1007) then
  451. item:GossipCreateMenu(99, player, 0)
  452. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 3, 0)
  453. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 362, 0)
  454. item:GossipSendMenu(player)
  455. end
  456.  
  457. if(intid == 1008) then
  458. item:GossipCreateMenu(99, player, 0)
  459. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 3, 0)
  460. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 368, 0)
  461. item:GossipSendMenu(player)
  462. end
  463.  
  464. if(intid == 1009) then
  465. item:GossipCreateMenu(99, player, 0)
  466. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 3, 0)
  467. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 423, 0)
  468. item:GossipSendMenu(player)
  469. end
  470.  
  471. if(intid == 1010) then
  472. item:GossipCreateMenu(99, player, 0)
  473. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 3, 0)
  474. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 392, 0)
  475. item:GossipSendMenu(player)
  476. end
  477.  
  478. if(intid == 1011) then
  479. item:GossipCreateMenu(99, player, 0)
  480. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 3, 0)
  481. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 393, 0)
  482. item:GossipSendMenu(player)
  483. end
  484.  
  485. if(intid == 1012) then
  486. item:GossipCreateMenu(99, player, 0)
  487. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 3, 0)
  488. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 425, 0)
  489. item:GossipSendMenu(player)
  490. end
  491.  
  492. if(intid == 1013) then
  493. item:GossipCreateMenu(99, player, 0)
  494. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 4, 0)
  495. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 369, 0)
  496. item:GossipSendMenu(player)
  497. end
  498.  
  499. if(intid == 1014) then
  500. item:GossipCreateMenu(99, player, 0)
  501. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 4, 0)
  502. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 365, 0)
  503. item:GossipSendMenu(player)
  504. end
  505.  
  506. if(intid == 1015) then
  507. item:GossipCreateMenu(99, player, 0)
  508. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 4, 0)
  509. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 367, 0)
  510. item:GossipSendMenu(player)
  511. end
  512.  
  513. if(intid == 1016) then
  514. item:GossipCreateMenu(99, player, 0)
  515. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 4, 0)
  516. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 381, 0)
  517. item:GossipSendMenu(player)
  518. end
  519.  
  520. if(intid == 1017) then
  521. item:GossipCreateMenu(99, player, 0)
  522. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 4, 0)
  523. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 382, 0)
  524. item:GossipSendMenu(player)
  525. end
  526.  
  527. if(intid == 1018) then
  528. item:GossipCreateMenu(99, player, 0)
  529. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 4, 0)
  530. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 373, 0)
  531. item:GossipSendMenu(player)
  532. end
  533.  
  534. if(intid == 1019) then
  535. item:GossipCreateMenu(99, player, 0)
  536. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 4, 0)
  537. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 377, 0)
  538. item:GossipSendMenu(player)
  539. end
  540.  
  541. if(intid == 1020) then
  542. item:GossipCreateMenu(99, player, 0)
  543. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 4, 0)
  544. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 378, 0)
  545. item:GossipSendMenu(player)
  546. end
  547.  
  548. if(intid == 1021) then
  549. item:GossipCreateMenu(99, player, 0)
  550. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 4, 0)
  551. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 374, 0)
  552. item:GossipSendMenu(player)
  553. end
  554.  
  555. if(intid == 1022) then
  556. item:GossipCreateMenu(99, player, 0)
  557. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 4, 0)
  558. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 376, 0)
  559. item:GossipSendMenu(player)
  560. end
  561.  
  562.  
  563. if(intid == 1023) then
  564. item:GossipCreateMenu(99, player, 0)
  565. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 5, 0)
  566. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 371, 0)
  567. item:GossipSendMenu(player)
  568. end
  569.  
  570. if(intid == 1024) then
  571. item:GossipCreateMenu(99, player, 0)
  572. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 5, 0)
  573. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 379, 0)
  574. item:GossipSendMenu(player)
  575. end
  576.  
  577. if(intid == 1025) then
  578. item:GossipCreateMenu(99, player, 0)
  579. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 5, 0)
  580. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 364, 0)
  581. item:GossipSendMenu(player)
  582. end
  583.  
  584. if(intid == 1026) then
  585. item:GossipCreateMenu(99, player, 0)
  586. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 5, 0)
  587. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 372, 0)
  588. item:GossipSendMenu(player)
  589. end
  590.  
  591. if(intid == 1027) then
  592. item:GossipCreateMenu(99, player, 0)
  593. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 5, 0)
  594. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 375, 0)
  595. item:GossipSendMenu(player)
  596. end
  597.  
  598. if(intid == 1028) then
  599. item:GossipCreateMenu(99, player, 0)
  600. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 5, 0)
  601. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 366, 0)
  602. item:GossipSendMenu(player)
  603. end
  604.  
  605. if(intid == 1029) then
  606. item:GossipCreateMenu(99, player, 0)
  607. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 5, 0)
  608. item:GossipMenuAddItem(4, "[|cff06FF40Teleport|cff000000]", 370, 0)
  609. item:GossipSendMenu(player)
  610. end
  611.  
  612. if(intid == 10) then
  613. item:GossipCreateMenu(99, player, 0)
  614. item:GossipMenuAddItem(2, "[The Slave Pens]", 1013, 0)
  615. item:GossipMenuAddItem(2, "[The Underbog]", 1014, 0)
  616. item:GossipMenuAddItem(2, "[Old Hillsbrad]", 1015, 0)
  617. item:GossipMenuAddItem(0, "|cffF61600[Back]", 3, 0)
  618. item:GossipSendMenu(player)
  619. end
  620.  
  621. if(intid == 1013) then
  622. item:GossipCreateMenu(99, player, 0)
  623. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 10, 0)
  624. item:GossipMenuAddItem(0, "[|cff06FF40Teleport|cff000000]", 426, 0)
  625. item:GossipSendMenu(player)
  626. end
  627.  
  628. if(intid == 1014) then
  629. item:GossipCreateMenu(99, player, 0)
  630. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 10, 0)
  631. item:GossipMenuAddItem(0, "[|cff06FF40Teleport|cff000000]", 428, 0)
  632. item:GossipSendMenu(player)
  633. end
  634.  
  635. if(intid == 1015) then
  636. item:GossipCreateMenu(99, player, 0)
  637. item:GossipMenuAddItem(0, "[|cffFF0032Back|cff000000]", 10, 0)
  638. item:GossipMenuAddItem(0, "[|cff06FF40Teleport|cff000000]", 363, 0)
  639. item:GossipSendMenu(player)
  640. end
  641.  
  642. if(intid == 998) then
  643. if(player:HasAura(15007) == true) then
  644. player:RemoveAura(15007)
  645. player:SendBroadcastMessage("|cff1DFF00Sicknes aura succesful removed.")
  646. else
  647. player:SendBroadcastMessage("|cffFF0032Sicknes aura not found on you.")
  648. player:GossipComplete(player)
  649. end
  650. end
  651.  
  652. if(intid == 4000) then
  653. player:SetModel(11657)
  654. player:SendBroadcastMessage("|cff00FF1DMorph succesfuly in |cffFFFFFF[Sylvanas]")
  655. player:GossipComplete(player)
  656. end
  657. if(intid == 4001) then
  658. player:SetModel(7274)
  659. player:SendBroadcastMessage("|cff00FF1DMorph succesfuly in |cffFFFFFF[Tyrande]")
  660. player:GossipComplete(player)
  661. end
  662. if(intid == 4002) then
  663. player:SetModel(15399)
  664. player:SendBroadcastMessage("|cff00FF1DMorph succesfuly in |cffFFFFFF[Malfurion]")
  665. player:GossipComplete(player)
  666. end
  667. if(intid == 4003) then
  668. player:SetModel(15990)
  669. player:SendBroadcastMessage("|cff00FF1DMorph succesfuly in |cffFFFFFF[Cupidon]")
  670. player:GossipComplete(player)
  671. end
  672. if(intid == 4004) then
  673. player:SetModel(22837)
  674. player:SendBroadcastMessage("|cff00FF1DMorph succesfuly in |cffFFFFFF[Wizzard]")
  675. player:GossipComplete(player)
  676. end
  677. if(intid == 4005) then
  678. player:SetModel(20557)
  679. player:SendBroadcastMessage("|cff00FF1DMorph succesfuly in |cffFFFFFF[Mummy]")
  680. player:GossipComplete(player)
  681. end
  682. if(intid == 4006) then
  683. player:SetModel(20628)
  684. player:SendBroadcastMessage("|cff00FF1DMorph succesfuly in |cffFFFFFF[Maiev]")
  685. player:GossipComplete(player)
  686. end
  687. if(intid == 4007) then
  688. player:SetModel(18718)
  689. player:SendBroadcastMessage("|cff00FF1DMorph succesfuly in |cffFFFFFF[Medivh]")
  690. player:GossipComplete(player)
  691. end
  692. if(intid == 4008) then
  693. player:SetModel(17369)
  694. player:SendBroadcastMessage("|cff00FF1DMorph succesfuly in |cffFFFFFF[Jaina]")
  695. player:GossipComplete(player)
  696. end
  697. if(intid == 4009) then
  698. player:SetModel(20918)
  699. player:SendBroadcastMessage("|cff00FF1DMorph succesfuly in |cffFFFFFF[Rexxar]")
  700. player:GossipComplete(player)
  701. end
  702. if(intid == 4010) then
  703. player:SetModel(20023)
  704. player:SendBroadcastMessage("|cff00FF1DMorph succesfuly in |cffFFFFFF[Kael'Thas]")
  705. player:GossipComplete(player)
  706. end
  707. if(intid == 4011) then
  708. player:SetModel(21134)
  709. player:SendBroadcastMessage("|cff00FF1DMorph succesfuly in |cffFFFFFF[Demon-Form]")
  710. player:GossipComplete(player)
  711. end
  712.  
  713. if(intid == 4022) then
  714. player:SetModel(21135)
  715. player:SendBroadcastMessage("|cff00FF1DMorph succesfuly in |cffFFFFFF[Demon-Form]")
  716. player:GossipComplete(player)
  717. end
  718.  
  719. if(intid == 301) then --Ironforge
  720. player:Teleport(0, -4981, -881, 502)
  721. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Ironforge]")
  722. player:GossipComplete(player)
  723. end
  724.  
  725. if(intid == 302) then --Darnassus
  726. player:Teleport(1, 9978, 2033, 1328.5)
  727. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Darnassus]")
  728. player:GossipComplete(player)
  729. end
  730.  
  731. if(intid == 303) then --Exodar
  732. player:Teleport(530, -4014, -11895, -1.5)
  733. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [The Exodar]")
  734. player:GossipComplete(player)
  735. end
  736.  
  737. if(intid == 304) then --Orgrimmar
  738. player:Teleport(1, 1502, -4415, 22)
  739. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Orgrimmar]")
  740. player:GossipComplete(player)
  741. end
  742.  
  743. if(intid == 305) then --Thunder Bluff
  744. player:Teleport(1, -1283, 158, 130)
  745. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Thunder Bluff]")
  746. player:GossipComplete(player)
  747. end
  748.  
  749. if(intid == 306) then --Undercity
  750. player:Teleport(0, 1752, 239, 61.5)
  751. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Undercity]")
  752. player:GossipComplete(player)
  753. end
  754.  
  755. if(intid == 307) then --Silvermoon
  756. player:Teleport(530, 9392, -7277, 14.5)
  757. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Silvermoon]")
  758. player:GossipComplete(player)
  759. end
  760.  
  761. if(intid == 358) then --Ahn'Qiraj
  762. player:Teleport(1, -8187, 1539, 5)
  763. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Ahn' Qiraj]")
  764. player:GossipComplete(player)
  765. end
  766.  
  767. if(intid == 359) then --Blackfathom Depths
  768. player:Teleport(1, 4248, 736, -26)
  769. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Blackfathom Depths]")
  770. player:GossipComplete(player)
  771. end
  772.  
  773. if(intid == 360) then --Blackrock Depths
  774. player:Teleport(0, -7187, -914, 166)
  775. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Blackrock Depths]")
  776. player:GossipComplete(player)
  777. end
  778.  
  779. if(intid == 361) then --Blackrock Spire
  780. player:Teleport(0, -7532, -1221, 286)
  781. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Blackrock Spire]")
  782. player:GossipComplete(player)
  783. end
  784.  
  785. if(intid == 362) then --Blackwing Lair
  786. player:Teleport(229, 169.104797, -474.395721, 116.8399)
  787. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Blackwing Lair]")
  788. player:GossipComplete(player)
  789. end
  790.  
  791. if(intid == 363) then --Caverns of Time
  792. player:Teleport(560, 2741.870, 1315.250, 14.0423)
  793. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Caverns of Time]")
  794. player:GossipComplete(player)
  795. end
  796.  
  797. if(intid == 364) then --Deadmines
  798. player:Teleport(36, -13.832900, -377.309998, 60.692)
  799. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Deadmines]")
  800. player:GossipComplete(player)
  801. end
  802.  
  803. if(intid == 365) then --Dire Maul
  804. player:Teleport(429, 255.248993, -16.056101, -2.587370)
  805. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Dire Maul]")
  806. player:GossipComplete(player)
  807. end
  808.  
  809. if(intid == 366) then --Gnomeregan
  810. player:Teleport(90, -327.204987, -3.632560,-152.847)
  811. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Gnomeregan]")
  812. player:GossipComplete(player)
  813. end
  814.  
  815. if(intid == 367) then --Maraudon
  816. player:Teleport(1, -1458, 2606, 76)
  817. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Maraudon]")
  818. player:GossipComplete(player)
  819. end
  820.  
  821. if(intid == 368) then --Molten Core
  822. player:Teleport(230, 1122.154785, -455, -101)
  823. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Molten Core]")
  824. player:GossipComplete(player)
  825. end
  826.  
  827. if(intid == 369) then --Onyxia's Lair
  828. player:Teleport(1, -4709, -3729, 55)
  829. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Onyxia's Lair]")
  830. player:GossipComplete(player)
  831. end
  832.  
  833. if(intid == 370) then --Ragefire Chasm
  834. player:Teleport(1, 1805, -4404, -18)
  835. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Ragefire Chasm]")
  836. player:GossipComplete(player)
  837. end
  838.  
  839. if(intid == 371) then --Razorfen Downs
  840. player:Teleport(1, -4661, -2511, 81)
  841. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Razorfen Downs]")
  842. player:GossipComplete(player)
  843. end
  844.  
  845. if(intid == 372) then --Razorfen Kraul
  846. player:Teleport(1, -4473, -1690, 82)
  847. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Razorfen Kraul]")
  848. player:GossipComplete(player)
  849. end
  850.  
  851. if(intid == 373) then --Scarlet Monestary
  852. player:Teleport(189, 253.990005, -206.419998, 18.67000)
  853. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Scarlet Monestary]")
  854. player:GossipComplete(player)
  855. end
  856.  
  857. if(intid == 374) then --Scholomance
  858. player:Teleport(2889, 189.524002, 126.691002, 137.960007)
  859. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Scholomance]")
  860. player:GossipComplete(player)
  861. end
  862.  
  863. if(intid == 375) then --Shadowfang Keep
  864. player:Teleport(33, -228.867996, 2110.090088, 76.88)
  865. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Shadowfang Keep]")
  866. player:GossipComplete(player)
  867. end
  868.  
  869. if(intid == 376) then --Stratholme
  870. player:Teleport(329, 3590.780029, -3641.850098, 138.485)
  871. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Stratholme]")
  872. player:GossipComplete(player)
  873. end
  874.  
  875. if(intid == 377) then --Sunken Temple
  876. player:Teleport(109, -314.229004, 99.879997, 131.848)
  877. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Suken Temple]")
  878. player:GossipComplete(player)
  879. end
  880.  
  881. if(intid == 378) then --Uldaman
  882. player:Teleport(70, -228.192993, 46.160198, -46.01861)
  883. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Uldaman]")
  884. player:GossipComplete(player)
  885. end
  886.  
  887. if(intid == 30000) then --Dark Portal mall
  888. player:Teleport(530, -248.376007, 912.854004, 84.379700)
  889. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Dark Portal Mall]")
  890. player:GossipComplete(player)
  891. end
  892.  
  893. if(intid == 379) then --Wailing Caverns
  894. player:Teleport(1, -737, -2219, 17)
  895. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Wailing Caverns]")
  896. player:GossipComplete(player)
  897. end
  898.  
  899. if(intid == 380) then --Zul'Aman
  900. player:Teleport(530, 6851.273926, -7989.985840, 189.786285)
  901. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Zul'Aman]")
  902. player:GossipComplete(player)
  903. end
  904.  
  905. if(intid == 381) then --Zul'Farrak
  906. player:Teleport(1, -6821, -2890, 9)
  907. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Zul'Farrak]")
  908. player:GossipComplete(player)
  909. end
  910.  
  911. if(intid == 382) then --Zul'Gurub
  912. player:Teleport(309, -11942.599609, -1544.280029, 39.59)
  913. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Zul'Gurub]")
  914. player:GossipComplete(player)
  915. end
  916.  
  917. if(intid == 383) then --Auchenai Crypts
  918. player:Teleport(530, -3367, 5216, -101)
  919. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Auchenai Crypts]")
  920. player:GossipComplete(player)
  921. end
  922.  
  923. if(intid == 384) then --Black Temple
  924. player:Teleport(530, -3614, 310, 40)
  925. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [The Black Temple]")
  926. player:GossipComplete(player)
  927. end
  928.  
  929. if(intid == 385) then --Coilfang Reservoir
  930. player:Teleport(530, 792, 6863, -64)
  931. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Coilfang Reservoir]")
  932. player:GossipComplete(player)
  933. end
  934.  
  935. if(intid == 386) then --Gruul's Lair
  936. player:Teleport(530, 3529, 5096, 3)
  937. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Gruul's Lair]")
  938. player:GossipComplete(player)
  939. end
  940.  
  941. if(intid == 387) then --Hellfire Ramparts
  942. player:Teleport(530, -360, 3071, -16)
  943. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Hellfire Ramparts]")
  944. player:GossipComplete(player)
  945. end
  946.  
  947. if(intid == 388) then --Mana Tombs
  948. player:Teleport(530, -3100, 4950, -100)
  949. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Mana Tombs]")
  950. player:GossipComplete(player)
  951. end
  952.  
  953. if(intid == 389) then --Pheonix Hall
  954. player:Teleport(530, 3084, 1385, 185)
  955. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Phoenix Hall]")
  956. player:GossipComplete(player)
  957. end
  958.  
  959. if(intid == 390) then --Sethekk Halls
  960. player:Teleport(530, -3364, 4675, -101)
  961. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Sethekk Halls]")
  962. player:GossipComplete(player)
  963. end
  964.  
  965. if(intid == 391) then --Shadow Labyrinth
  966. player:Teleport(530, -3630, 4941, -101)
  967. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Shadow Labyrinth]")
  968. player:GossipComplete(player)
  969. end
  970.  
  971. if(intid == 392) then --The Botanica
  972. player:Teleport(530, 3404, 1488, 183)
  973. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [The Botanica]")
  974. player:GossipComplete(player)
  975. end
  976.  
  977. if(intid == 393) then --The Mechanar
  978. player:Teleport(530, 2870, 1557, 252)
  979. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [The Mechanar]")
  980. player:GossipComplete(player)
  981. end
  982.  
  983. if(intid == 395) then --Dragonblight
  984. player:Teleport(571, 3118, 107, 72)
  985. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Dragonblight]")
  986. player:GossipComplete(player)
  987. end
  988.  
  989. if(intid == 396) then --Grizzly Hills
  990. player:Teleport(571, 3681, -3472, 243)
  991. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Grizzly Hills]")
  992. player:GossipComplete(player)
  993. end
  994.  
  995. if(intid == 397) then --Howling Fjord
  996. player:Teleport(571, 1267, -4062, 143)
  997. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Howling Fjord]")
  998. player:GossipComplete(player)
  999. end
  1000.  
  1001. if(intid == 399) then --Sholazar Basin
  1002. player:Teleport(571, 5501, 4879, -198)
  1003. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Sholazar Basin]")
  1004. player:GossipComplete(player)
  1005. end
  1006.  
  1007. if(intid == 400) then --Storm Peaks
  1008. player:Teleport(571, 7514, -1037, 467)
  1009. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Storm Peaks]")
  1010. player:GossipComplete(player)
  1011. end
  1012.  
  1013. if(intid == 401) then --Wintergrasp
  1014. player:Teleport(571, 4611, 2848, 3397)
  1015. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Wintegrasp]")
  1016. player:GossipComplete(player)
  1017. end
  1018.  
  1019. if(intid == 402) then --Zul'Drak
  1020. player:Teleport(571, 5441, -2304, 298)
  1021. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Zul Drak]")
  1022. player:GossipComplete(player)
  1023. end
  1024.  
  1025. if(intid == 403) then --Dalaran
  1026. player:Teleport(571, 5797, 629, 648)
  1027. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Dalaran]")
  1028. player:GossipComplete(player)
  1029. end
  1030.  
  1031. if(intid == 404) then --Crystalsong Forest
  1032. player:Teleport(571, 5402, 72, 151)
  1033. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Crystalsong Forest]")
  1034. player:GossipComplete(player)
  1035. end
  1036.  
  1037. if(intid == 406) then --Azjol'Nerub
  1038. player:Teleport(571, 3721, 2155, 37)
  1039. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Azjol'Nerub]")
  1040. player:GossipComplete(player)
  1041. end
  1042.  
  1043. if(intid == 407) then --Drak'Tharon
  1044. player:Teleport(571, 4897, 2046, 249)
  1045. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Drak' Tharon]")
  1046. player:GossipComplete(player)
  1047. end
  1048.  
  1049. if(intid == 408) then --Gun'Drak
  1050. player:Teleport(571, 6925, 4447, 451)
  1051. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Gun'Drak]")
  1052. player:GossipComplete(player)
  1053. end
  1054.  
  1055. if(intid == 410) then --Naxxaramas
  1056. player:Teleport(571, 3668, -1049, 131)
  1057. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Naxxramas]")
  1058. player:GossipComplete(player)
  1059. end
  1060.  
  1061. if(intid == 411) then --Obsidian Sanctum
  1062. player:Teleport(571, 3561, 275, -115)
  1063. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Obsidian Sanctum]")
  1064. player:GossipComplete(player)
  1065. end
  1066.  
  1067. if(intid == 412) then --The Nexus/Occulus/Eye of Eternity
  1068. player:Teleport(571, 3783, 6942, 105)
  1069. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Eye of Eternity]")
  1070. player:GossipComplete(player)
  1071. end
  1072.  
  1073. if(intid == 413) then --Halls of Stone/Halls of Lightning
  1074. player:Teleport(571, 8937, 1266, 1026)
  1075. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Halls of Lightning]")
  1076. player:GossipComplete(player)
  1077. end
  1078.  
  1079. if(intid == 414) then --Utgarde Keep
  1080. player:Teleport(571, 1228, -4943, 36)
  1081. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Utgarde Keep]")
  1082. player:GossipComplete(player)
  1083. end
  1084.  
  1085. if(intid == 415) then --Utgarde Pinnacle
  1086. player:Teleport(571, 1274, -4857, 216)
  1087. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Utgarde Pinnacle]")
  1088. player:GossipComplete(player)
  1089. end
  1090.  
  1091. if(intid == 416) then --Vault of Archevon
  1092. player:Teleport(571, 5440, 2840, 421)
  1093. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Vault of Archevon]")
  1094. player:GossipComplete(player)
  1095. end
  1096.  
  1097. if(intid == 417) then --Violet Hold
  1098. player:Teleport(571, 5708, 521, 650)
  1099. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Violet Hold]")
  1100. player:GossipComplete(player)
  1101. end
  1102.  
  1103. if(intid == 421) then --Magtheridon's Lair
  1104. player:Teleport(530, -313, 3088, -116)
  1105. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Magtheridon's Lair]")
  1106. player:GossipComplete(player)
  1107. end
  1108.  
  1109. if(intid == 422) then --Serpentshrine Cavern
  1110. player:Teleport(530, 830, 6865, -63)
  1111. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Serpentshrine Cavern]")
  1112. player:GossipComplete(player)
  1113. end
  1114.  
  1115. if(intid == 423) then --The Blood Furnace
  1116. player:Teleport(530, -303, 3164, 32)
  1117. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [The Blood Furnace]")
  1118. player:GossipComplete(player)
  1119. end
  1120.  
  1121. if(intid == 424) then --The Eye
  1122. player:Teleport(530, 3087, 1373, 185)
  1123. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Tempest Keep]")
  1124. player:GossipComplete(player)
  1125. end
  1126.  
  1127. if(intid == 425) then --The Shattered Halls
  1128. player:Teleport(530, -311, 3083, -3)
  1129. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [The Shattered Halls]")
  1130. player:GossipComplete(player)
  1131. end
  1132.  
  1133. if(intid == 426) then --The Slave Pens
  1134. player:Teleport(530, 719, 6999, -73)
  1135. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [The Slave Pens]")
  1136. player:GossipComplete(player)
  1137. end
  1138.  
  1139. if(intid == 427) then --The Steamvault
  1140. player:Teleport(530, 816, 6934, -80)
  1141. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [The Steamvault]")
  1142. player:GossipComplete(player)
  1143. end
  1144.  
  1145. if(intid == 428) then --The Underbog
  1146. player:Teleport(530, 777, 6763, -72)
  1147. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [The Underbog]")
  1148. player:GossipComplete(player)
  1149. end
  1150.  
  1151. if(intid == 3000) then --Dark Portal Guardian
  1152. player:Teleport(530, -249.135300, 1116.489136, 41.676)
  1153. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Dark Portal]")
  1154. player:GossipComplete(player)
  1155. end
  1156.  
  1157. if(intid == 3001) then --Black Moras
  1158. player:Teleport(269, -2025.3000, 7119.580078, 22.747101)
  1159. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Black Moras]")
  1160. player:GossipComplete(player)
  1161. end
  1162.  
  1163. if(intid == 3002) then --Hyjal Summyth
  1164. player:Teleport(534, 5456.3720, -2720.884277, 1484.883667)
  1165. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Hyjal Summyth]")
  1166. player:GossipComplete(player)
  1167. end
  1168.  
  1169. if(intid == 3003) then --Warsong gulch alliance
  1170. player:Teleport(489, 1520.934326, 1479.2397, 354.478)
  1171. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Warsong Gulch]")
  1172. player:GossipComplete(player)
  1173. end
  1174.  
  1175. if(intid == 3004) then --Warsong gulch horde
  1176. player:Teleport(489, 933.3390, 1437.036011, 345.535828)
  1177. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Warsong Gulch]")
  1178. player:GossipComplete(player)
  1179. end
  1180.  
  1181. if(intid == 3005) then --Arathi Basin alliance
  1182. player:Teleport(529, 1300.130005, 1298.223633, 10.095376)
  1183. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Arathi Basin]")
  1184. player:GossipComplete(player)
  1185. end
  1186.  
  1187. if(intid == 3006) then --Arathi Basin horde
  1188. player:Teleport(529, 693.894287, 692.486328, 12.914830)
  1189. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Arathi Basin]")
  1190. player:GossipComplete(player)
  1191. end
  1192.  
  1193. if(intid == 3007) then --Eye of the Storm alliance
  1194. player:Teleport(566, 2511.680176, 1598.017090, 1265.617676)
  1195. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Eye if the Storm]")
  1196. player:GossipComplete(player)
  1197. end
  1198.  
  1199. if(intid == 3008) then --Eye of the Storm horde
  1200. player:Teleport(566, 1825.729004, 1540.904907, 1263.714233)
  1201. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Eye if the Storm]")
  1202. player:GossipComplete(player)
  1203. end
  1204.  
  1205. if(intid == 88888) then --Arathi Basin (A)
  1206. player:Teleport(529, 1313.593140, 1310.500488, -9.010125)
  1207. player:SendBroadcastMessage("|cff00FF1DWelcome To [Arathi highland]")
  1208. player:GossipComplete(player)
  1209. end
  1210.  
  1211. if(intid == 99999) then --Arathi Basin (H)
  1212. player:Teleport(529, 684.840210, 681.999939, -12.915400)
  1213. player:SendBroadcastMessage("|cff00FF1DWelcome To [Arathi highland]")
  1214. player:GossipComplete(player)
  1215. end
  1216.  
  1217. if(intid == 5011) then --Durnhold Keep
  1218. player:Teleport(560, 1993.184937, 288.281372, 66.41286)
  1219. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Oldhillisbard| Durnhold]")
  1220. player:GossipComplete(player)
  1221. end
  1222.  
  1223. if(intid == 5001) then
  1224. item:GossipCreateMenu(3544, player, 0)
  1225. player:AddItem(50153, 1)
  1226. item:GossipMenuAddItem(0, "Back", 999, 0)
  1227. item:GossipSendMenu(player)
  1228. end
  1229. if(intid == 5004) then
  1230. item:GossipCreateMenu(3544, player, 0)
  1231. player:AddItem(50155, 1)
  1232. item:GossipMenuAddItem(0, "Back", 999, 0)
  1233. item:GossipSendMenu(player)
  1234. end
  1235.  
  1236. if(intid == 5003) then
  1237. item:GossipCreateMenu(3544, player, 0)
  1238. player:PlaySoundToSet(11803)
  1239. item:GossipMenuAddItem(0, "Back", 999, 0)
  1240. item:GossipSendMenu(player)
  1241. end
  1242.  
  1243. if(intid == 5123) then
  1244. player:SendBroadcastMessage("Teleporting, please wait.....")
  1245. item:GossipCreateMenu(3544, player, 0)
  1246. player:FullCastSpell(8690)
  1247. item:GossipComplete(player)
  1248. end
  1249. if(intid == 450000) then --Utgarde Keep
  1250. player:Teleport(574, 155.936996, -90.193604, 12.551700)
  1251. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Utgarde Keep]")
  1252. player:GossipComplete(player)
  1253. end
  1254. if(intid == 450001) then --The Nexus
  1255. player:Teleport(571, 3900.379883, 6985.549805, 69.488503)
  1256. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [The Nexus]")
  1257. player:GossipComplete(player)
  1258. end
  1259. if(intid == 450002) then --Azjol-Nerub
  1260. player:Teleport(571, 3714.090088, 2148.780029, 52.670399)
  1261. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Azjol-Nerub]")
  1262. player:GossipComplete(player)
  1263. end
  1264. if(intid == 450003) then --The Old Kingdom
  1265. player:Teleport(619, 341.458008, -1103.979980, 62.035198)
  1266. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [The Old Kingdom]")
  1267. player:GossipComplete(player)
  1268. end
  1269. if(intid == 450004) then --Gundrak
  1270. player:Teleport(571, 6898.990234, -4585.529785, 450.988007)
  1271. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Gundrak]")
  1272. player:GossipComplete(player)
  1273. end
  1274. if(intid == 450005) then --Drak’Tharon Keep
  1275. player:Teleport(571, 4765.634277, -2045.121338, 229.405930)
  1276. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Drak’Tharon Keep]")
  1277. player:GossipComplete(player)
  1278. end
  1279. if(intid == 450006) then --Halls of Stone
  1280. player:Teleport(571, 8921.780273, -968.112976, 1039.180054)
  1281. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Halls of Stone]")
  1282. player:GossipComplete(player)
  1283. end
  1284. if(intid == 450007) then --Halls of Lighting
  1285. player:Teleport(602, 1331.469971, 259.618988, 53.397999)
  1286. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Halls of Lighting]")
  1287. player:GossipComplete(player)
  1288. end
  1289. if(intid == 450008) then --The Oculus
  1290. player:Teleport(571, 3881.3000049, 7004.830078, 104.459000)
  1291. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [The Oculus]")
  1292. player:GossipComplete(player)
  1293. end
  1294. if(intid == 450009) then --Ulduar
  1295. player:Teleport(571, 9269.141602, -1111.236206, 1216.116211)
  1296. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Ulduar]")
  1297. player:GossipComplete(player)
  1298. end
  1299. if(intid == 450010) then --IceCrown Citadel
  1300. player:Teleport(571, 5808.168457, 2079.477783, 636.063721)
  1301. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [IceCrown Citadel]")
  1302. player:GossipComplete(player)
  1303. end
  1304. if(intid == 450011) then --Vault of Archavon
  1305. player:Teleport(571, 5485.339844, 2840.310059, 419.966003)
  1306. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Vault of Archavon]")
  1307. player:GossipComplete(player)
  1308. end
  1309. if(intid == 29300) then --Ally mall
  1310. player:Teleport(1, -1663.581787, 3144.260498, 23.576126)
  1311. player:SendBroadcastMessage("|cff00FF1DWelcome To Alliance Mall.")
  1312. player:GossipComplete(player)
  1313. end
  1314. if(intid == 29301) then --Horde mall
  1315. player:Teleport(1, 7367.120117, -1560.051270, 163.557556)
  1316. player:SendBroadcastMessage("|cff00FF1DWelcome To Horde Mall.")
  1317. player:GossipComplete(player)
  1318. end
  1319. if(intid == 90000) then --Bosses fight
  1320. player:Teleport(1, 7623.062988, -3020.968262, 480.863647)
  1321. player:SendBroadcastMessage("|cff00FF1DWelcome To Bosses Place.")
  1322. player:GossipComplete(player)
  1323. end
  1324. if(intid == 98888) then --Gold place Ally & Horde
  1325. player:Teleport(1, -720.951660, -2628.691406, 96.887062)
  1326. player:SendBroadcastMessage("|cff00FF1DGet Your Gold From Here.")
  1327. player:GossipComplete(player)
  1328. end
  1329. if(intid == 54320) then --arena 5vs5 pvp
  1330.  player:Teleport(560, 1351.119, -245.576, 63.543)
  1331. player:SendBroadcastMessage("|cff00FF1DTeleporting to [Pvp Arena [5vs5]]")
  1332. player:SendBroadcastMessage("|cff00FF1DPlease wait.....")
  1333. player:GossipComplete(player)
  1334. end
  1335. if(intid == 80000) then --Mall Hord
  1336. player:Teleport(560, 2741.870, 1315.250, 14.0423)
  1337. player:SendBroadcastMessage("|cff00FF1DSuccesfuly teleported to [Mall Hord]")
  1338. player:GossipComplete(player)
  1339. end
  1340.  
  1341. end
  1342.  
  1343. RegisterItemGossipEvent(6948,1,"Item_Trigger")
  1344. RegisterItemGossipEvent(6948,2,"OnSelect")
Advertisement
Add Comment
Please, Sign In to add comment