[Request] LUA Teleporter Fix menu

User Tag List

Results 1 to 15 of 15
  1. #1
    Everlast118's Avatar Member
    Reputation
    4
    Join Date
    Sep 2007
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Request] LUA Teleporter Fix

    I have tried 2 different ways to make a teleporter. So I made the SQL file and that works. But however I have also tried to make a teleporter LUA script and it didnt work. The code attached is the EXACT code from the teleporter.
    Any help on this topic would be greatly appreciated.

    Code 1:
    Code:
    function On_Gossip(unit, event, player)
    unit:GossipCreateMenu(3544, player, 0)
    unit:GossipMenuAddItem(2, "Alliance Cities", 1, 0)
    unit:GossipMenuAddItem(2, "Horde Cities", 2, 0)
    unit:GossipMenuAddItem(2, "Eastern Kingdom Locations", 3, 0)
    unit:GossipMenuAddItem(2, "Kalimdor Locations", 4, 0)
    unit:GossipMenuAddItem(2, "Outland Locations", 5, 0)
    unit:GossipMenuAddItem(2, "Azeroth Instances", 6, 0)
    unit:GossipMenuAddItem(2, "Outland Instances", 7, 0)
    unit:GossipMenuAddItem(2, "Gurubashi Arena", 420, 0)
    unit:GossipMenuAddItem(2, "WOTLK Locations", 8, 0)
    unit:GossipMenuAddItem(2, "WOTLK Instances", 9, 0)
    unit:GossipMenuAddItem(2, "Remove Resurrection Sickness", 998, 0)
    unit:GossipSendMenu(player)
    end
    
    function Gossip_Submenus(unit, event, player, id, intid, code)
    
    if(intid == 999) then
    function On_Gossip(unit, event, player)
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(2, "Alliance Cities", 1, 0)
    unit:GossipMenuAddItem(2, "Horde Cities", 2, 0)
    unit:GossipMenuAddItem(2, "Eastern Kingdom Locations", 3, 0)
    unit:GossipMenuAddItem(2, "Kalimdor Locations", 4, 0)
    unit:GossipMenuAddItem(2, "Outland Locations", 5, 0)
    unit:GossipMenuAddItem(2, "Azeroth Instances", 6, 0)
    unit:GossipMenuAddItem(2, "Outland Instances", 7, 0)
    unit:GossipMenuAddItem(2, "Gurubashi Arena", 420, 0)
    unit:GossipMenuAddItem(2, "WOTLK Locations", 8, 0)
    unit:GossipMenuAddItem(2, "WOTLK Instances", 9, 0)
    unit:GossipMenuAddItem(2, "Remove Resurrection Sickness", 10, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 1) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Stormwind", 300, 0)
    unit:GossipMenuAddItem(1, "Ironforge", 301, 0)
    unit:GossipMenuAddItem(1, "Darnassus", 302, 0)
    unit:GossipMenuAddItem(1, "Exodar", 303, 0)
    unit:GossipMenuAddItem(1, "Mall", 418, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 2) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Orgrimmar", 304, 0)
    unit:GossipMenuAddItem(1, "Thunder Bluff", 305, 0)
    unit:GossipMenuAddItem(1, "Undercity", 306, 0)
    unit:GossipMenuAddItem(1, "Silvermoon", 307, 0)
    unit:GossipMenuAddItem(1, "Mall", 419, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 3) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Alterac Mountains", 308, 0)
    unit:GossipMenuAddItem(1, "Arathi Highlands", 309, 0)
    unit:GossipMenuAddItem(1, "Badlands", 310, 0)
    unit:GossipMenuAddItem(1, "Burning Steppes", 311, 0)
    unit:GossipMenuAddItem(1, "Deadwind Pass", 312, 0)
    unit:GossipMenuAddItem(1, "Dun Morogh", 313, 0)
    unit:GossipMenuAddItem(1, "Duskwood", 314, 0)
    unit:GossipMenuAddItem(1, "Eastern Plaguelands", 315, 0)
    unit:GossipMenuAddItem(1, "Elwynn Forest", 316, 0)
    unit:GossipMenuAddItem(1, "Eversong Woods", 317, 0)
    unit:GossipMenuAddItem(1, "Ghostlands", 318, 0)
    unit:GossipMenuAddItem(1, "Hillsbrad Foothills", 319, 0)
    unit:GossipMenuAddItem(1, "Hinterlands", 320, 0)
    unit:GossipMenuAddItem(1, "Loch Modan", 321, 0)
    unit:GossipMenuAddItem(1, "Searing Gorge", 322, 0)
    unit:GossipMenuAddItem(1, "Silverpine Forest", 323, 0)
    unit:GossipMenuAddItem(1, "Stranglethorn vale", 324, 0)
    unit:GossipMenuAddItem(1, "Swamp of Sorrows", 325, 0)
    unit:GossipMenuAddItem(1, "The Blasted Lands", 326, 0)
    unit:GossipMenuAddItem(1, "Trisfal Glades", 327, 0)
    unit:GossipMenuAddItem(1, "Western Plaguelands", 328, 0)
    unit:GossipMenuAddItem(1, "Westfall", 329, 0)
    unit:GossipMenuAddItem(1, "Wetlands", 330, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 4) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Ashenvale", 331, 0)
    unit:GossipMenuAddItem(1, "Azshara", 332, 0)
    unit:GossipMenuAddItem(1, "Azuremyst Isle", 333, 0)
    unit:GossipMenuAddItem(1, "Bloodmyst Isle", 334, 0)
    unit:GossipMenuAddItem(1, "Darkshore", 335, 0)
    unit:GossipMenuAddItem(1, "Durotar", 336, 0)
    unit:GossipMenuAddItem(1, "Desolace", 337, 0)
    unit:GossipMenuAddItem(1, "Dustwallow Marsh", 338, 0)
    unit:GossipMenuAddItem(1, "Felwood", 339, 0)
    unit:GossipMenuAddItem(1, "Feralas", 340, 0)
    unit:GossipMenuAddItem(1, "Moonglade", 341, 0)
    unit:GossipMenuAddItem(1, "Mulgore", 342, 0)
    unit:GossipMenuAddItem(1, "Silithus", 343, 0)
    unit:GossipMenuAddItem(1, "Stonetalon Mountains", 344, 0)
    unit:GossipMenuAddItem(1, "Tanaris", 345, 0)
    unit:GossipMenuAddItem(1, "Teldrassil", 346, 0)
    unit:GossipMenuAddItem(1, "The Barrens", 347, 0)
    unit:GossipMenuAddItem(1, "Thousand Needles", 348, 0)
    unit:GossipMenuAddItem(1, "Un Goro Crater", 349, 0)
    unit:GossipMenuAddItem(1, "Winterspring", 350, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 5) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Blade's Edge Mountains", 351, 0)
    unit:GossipMenuAddItem(1, "Hellfire Peninsula", 352, 0)
    unit:GossipMenuAddItem(1, "Nagrand", 353, 0)
    unit:GossipMenuAddItem(1, "Netherstorm", 354, 0)
    unit:GossipMenuAddItem(1, "Shadowmoon Valley", 355, 0)
    unit:GossipMenuAddItem(1, "Terokkar Forest", 356, 0)
    unit:GossipMenuAddItem(1, "Zangarmarsh", 357, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 6) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Ahn'Qiraj", 358, 0)
    unit:GossipMenuAddItem(1, "Blackfathom Depths", 359, 0)
    unit:GossipMenuAddItem(1, "Blackrock Depths", 360, 0)
    unit:GossipMenuAddItem(1, "Blackrock Spire", 361, 0)
    unit:GossipMenuAddItem(1, "Blackwing Lair", 362, 0)
    unit:GossipMenuAddItem(1, "Caverns of Time", 363, 0)
    unit:GossipMenuAddItem(1, "Deadmines", 364, 0)
    unit:GossipMenuAddItem(1, "Dire Maul", 365, 0)
    unit:GossipMenuAddItem(1, "Gnomeregan", 366, 0)
    unit:GossipMenuAddItem(1, "Maraudon", 367, 0)
    unit:GossipMenuAddItem(1, "Molten Core", 368, 0)
    unit:GossipMenuAddItem(1, "Onyxia's Lair", 369, 0)
    unit:GossipMenuAddItem(1, "Ragefire Chasm", 370, 0)
    unit:GossipMenuAddItem(1, "Razorfen Downs", 371, 0)
    unit:GossipMenuAddItem(1, "Razorfen Kraul", 372, 0)
    unit:GossipMenuAddItem(1, "Scarlet Monestary", 373, 0)
    unit:GossipMenuAddItem(1, "Scholomance", 374, 0)
    unit:GossipMenuAddItem(1, "Shadowfang Keep", 375, 0)
    unit:GossipMenuAddItem(1, "Stratholme", 376, 0)
    unit:GossipMenuAddItem(1, "Sunken Temple", 377, 0)
    unit:GossipMenuAddItem(1, "Uldaman", 378, 0)
    unit:GossipMenuAddItem(1, "Wailing Caverns", 379, 0)
    unit:GossipMenuAddItem(1, "Zul'Aman", 380, 0)
    unit:GossipMenuAddItem(1, "Zul'Farrak", 381, 0)
    unit:GossipMenuAddItem(1, "Zul'Gurub", 382, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 7) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Auchenai Crypts", 383, 0)
    unit:GossipMenuAddItem(1, "Black Temple", 384, 0)
    unit:GossipMenuAddItem(1, "Coilfang Reservoir", 385, 0)
    unit:GossipMenuAddItem(1, "Gruul's Lair", 386, 0)
    unit:GossipMenuAddItem(1, "Hellfire Citadel", 387, 0)
    unit:GossipMenuAddItem(1, "Mana Tombs", 388, 0)
    unit:GossipMenuAddItem(1, "Pheonix Hall", 389, 0)
    unit:GossipMenuAddItem(1, "Sethekk Halls", 390, 0)
    unit:GossipMenuAddItem(1, "Shadow Labyrinth", 391, 0)
    unit:GossipMenuAddItem(1, "The Botanica", 392, 0)
    unit:GossipMenuAddItem(1, "The Mechanar", 393, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 8) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Dalaran", 403, 0)
    unit:GossipMenuAddItem(1, "DK Start Zone", 405, 0)
    unit:GossipMenuAddItem(1, "Borean Tundra", 394, 0)
    unit:GossipMenuAddItem(1, "Crystalsong Forest", 404, 0)
    unit:GossipMenuAddItem(1, "Dragonblight", 395, 0)
    unit:GossipMenuAddItem(1, "Grizzly Hills", 396, 0)
    unit:GossipMenuAddItem(1, "Howling Fjord", 397, 0)
    unit:GossipMenuAddItem(1, "Icecrown", 398, 0)
    unit:GossipMenuAddItem(1, "Sholazar Basin", 399, 0)
    unit:GossipMenuAddItem(1, "Storm Peaks", 400, 0)
    unit:GossipMenuAddItem(1, "Wintergrasp", 401, 0)
    unit:GossipMenuAddItem(1, "Zul'Drak", 402, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 9) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Azjol'Nerub", 406, 0)
    unit:GossipMenuAddItem(1, "Drak'Tharon", 407, 0)
    unit:GossipMenuAddItem(1, "Gun'Drak", 408, 0)
    unit:GossipMenuAddItem(1, "Icecrown Citadel", 409, 0)
    unit:GossipMenuAddItem(1, "Naxxaramas", 410, 0)
    unit:GossipMenuAddItem(1, "Obsidian Sanctum", 411, 0)
    unit:GossipMenuAddItem(1, "The Nexus/Occulus/Eye of Eternity", 412, 0)
    unit:GossipMenuAddItem(1, "Halls of Stone/Halls of Lightning", 413, 0)
    unit:GossipMenuAddItem(1, "Utgarde Keep", 414, 0)
    unit:GossipMenuAddItem(1, "Utgarde Pinnacle", 415, 0)
    unit:GossipMenuAddItem(1, "Vault of Archevon", 416, 0)
    unit:GossipMenuAddItem(1, "Violet Hold", 417, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 300) then
    player:LearnSpell(15007)
    player:UnlearnSpell(15007)
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 300) then
    player:Teleport(0, -8928, 540, 95)
    unit:GossipComplete(player)
    end
    
    if(intid == 301) then
    player:Teleport(0, -4981, -881, 502)
    unit:GossipComplete(player)
    end 
    
    if(intid == 302) then
    player:Teleport(1, 9978, 2033, 1328.5)
    unit:GossipComplete(player)
    end
    
    if(intid == 303) then
    player:Teleport(503, -4014, -11895, -1.5)
    unit:GossipComplete(player)
    end
    
    if(intid == 304) then
    player:Teleport(1, 1502, -4415, 22)
    unit:GossipComplete(player)
    end
    
    if(intid == 305) then
    player:Teleport(1, -1283, 158, 130)
    unit:GossipComplete(player)
    end
    
    if(intid == 306) then
    player:Teleport(0, 1752, 239, 61.5)
    unit:GossipComplete(player)
    end
    
    if(intid == 307) then
    player:Teleport(503, 9392, -7277, 14.5)
    unit:GossipComplete(player)
    end
    
    if(intid == 308) then
    player:Teleport(0, 237, -652, 119)
    unit:GossipComplete(player)
    end
    
    if(intid == 309) then
    player:Teleport(0, -1550, -2495, 55)
    unit:GossipComplete(player)
    end
    
    if(intid == 310) then
    player:Teleport(0, -6775, -3286, 242)
    unit:GossipComplete(player)
    end
    
    if(intid == 311) then
    player:Teleport(0, -7975, -1786, 133.5)
    unit:GossipComplete(player)
    end
    
    if(intid == 312) then
    player:Teleport(0, -10447, -1872, 105)
    unit:GossipComplete(player)
    end
    
    if(intid == 313) then
    player:Teleport(0, -5709, -1339, 395)
    unit:GossipComplete(player)
    end
    
    if(intid == 314) then
    player:Teleport(0, -10914, -528, 54)
    unit:GossipComplete(player)
    end
    
    if(intid == 315) then
    player:Teleport(0, 1739, -3623, 120)
    unit:GossipComplete(player)
    end
    
    if(intid == 316) then
    player:Teleport(0, -9591, -463, 58)
    unit:GossipComplete(player)
    end
    
    if(intid == 317) then
    player:Teleport(530, 8250, -7214, 140)
    unit:GossipComplete(player)
    end
    
    if(intid == 318) then
    player:Teleport(530, 6396, -6848, 101)
    unit:GossipComplete(player)
    end
    
    if(intid == 319) then
    player:Teleport(0, -440, -582, 54)
    unit:GossipComplete(player)
    end
    
    if(intid == 320) then
    player:Teleport(0, 235, -3298, 110)
    unit:GossipComplete(player)
    end
    
    if(intid == 321) then
    player:Teleport(0, -5853, -3251, 303)
    unit:GossipComplete(player)
    end
    
    if(intid == 322) then
    player:Teleport(0, -6645, -1918, 245)
    unit:GossipComplete(player)
    end
    
    if(intid == 323) then
    player:Teleport(0, 628, 1291, 87)
    unit:GossipComplete(player)
    end
    
    if(intid == 324) then
    player:Teleport(0, -14246, Y, Z)
    unit:GossipComplete(player)
    end
    
    if(intid == 325) then
    player:Teleport(0, -10476, -2408, 74)
    unit:GossipComplete(player)
    end
    
    if(intid == 326) then
    player:Teleport(0, -11189, -3023, 8)
    unit:GossipComplete(player)
    end
    
    if(intid == 327) then
    player:Teleport(0, 1599, 569, 38)
    unit:GossipComplete(player)
    end
    
    if(intid == 328) then
    player:Teleport(0, 1676, -1366, 70)
    unit:GossipComplete(player)
    end
    
    if(intid == 329) then
    player:Teleport(0, -10922, 998, 36)
    unit:GossipComplete(player)
    end
    
    if(intid == 330) then
    player:Teleport(0, -3604, -2711, 20)
    unit:GossipComplete(player)
    end
    
    if(intid == 331) then
    player:Teleport(1, 2319, -1672, 124)
    unit:GossipComplete(player)
    end
    
    if(intid == 332) then
    player:Teleport(1, 3336, -4599, 93)
    unit:GossipComplete(player)
    end
    
    if(intid == 333) then
    player:Teleport(530, -4540, -11933, 28)
    unit:GossipComplete(player)
    end
    
    if(intid == 334) then
    player:Teleport(530, -2721, -12206, 10)
    unit:GossipComplete(player)
    end
    
    if(intid == 335) then
    player:Teleport(1, 5084, 242, 29)
    unit:GossipComplete(player)
    end
    
    if(intid == 336) then
    player:Teleport(1, -548, 1276, 90)
    unit:GossipComplete(player)
    end
    
    if(intid == 337) then
    player:Teleport(1, 301, -4184, 28)
    unit:GossipComplete(player)
    end
    
    if(intid == 338) then
    player:Teleport(1, -3345, -3078, 33)
    unit:GossipComplete(player)
    end
    
    if(intid == 339) then
    player:Teleport(1, 5537, -585, 359)
    unit:GossipComplete(player)
    end
    
    if(intid == 340) then
    player:Teleport(1, -4811, 1037, 105)
    unit:GossipComplete(player)
    end
    
    if(intid == 341) then
    player:Teleport(1, 7931, -2616, 493)
    unit:GossipComplete(player)
    end
    
    if(intid == 342) then
    player:Teleport(1, -2372, -893, -9)
    unit:GossipComplete(player)
    end
    
    if(intid == 343) then
    player:Teleport(1, -6839, 763, 43)
    unit:GossipComplete(player)
    end
    
    if(intid == 344) then
    player:Teleport(1, 588, 330, 48)
    unit:GossipComplete(player)
    end
    
    if(intid == 345) then
    player:Teleport(1, -7149, -3746, 9)
    unit:GossipComplete(player)
    end
    
    if(intid == 346) then
    player:Teleport(1, 9947, 649, 1310)
    unit:GossipComplete(player)
    end
    
    if(intid == 347) then
    player:Teleport(1, 567, -2573, 96)
    unit:GossipComplete(player)
    end
    
    if(intid == 348) then
    player:Teleport(1, -4969, -1723, -61)
    unit:GossipComplete(player)
    end
    
    if(intid == 349) then
    player:Teleport(1, -7932, -2139, -230)
    unit:GossipComplete(player)
    end
    
    if(intid == 350) then
    player:Teleport(1, 6719, -4646, 722)
    unit:GossipComplete(player)
    end
    
    if(intid == 351) then
    player:Teleport(530, 2924, 5982, -1)
    unit:GossipComplete(player)
    end
    
    if(intid == 352) then
    player:Teleport(530, -220, 2217, 86)
    unit:GossipComplete(player)
    end
    
    if(intid == 353) then
    player:Teleport(530, -1525, 6571, 21)
    unit:GossipComplete(player)
    end
    
    if(intid == 354) then
    player:Teleport(530, 3052, 3670, 143)
    unit:GossipComplete(player)
    end
    
    if(intid == 355) then
    player:Teleport(530, -3693, 2344, 77)
    unit:GossipComplete(player)
    end
    
    if(intid == 356) then
    player:Teleport(530, -1975, 4516, 13)
    unit:GossipComplete(player)
    end
    
    if(intid == 357) then
    player:Teleport(530, -205, 5545, 24)
    unit:GossipComplete(player)
    end
    
    if(intid == 358) then
    player:Teleport(1, -8187, 1539, 5)
    unit:GossipComplete(player)
    end
    
    if(intid == 359) then
    player:Teleport(1, 4248, 736, -26)
    unit:GossipComplete(player)
    end
    
    if(intid == 360) then
    player:Teleport(0, -7187, -914, 166)
    unit:GossipComplete(player)
    end
    
    if(intid == 361) then
    player:Teleport(0, -7532, -1221, 286)
    unit:GossipComplete(player)
    end
    
    if(intid == 362) then
    player:Teleport(229, 137, -474, 117)
    unit:GossipComplete(player)
    end
    
    if(intid == 363) then
    player:Teleport(1, -8568, -4260, -213)
    unit:GossipComplete(player)
    end
    
    if(intid == 364) then
    player:Teleport(0, 11209, 1664, 25)
    unit:GossipComplete(player)
    end
    
    if(intid == 365) then
    player:Teleport(1, -3524, 1124, 162)
    unit:GossipComplete(player)
    end
    
    if(intid == 366) then
    player:Teleport(0, -5164, 918,258)
    unit:GossipComplete(player)
    end
    
    if(intid == 367) then
    player:Teleport(1, -1458, 2606, 76)
    unit:GossipComplete(player)
    end
    
    if(intid == 368) then
    player:Teleport(230, 1123, -455, -101)
    unit:GossipComplete(player)
    end
    
    if(intid == 369) then
    player:Teleport(1, -4709, -3729, 55)
    unit:GossipComplete(player)
    end
    
    if(intid == 370) then
    player:Teleport(1, 1805, -4404, -18)
    unit:GossipComplete(player)
    end
    
    if(intid == 371) then
    player:Teleport(1, -4661, -2511, 81)
    unit:GossipComplete(player)
    end
    
    if(intid == 372) then
    player:Teleport(1, -4473, -1690, 82)
    unit:GossipComplete(player)
    end
    
    if(intid == 373) then
    player:Teleport(0, 2841, -692, 140)
    unit:GossipComplete(player)
    end
    
    if(intid == 374) then
    player:Teleport(0, 1265, -2560, 95)
    unit:GossipComplete(player)
    end
    
    if(intid == 375) then
    player:Teleport(0, -241, 1545, 77)
    unit:GossipComplete(player)
    end
    
    if(intid == 376) then
    player:Teleport(0, 3345, -3380, 145)
    unit:GossipComplete(player)
    end
    
    if(intid == 377) then
    player:Teleport(0, -10457, -3828, 19)
    unit:GossipComplete(player)
    end
    
    if(intid == 378) then
    player:Teleport(0, -6704, -2955, 209)
    unit:GossipComplete(player)
    end
    
    if(intid == 379) then
    player:Teleport(1, -737, -2219, 17)
    unit:GossipComplete(player)
    end
    
    if(intid == 380) then
    player:Teleport(530, 6850, -7950, 171)
    unit:GossipComplete(player)
    end
    
    if(intid == 381) then
    player:Teleport(1, -6821, -2890, 9)
    unit:GossipComplete(player)
    end
    
    if(intid == 382) then
    player:Teleport(0, -11916, -1204, 93)
    unit:GossipComplete(player)
    end
    
    if(intid == 383) then
    player:Teleport(530, -3367, 5216, -101)
    unit:GossipComplete(player)
    end
    
    if(intid == 384) then
    player:Teleport(530, -3614, 310, 40)
    unit:GossipComplete(player)
    end
    
    if(intid == 385) then
    player:Teleport(530, 792, 6863, -64)
    unit:GossipComplete(player)
    end
    
    if(intid == 386) then
    player:Teleport(530, 3529, 5096, 3)
    unit:GossipComplete(player)
    end
    
    if(intid == 387) then
    player:Teleport(530, -343, 3051, -15)
    unit:GossipComplete(player)
    end
    
    if(intid == 388) then
    player:Teleport(530, -3100, 4950, -100)
    unit:GossipComplete(player)
    end
    
    if(intid == 389) then
    player:Teleport(530, 3084, 1385, 185)
    unit:GossipComplete(player)
    end
    
    if(intid == 390) then
    player:Teleport(530, -3364, 4675, -101)
    unit:GossipComplete(player)
    end
    
    if(intid == 391) then
    player:Teleport(530, -3630, 4941, -101)
    unit:GossipComplete(player)
    end
    
    if(intid == 392) then
    player:Teleport(530, 3404, 1488, 183)
    unit:GossipComplete(player)
    end
    
    if(intid == 393) then
    player:Teleport(530, 2870, 1557, 252)
    unit:GossipComplete(player)
    end
    
    if(intid == 394) then
    player:Teleport(571, 3008, 5290, 60)
    unit:GossipComplete(player)
    end
    
    if(intid == 395) then
    player:Teleport(571, 3118, 107, 72)
    unit:GossipComplete(player)
    end
    
    if(intid == 396) then
    player:Teleport(571, 3681, -3472, 243)
    unit:GossipComplete(player)
    end
    
    if(intid == 397) then
    player:Teleport(571, 1267, -4062, 143)
    unit:GossipComplete(player)
    end
    
    if(intid == 398) then
    player:Teleport(571, 7514, 2091, 623)
    unit:GossipComplete(player)
    end
    
    if(intid == 399) then
    player:Teleport(571, 5501, 4879, -198)
    unit:GossipComplete(player)
    end
    
    if(intid == 400) then
    player:Teleport(571, 7514, -1037, 467)
    unit:GossipComplete(player)
    end
    
    if(intid == 401) then
    player:Teleport(571, 4611, 2848, 3397)
    unit:GossipComplete(player)
    end
    
    if(intid == 402) then
    player:Teleport(571, 5441, -2304, 298)
    unit:GossipComplete(player)
    end
    
    if(intid == 403) then
    player:Teleport(571, 5797, 629, 648)
    unit:GossipComplete(player)
    end
    
    if(intid == 404) then
    player:Teleport(571, 5402, 72, 151)
    unit:GossipComplete(player)
    end
    
    if(intid == 405) then
    player:Teleport(609, 2353, -5666, 427)
    unit:GossipComplete(player)
    end
    
    if(intid == 406) then
    player:Teleport(571, 3721, 2155, 37)
    unit:GossipComplete(player)
    end
    
    if(intid == 407) then
    player:Teleport(571, 4897, 2046, 249)
    unit:GossipComplete(player)
    end
    
    if(intid == 408) then
    player:Teleport(571, 6925, 4447, 451)
    unit:GossipComplete(player)
    end
    
    if(intid == 409) then
    player:Teleport(571, 6151, 2244, 508)
    unit:GossipComplete(player)
    end
    
    if(intid == 410) then
    player:Teleport(571, 3668, -1049, 131)
    unit:GossipComplete(player)
    end
    
    if(intid == 411) then
    player:Teleport(571, 3561, 275, -115)
    unit:GossipComplete(player)
    end
    
    if(intid == 412) then
    player:Teleport(571, 3783, 6942, 105)
    unit:GossipComplete(player)
    end
    
    if(intid == 413) then
    player:Teleport(571, 8937, 1266, 1026)
    unit:GossipComplete(player)
    end
    
    if(intid == 414) then
    player:Teleport(571, 1228, -4943, 36)
    unit:GossipComplete(player)
    end
    
    if(intid == 415) then
    player:Teleport(571, 1274, -4857, 216)
    unit:GossipComplete(player)
    end
    
    if(intid == 416) then
    player:Teleport(571, 5440, 2840, 421)
    unit:GossipComplete(player)
    end
    
    if(intid == 417) then
    player:Teleport(571, 5708, 521, 650)
    unit:GossipComplete(player)
    end
    
    if(intid == 418) then
    player:Teleport(0, -4673, -1697, 504)
    unit:GossipComplete(player)
    end
    
    if(intid == 419) then
    player:Teleport(1, 7423, 1607, 179)
    unit:GossipComplete(player)
    end
    
    if(intid == 420) then
    player:Teleport(0, -13282, 117, 25)
    unit:GossipComplete(player)
    end
    end
    
    RegisterUnitGossipEvent(35001, 1, "On_Gossip")
    RegisterUnitGossipEvent(35001, 2, "Gossip_Submenus")
    Code 2:
    Code:
    local npcid = 35001
    local menunum = 33310
    local menuicon = 4
    local teleicon = 2
    local menu =
    {
        {"Alliance Cities",
            {
                {"Stormwind", 0, -9077.296875, 423.434479, 92.79048},
                {"Ironforge", 0, -4989.347168, -872.971741, 496.984375},
                {"Darnassus", 1, 9951.940430, 2280.126953, 1341.395386},
                {"Exodar", 530, -4010.619141, -11886.310547, -1.610816},
                {"Mall", 0, -4673, -1697, 504},
            }
        },
        
        {"Horde Cities",
            {
                {"Orgrimmar", 1, 1502.709961, -4415.419922, 21.552349},
                {"Undercity", 0, 1642.265381, 239.750000, 62.592251},
                {"Thunder Bluff", 1, -1289.020020, 144.417999, 129.876007},
                {"Silvermoon", 530, 9394.371094, -7278.359375, 14.239411},
            {"Mall", 1, 7423, 1607, 179},
            }
         },
    
         {"Gurubashi Arena", 0, -13282, 117, 25},
         {"Eastern Kingdom Locations",
            {
                {"Alterac Mountains", 0, 237, -652, 119},
            {"Arathi Highlands", 0, -1550, -2495, 55},
                {"Badlands", 0, -6775, -3286, 242},
            {"Burning Steppes", 0, -7975, -1786, 133.5},
                {"Deadwind Pass", 0, -10447, -1872, 105},
            {"Dun Morogh", 0, -5709, -1339, 395},
            {"Duskwood", 0, -10914, -528, 54},
                {"Eastern Plaguelands", 0, 1739, -3623, 120},
                {"Elwynn Forest", 0, -9591, -463, 58},
                {"Eversong Woods", 530, 8250, -7214, 140},
                {"Ghostlands", 530, 6396, -6848, 101},
            {"Hillsbrad Foothills", 0, -440, -582, 54},
            {"Hinterlands", 0, 235, -3298, 110},
            {"Loch Modan", 0, -5853, -3251, 303},
            {"Searing Gorge", 0, -6645, -1918, 245},
            {"Silverpine Forest", 0, 628, 1291, 87},
            {"Stranglethorn Vale", 0, -14246, 301, 28},
            {"Swamp of Sorrows", 0, -10476, -2408, 74},
            {"The Blasted Lands", 0, -11189, -3023, 8},
            {"Tirisfal Glades", 0, 1599, 569, 38},
            {"Western Plaguelands", 0, 1676, -1366, 70},
            {"Westfall", 0, -10922, 998, 36},
            {"Wetlands", 0, -3604, -2711, 20},
        }
        },
        {"Kalimdor Locations",
        {
            {"Ashenvale", 1, 2319, -1672, 124},
            {"Azshara", 1, 3336, -4599, 93},
            {"Azuremyst Isle", 530, -4540, -11933, 28},
            {"Bloodmyst Isle", 530, -2721, -12206, 10},
            {"Darkshore", 1, 5084, 242, 29},
            {"Desolace", 1, -548, 1276, 90},
            {"Durotar", 1, 301, -4184, 28},
            {"Dustwallow Marsh", 1, -3345, -3078, 33},
            {"Felwood", 1, 5537, -585, 359},
            {"Feralas", 1, -4811, 1037, 105},
            {"Moonglade", 1, 7931, -2616, 493},
            {"Mulgore", 1, -2372, -893, -9},
            {"SIlithus", 1, -6839, 763, 43},
            {"Stonetalon Mountains", 1, 588, 330, 48},
            {"Tanaris", 1, -7149, -3746, 9},
            {"Teldrassil", 1, 9947, 649, 1310},
            {"The Barrens", 1, 567, -2573, 96},
            {"Thousand Needles", 1, -4969, -1723, -61},
            {"Un Goro Crater", 1, -7932, -2139, -230},
            {"Winterspring", 1, 6719, -4646, 722},
        }
        },
        {"Outland Locations",
        {
            {"Blade's Edge Mountains", 530, 2924, 5982, -1},
            {"Hellfire Peninsula", 530, -220, 2217, 86},
            {"Nagrand", 530, -1525, 6571, 21},
            {"Netherstorm", 530, 3052, 3670, 143},
            {"Shadowmoon Valley", 530, -3693, 2344, 77},
            {"Terokkar Forest", 530, -1975, 4516, 13},
            {"Zangarmarsh", 530, -205, 5545, 24},
        }
        },
        {"Azeroth Instances",
        {
            {"Ahn'Qiraj", 1, -8187, 1539, 5},
            {"Blackfathom Depths", 1, 4248, 736, -26},
            {"Blackrock Depths", 0, -7187, -914, 166},
            {"Blackrock Spire", 0, -7532, -1221, 286},
            {"Blackwing Lair", 229, 137, -474, 117},
            {"Caverns of Time", 1, -8568, -4260, -213},
            {"Deadmines", 0, 11209, 1664, 25},
            {"Dire Maul", 1, -3524, 1124, 162},
            {"Gnomeregen", 0, -5164, 918,258},
            {"Maraudon", 1, -1458, 2606, 76},
            {"Molten Core", 230, 1123, -455, -101},
            {"Onyxia's Lair", 1, -4709, -3729, 55},
            {"Ragefire Chasm", 1, 1805, -4404, -18},
            {"Razorfen Downs", 1, -4661, -2511, 81},
            {"Razorfen Kraul", 1, -4473, -1690, 82},
            {"Scarlet Monestary", 0, 2841, -692, 140},
            {"Scholomance", 0, 1265, -2560, 95},
            {"Shadowfang Keep", 0, -241, 1545, 77},
            {"Stratholme", 0, 3345, -3380, 145},
            {"Sunken Temple", 0, -10457, -3828, 19},
            {"Uldaman", 0, -6704, -2955, 209},
            {"Wailing Caverns", 1, -737, -2219, 17},
            {"Zul'Aman", 530, 6850, -7950, 171},
            {"Zul'Farrak", 1, -6821, -2890, 9},
            {"Zul'Gurub", 0, -11916, -1204, 93},
        }
       },
       {"Outland Instances",
        {
            {"Auchenai Crypts", 530, -3367, 5216, -101},
            {"Black Temple", 530, -3614, 310, 40},
            {"Coilfang Reservior", 530, 792, 6863, -64},
            {"Gruul's Lair", 530, 3529, 5096, 3},
            {"Hellfire Citadel", 530, -343, 3051, -15},
            {"Mana Tombs", 530, -3100, 4950, -100},
            {"Pheonix Hall", 530, 3084, 1385, 185},
            {"Sethekk Halls", 530, -3364, 4675, -101}
            {"Shadow Labyrinth", 530, -3630, 4941, -101},
            {"The Botanica", 530, 3404, 1488, 183},
            {"The Mechanar", 530, 2870, 1557, 252},
        }
        },
        {"WOTLK Locations",
        {
            {"Dalaran", 571, 5797, 629, 648},
            {"DK Start Zone", 609, 2353, -5666, 427},
            {"Borean Tundra", 571, 3008, 5290, 60},
            {"Crystalsong Forest", 571, 5402, 72, 151},
            {"Dragonblight", 571, 3118, 107, 72},
            {"Grizzly Hills", 571, 3681, -3472, 243},
            {"Howling Fjord", 571, 1267, -4062, 143},
            {"Icecrown", 571, 7514, 2091, 623},
            {"Sholazar Basin", 571, 5501, 4879, -198},
            {"Storm Peaks", 571, 7514, -1037, 467},
            {"Wintergrasp", 571, 4611, 2848, 3397},
            {"Zul'Drak", 571, 5441, -2304, 298},
        }
        },
        {"WOTLK Instances",
        {
            {"Azjol'Nerub", 571, 3721, 2155, 37},
            {"Drak'Tharon", 571, 4897, 2046, 249},
            {"Gun'Drak", 571, 6925, 4447, 451},
            {"Icecrown Citadel", 571, 6151, 2244, 508},
            {"Naxxaramas", 571, 3668, -1049, 131},
            {"Obsidian Sanctum", 571, 3561, 275, -115},
            {"The Nexus/Occulus/Eye of Eternity", 571, 3783, 6942, 105},
            {"Halls of Stone/Halls of Lightning", 571, 8937, 1266, 1026},
            {"Utgarde Keep", 571, 1228, -4943, 36},
            {"Utgarde Pinnacle", 571, 1274, -4857, 216},
            {"Vault of Archevon", 571, 5440, 2840, 421},
            {"Violet Hold", 571, 5708, 521, 650},
        }
        },
    }
                    
    function TeleNPC_MainMenu(Unit, Player)
        local i = 0
        Unit:GossipCreateMenu(menunum, Player, 0)
        for k,v in pairs(menu) do
            i = i + 1
            if type(v[2]) == "table" then
                Unit:GossipMenuAddItem(menuicon, v[1], i, 0)
                i = i + #(v[2])
            else
                Unit:GossipMenuAddItem(teleicon, v[1], i, 0)
            end
        end
        Unit:GossipSendMenu(Player)
    end
    
    function TeleNPC_SubMenu(Unit, Player, i, Submenu)
        Unit:GossipCreateMenu(menunum-i, Player, 0)
        Unit:GossipMenuAddItem(7, "<--Back", 0, 0)
        for k,v in pairs(Submenu) do
            i = i + 1
            Unit:GossipMenuAddItem(teleicon, v[1], i, 0)
        end
        Unit:GossipSendMenu(Player)
    end
    
    function TeleNPC_OnGossipTalk(Unit, Event, Player)
        TeleNPC_MainMenu(Unit, Player)
    end
    
    function TeleNPC_OnGossipSelect(Unit, Event, Player, MenuId, Id, Code)
        local i = 0
        if(Id == 0) then
            TeleNPC_MainMenu(Unit,Player)
        else
            for k,v in pairs(menu) do
                i = i + 1
                if (Id == i) then
                    if type(v[2]) == "table" then
                        TeleNPC_SubMenu(Unit, Player, i, v[2])
                    else
                        if Player:IsInCombat() then
                            Unit:SendChatMessage(12, 0, "You can't teleport while in combat!")
                        else
                            Player:Teleport(v[2], v[3], v[4], v[5])
                        end
                        Unit:GossipComplete(Player)
                    end
                    return
                elseif (type(v[2]) == "table") then
                    for j,w in pairs(v[2]) do
                        i = i + 1
                        if (Id == i) then
                            if Player:IsInCombat() then
                                Unit:SendChatMessage(12, 0, "You can't teleport while in combat!")
                            else
                                Player:Teleport(w[2], w[3], w[4], w[5])
                            end
                            Unit:GossipComplete(Player)
                            return
                        end
                    end
                end
            end
        end
    end
    
    RegisterUnitGossipEvent(35001, 1, "TeleNPC_OnGossipTalk")
    RegisterUnitGossipEvent(35001, 2, "TeleNPC_OnGossipSelect")
    Last edited by Everlast118; 02-18-2009 at 12:27 AM.

    [Request] LUA Teleporter Fix
  2. #2
    spectre123's Avatar Member
    Reputation
    8
    Join Date
    Sep 2008
    Posts
    130
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Did you restart the server? If so, Is it targeted towards the NPC you want it to work to? Nothing seems wrong to me, But then again. I could be wrong

  3. #3
    Everlast118's Avatar Member
    Reputation
    4
    Join Date
    Sep 2007
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ive restarted it many times.

  4. #4
    Everlast118's Avatar Member
    Reputation
    4
    Join Date
    Sep 2007
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok then, Code 2 works now. But can someone help me set it up so that the Horde Cities is only avaliable to the horde and the Alliance Cities are only avaliable to the Alliance?

  5. #5
    spectre123's Avatar Member
    Reputation
    8
    Join Date
    Sep 2008
    Posts
    130
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yours looks just like mine when it comes to the scripting... Idk what went wrong.

  6. #6
    spectre123's Avatar Member
    Reputation
    8
    Join Date
    Sep 2008
    Posts
    130
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes.
    I know how to do that.
    local race=player:GetPlayerRace()
    if race==2 or race==5 or race==6 or race==8 or race==10 then
    item:GossipMenuAddItem(4, "Name you Want for Horde Only to Use.",300, 0)
    end

    local race=player:GetPlayerRace()
    if race==1 or race==3 or race==4 or race==7 or race==11 then
    item:GossipMenuAddItem(4, "Name you want for ally",301, 0)
    end

    Put this before the script. I believe this is what you do

  7. #7
    Everlast118's Avatar Member
    Reputation
    4
    Join Date
    Sep 2007
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Spectre, I will make a release when I get the script for the horde and alliance only sections.
    I am using Code 2 unless someone can fix number 1 for me.
    Also need the code for the Ressurection Sickness for number 2, I know it for number 1 but it doesn't work.
    Also need the Horde and Alliance Sections for the Code 2.
    Last edited by Everlast118; 02-18-2009 at 12:41 AM.

  8. #8
    spectre123's Avatar Member
    Reputation
    8
    Join Date
    Sep 2008
    Posts
    130
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I do not know how to work with the Number two. Is it LUA, If so. Im not familiar with it.

  9. #9
    Everlast118's Avatar Member
    Reputation
    4
    Join Date
    Sep 2007
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I prefer to use number 1 since its easier to mod but I just need someone to help me with it.
    However, both are LUA. Just 1 works and the other doesn't.

  10. #10
    volitle's Avatar Contributor
    Reputation
    181
    Join Date
    Nov 2007
    Posts
    1,127
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    why the hell have you put it in two seperate files may i ask?

    and the second isnt lua its c++. correct me if im wrong. The second code looks very similar to the c++ one in the arcemu svn
    Last edited by volitle; 02-18-2009 at 02:40 AM.


  11. #11
    Everlast118's Avatar Member
    Reputation
    4
    Join Date
    Sep 2007
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, I had the 1st one then it didnt work so I replaced it with the 2nd one.
    But the 2nd one is LUA as its saved as a LUA file.

  12. #12
    volitle's Avatar Contributor
    Reputation
    181
    Join Date
    Nov 2007
    Posts
    1,127
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wierd the first one is defenatly LUA because its in the same form as mine but second one looks like c++, look this is the arcemu one.

    Code:
         case 6://Silvermoon
                {
                    Plr->EventTeleport(530, 9400.486328, -7278.376953, 14.206780);
    
                }break;
    
            case 7://Orgrimmar
                {
                    Plr->EventTeleport(1, 1371.068970, -4370.801758, 26.052483);
                }break;
    
            case 8://ThunderBluff
                {
                    Plr->EventTeleport(1, -1304.569946, 205.285004, 68.681396);
                }break;
    
            case 9://UnderCity
                {
                    Plr->Even
    thats part of it

    oh no ignore me yeh its lua xD


  13. #13
    Everlast118's Avatar Member
    Reputation
    4
    Join Date
    Sep 2007
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Volitile, can u supply a fix with a copy of your working LUA Teleporter script? Or tell me what is wrong with my 1st code?
    Code 1 is easier to modify and add more points. The 2nd one, when you go too far it makes quests and you can't put a 2nd page in it.
    So if you can find the problem or supply a copy of your code it would be greatly appreciated.

  14. #14
    volitle's Avatar Contributor
    Reputation
    181
    Join Date
    Nov 2007
    Posts
    1,127
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    here is mine and works perfectly just edit it to what ever your need

    Code:
    function On_Gossip(unit, event, player)
    unit:GossipCreateMenu(3544, player, 0)
    unit:GossipMenuAddItem(2, "Walmart", 1, 0)
    unit:GossipMenuAddItem(2, "leveling Road", 300, 0)
    unit:GossipMenuAddItem(2, "Horde Cities", 3, 0)
    unit:GossipMenuAddItem(2, "Alliance Cities", 4, 0)
    unit:GossipMenuAddItem(2, "Global Locations", 5, 0)
    unit:GossipMenuAddItem(2, "Outland Locations", 6, 0)
    unit:GossipMenuAddItem(2, "Northrend Locations", 7, 0)
    unit:GossipMenuAddItem(2, "War Zones", 8, 0)
    unit:GossipMenuAddItem(2, "I'll Take A Little Boost, Thanks!", 9, 0)
    unit:GossipMenuAddItem(2, "Cure Me", 10, 0)
    unit:GossipMenuAddItem(2, "Custom Locations", 5002, 0)
    unit:GossipSendMenu(player)
    end
    
    function Gossip_Submenus(unit, event, player, id, intid, code)
    
    if(intid == 999) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(2, "Walmart", 1, 0)
    unit:GossipMenuAddItem(2, "leveling Road", 300, 0)
    unit:GossipMenuAddItem(2, "Horde Cities", 3, 0)
    unit:GossipMenuAddItem(2, "Alliance Cities", 4, 0)
    unit:GossipMenuAddItem(2, "Global Locations", 5, 0)
    unit:GossipMenuAddItem(2, "Outland Locations", 6, 0)
    unit:GossipMenuAddItem(2, "Northrend Locations", 7, 0)
    unit:GossipMenuAddItem(2, "War Zones", 8, 0)
    unit:GossipMenuAddItem(2, "I'll Take A Little Boost, Thanks!", 9, 0)
    unit:GossipMenuAddItem(2, "Cure Me", 10, 0)
    unit:GossipMenuAddItem(2, "Custom Locations", 5002, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 3) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Orgrimmar", 15, 0)
    unit:GossipMenuAddItem(1, "Undercity", 16, 0)
    unit:GossipMenuAddItem(1, "Thunder Bluff", 17, 0)
    unit:GossipMenuAddItem(1, "Silvermoon City", 18, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 4) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Stormwind", 19, 0)
    unit:GossipMenuAddItem(1, "Ironforge", 20, 0)
    unit:GossipMenuAddItem(1, "Darnassus", 21, 0)
    unit:GossipMenuAddItem(1, "Exodar", 22, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 5) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(0, "Eastern Kingdoms", 500, 0)
    unit:GossipMenuAddItem(0, "Kalimdor", 501, 0)
    unit:GossipMenuAddItem(0, "Old School Raids", 502, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 500) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Alterac Mountains", 23, 0)
    unit:GossipMenuAddItem(1, "Arathi Highlands", 24, 0)
    unit:GossipMenuAddItem(1, "Badlands", 25, 0)
    unit:GossipMenuAddItem(1, "Blasted Lands", 26, 0)
    unit:GossipMenuAddItem(1, "Burning Steppes", 27, 0)
    unit:GossipMenuAddItem(1, "Deadwind Pass", 28, 0)
    unit:GossipMenuAddItem(1, "Dun Morogh", 29, 0)
    unit:GossipMenuAddItem(1, "Duskwood", 30, 0)
    unit:GossipMenuAddItem(1, "Eastern Plaguelands", 31, 0)
    unit:GossipMenuAddItem(1, "Elwynn Forest", 32, 0)
    unit:GossipMenuAddItem(1, "Eversong Woods", 33, 0)
    unit:GossipMenuAddItem(1, "Ghostlands", 34, 0)
    unit:GossipMenuAddItem(1, "Hillsbrad Foothills", 35, 0)
    unit:GossipMenuAddItem(0, "--->Second Page--->", 36, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 36) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Loch Modan",37, 0)
    unit:GossipMenuAddItem(1, "Redridge Mountains", 38, 0)
    unit:GossipMenuAddItem(1, "Searing Gorge", 39, 0)
    unit:GossipMenuAddItem(1, "Silverpine Forest", 40, 0)
    unit:GossipMenuAddItem(1, "Stranglethorn Vale", 41, 0)
    unit:GossipMenuAddItem(1, "Swamp Of Sorrows", 42, 0)
    unit:GossipMenuAddItem(1, "The Hinterlands", 43, 0)
    unit:GossipMenuAddItem(1, "Tirisfal Glades", 44, 0)
    unit:GossipMenuAddItem(1, "Western Plaguelands",45, 0)
    unit:GossipMenuAddItem(1, "Westfall",46, 0)
    unit:GossipMenuAddItem(1, "Wetlands", 47, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 501) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Ashenvale", 48, 0)
    unit:GossipMenuAddItem(1, "Azshara", 49, 0)
    unit:GossipMenuAddItem(1, "Azuremyst Isle", 50, 0)
    unit:GossipMenuAddItem(1, "Bloodmyst Isle", 51, 0)
    unit:GossipMenuAddItem(1, "Darkshore", 52, 0)
    unit:GossipMenuAddItem(1, "Desolace", 53, 0)
    unit:GossipMenuAddItem(1, "Durotar", 54, 0)
    unit:GossipMenuAddItem(1, "Dustwallow Marsh", 55, 0)
    unit:GossipMenuAddItem(1, "Felwood", 56, 0)
    unit:GossipMenuAddItem(1, "Feralas", 57, 0)
    unit:GossipMenuAddItem(1, "Moonglade", 58, 0)
    unit:GossipMenuAddItem(1, "Mulgore", 59, 0)
    unit:GossipMenuAddItem(1, "Silithus", 60, 0)
    unit:GossipMenuAddItem(0, "--->Second Page--->", 61, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 61) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Stonetalon Mountains", 62, 0)
    unit:GossipMenuAddItem(1, "Tanaris", 63, 0)
    unit:GossipMenuAddItem(1, "Teldrassil", 64, 0)
    unit:GossipMenuAddItem(1, "The Barrens", 65, 0)
    unit:GossipMenuAddItem(1, "Thousand Needles", 66, 0)
    unit:GossipMenuAddItem(1, "Un'Goro Crater", 67, 0)
    unit:GossipMenuAddItem(1, "Winterspring", 68, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 502) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Ahn'Qiraj", 69, 0)
    unit:GossipMenuAddItem(1, "Blackwing Lair", 70, 0)
    unit:GossipMenuAddItem(1, "Molten Core", 71, 0)
    unit:GossipMenuAddItem(1, "Onyxia's Lair", 72, 0)
    unit:GossipMenuAddItem(1, "Zul'Gurub", 73, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 6) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Blade's Edge Mountains", 74, 0)
    unit:GossipMenuAddItem(1, "Hellfire Peninsula", 75, 0)
    unit:GossipMenuAddItem(1, "Nagrand", 76, 0)
    unit:GossipMenuAddItem(1, "Netherstorm", 77, 0)
    unit:GossipMenuAddItem(1, "Shadowmoon Valley", 78, 0)
    unit:GossipMenuAddItem(1, "Terokkar Forest", 79, 0)
    unit:GossipMenuAddItem(1, "Zangarmarsh", 80, 0)
    unit:GossipMenuAddItem(1, "Shattrath", 81, 0)
    unit:GossipMenuAddItem(0, "Outland Raids", 82, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 82) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Black Temple", 83, 0)
    unit:GossipMenuAddItem(1, "Gruul's Lair", 84, 0)
    unit:GossipMenuAddItem(1, "Karazhan", 85, 0)
    unit:GossipMenuAddItem(1, "Magtheridon's Lair", 86, 0)
    unit:GossipMenuAddItem(1, "Mount Hyjal", 87, 0)
    unit:GossipMenuAddItem(1, "Serpentshrine Cavern", 88, 0)
    unit:GossipMenuAddItem(1, "Sunwell", 89, 0)
    unit:GossipMenuAddItem(1, "The Eye", 90, 0)
    unit:GossipMenuAddItem(1, "Zul'Aman", 91, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 7) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Borean Tundra", 92, 0)
    unit:GossipMenuAddItem(1, "Crystalsong Forest", 93, 0)
    unit:GossipMenuAddItem(1, "Dragonblight", 94, 0)
    unit:GossipMenuAddItem(1, "Grizzly Hills", 95, 0)
    unit:GossipMenuAddItem(1, "Howling Fjords", 96, 0)
    unit:GossipMenuAddItem(1, "Icecrown Glaicer", 97, 0)
    unit:GossipMenuAddItem(1, "Sholazar Basin", 98, 0)
    unit:GossipMenuAddItem(1, "Storm Peaks", 99, 0)
    unit:GossipMenuAddItem(1, "Wintergrasp", 100, 0)
    unit:GossipMenuAddItem(1, "Zul'Drak", 101, 0)
    unit:GossipMenuAddItem(1, "Dalaran", 102, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 8) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Blade's Edge Arena", 103, 0)
    unit:GossipMenuAddItem(1, "Gurubashi Arena", 104, 0)
    unit:GossipMenuAddItem(1, "Nagrand Arena", 105, 0)
    unit:GossipMenuAddItem(1, "Ring Of Valor (Alliance vs Horde)", 106, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 5002) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Raceway", 4000, 0)
    unit:GossipMenuAddItem(1, "Stairs (S4)", 4001, 0)
    unit:GossipMenuAddItem(1, "Defias Terrace", 4002, 0)
    unit:GossipMenuAddItem(1, "The Big-Pink Maze", 4005, 0)
    unit:GossipMenuAddItem(1, "Advanced Stairs (T7)", 4006, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 300) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Horde Leveling", 4003, 0)
    unit:GossipMenuAddItem(1, "Alliance Leveling", 4004, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 1) then
    player:Teleport(1, -3848.44, 848.129, 106.563)
    unit:GossipComplete(player)
    end
    
    if(intid == 15) then
    player:Teleport(1, 1502.709961, -4415.419922, 21.552706)
    unit:GossipComplete(player)
    end
    
    if(intid == 16) then
    player:Teleport(0, 1560.453857, 244.334030, -43.102592)
    unit:GossipComplete(player)
    end
    
    if(intid == 17) then
    player:Teleport(1, -1195.436523, 34.784081, 132.40137)
    unit:GossipComplete(player)
    end
    
    if(intid == 18) then
    player:Teleport(530, 9496.041016, -7282.289551, 14.318037)
    unit:GossipComplete(player)
    end
    
    if(intid == 19) then
    player:Teleport(0, -8832.935547, 625.797485, 93.914894)
    unit:GossipComplete(player)
    end
    
    if(intid == 20) then
    player:Teleport(0, -4924.375488, -950.865112, 501.547333)
    unit:GossipComplete(player)
    end
    
    if(intid == 21) then
    player:Teleport(1, 9945.676758, 2482.677979, 1316.198853)
    unit:GossipComplete(player)
    end
    
    if(intid == 22) then
    player:Teleport(530, -3946.064941, -11727.777344, -138.922562)
    unit:GossipComplete(player)
    end
    
    if(intid == 23) then
    player:Teleport(0, 58.714684, -570.825317, 145.711151)
    unit:GossipComplete(player)
    end
    
    if(intid == 24) then
    player:Teleport(0, -1550.519409, -2496.936791, 54.452209)
    unit:GossipComplete(player)
    end
    
    if(intid == 25) then
    player:Teleport(0, -6819.416992, -3422.346680, 242.543167)
    unit:GossipComplete(player)
    end
    
    if(intid == 26) then
    player:Teleport(0, -11270.514648, -3061.004395, -0.152069)
    unit:GossipComplete(player)
    end
    
    if(intid == 27) then
    player:Teleport(0, -8057.234375, -1997.046143, 133.364822)
    unit:GossipComplete(player)
    end
    
    if(intid == 28) then
    player:Teleport(0, -10437.863281, -1866.211182, 104.634972)
    unit:GossipComplete(player)
    end
    
    if(intid == 29) then
    player:Teleport(0, -5271.595703, 43.802460, 386.111420)
    unit:GossipComplete(player)
    end
    
    if(intid == 30) then
    player:Teleport(0, -10893.999023, -349.645538, 39.141331)
    unit:GossipComplete(player)
    end
    
    if(intid == 31) then
    player:Teleport(0, 2263.505859, -4627.462891, 73.623268)
    unit:GossipComplete(player)
    end
    
    if(intid == 32) then
    player:Teleport(0, -9547.107422, 82.203911, 59.357063)
    unit:GossipComplete(player)
    end
    
    if(intid == 33) then
    player:Teleport(530, 8822.261719, -7098.651855, 35.365276)
    unit:GossipComplete(player)
    end
    
    if(intid == 34) then
    player:Teleport(530, 7230.481934, -6586.369629, 25.941483)
    unit:GossipComplete(player)
    end
    
    if(intid == 35) then
    player:Teleport(0, -414.885590, -662.270203, 54.499748)
    unit:GossipComplete(player)
    end
    
    if(intid == 37) then
    player:Teleport(0, -5544.246582, -2851.535645, 361.768768)
    unit:GossipComplete(player)
    end
    
    if(intid == 38) then
    player:Teleport(0, -9472.294922, -2266.869873, 74.356583)
    unit:GossipComplete(player)
    end
    
    if(intid == 39) then
    player:Teleport(0, -6667.144043, -1194.482300, 242.106873)
    unit:GossipComplete(player)
    end
    
    if(intid == 40) then
    player:Teleport(0, 581.543396, 1249.138062, 86.588158)
    unit:GossipComplete(player)
    end
    
    if(intid == 41) then
    player:Teleport(0, -12323.756836, -584.573059, 24.864433)
    unit:GossipComplete(player)
    end
    
    if(intid == 42) then
    player:Teleport(0, -10371.346680, -2723.086426, 21.678825)
    unit:GossipComplete(player)
    end
    
    if(intid == 43) then
    player:Teleport(0, 118.710144, -1948.693237, 148.925842)
    unit:GossipComplete(player)
    end
    
    if(intid == 44) then
    player:Teleport(0, 2024.515137, 168.655807, 33.867512)
    unit:GossipComplete(player)
    end
    
    if(intid == 45) then
    player:Teleport(0, 1678.447876, -1364.333862, 69.890274)
    unit:GossipComplete(player)
    end
    
    if(intid == 46) then
    player:Teleport(0, -10726.467773, 1030.061523, 33.054764)
    unit:GossipComplete(player)
    end
    
    if(intid == 47) then
    player:Teleport(0, -3192.923340, -2452.208496, 9.292380)
    unit:GossipComplete(player)
    end
    
    if(intid == 48) then
    player:Teleport(1, 2461.417725, -504.268280, 114.812622)
    unit:GossipComplete(player)
    end
    
    if(intid == 49) then
    player:Teleport(1, 3383.945313, -4665.848145, 94.969765)
    unit:GossipComplete(player)
    end
    
    if(intid == 50) then
    player:Teleport(530, -4251.174316, -12869.387695, 13.412463)
    unit:GossipComplete(player)
    end
    
    if(intid == 51) then
    player:Teleport(530, -2244.586670, -11910.894531, 24.423874)
    unit:GossipComplete(player)
    end
    
    if(intid == 52) then
    player:Teleport(1, 6145.536133, 282.024109, 23.928629)
    unit:GossipComplete(player)
    end
    
    if(intid == 53) then
    player:Teleport(1, -1127.806885, 1793.706909, 62.220467)
    unit:GossipComplete(player)
    end
    
    if(intid == 54) then
    player:Teleport(1, 601.661621, -4733.739258, -8.558049)
    unit:GossipComplete(player)
    end
    
    if(intid == 55) then
    player:Teleport(1, -3647.304199, -2721.955566, 33.222332)
    unit:GossipComplete(player)
    end
    
    if(intid == 56) then
    player:Teleport(1, 5378.582031, -752.227243, 344.328766)
    unit:GossipComplete(player)
    end
    
    if(intid == 57) then
    player:Teleport(1, -4805.526855, 1038.506226, 104.156227)
    unit:GossipComplete(player)
    end
    
    if(intid == 58) then
    player:Teleport(1, 8001.228027, -2672.624268, 512.099792)
    unit:GossipComplete(player)
    end
    
    if(intid == 59) then
    player:Teleport(1, -2362.893311, -826.267517, -9.369063)
    unit:GossipComplete(player)
    end
    
    if(intid == 60) then
    player:Teleport(1, -7015.238770, 968.619934, 5.474441)
    unit:GossipComplete(player)
    end
    
    if(intid == 62) then
    player:Teleport(1, 1299.952491, 728.316223, 177.870941)
    unit:GossipComplete(player)
    end
    
    if(intid == 63) then
    player:Teleport(1, -7184.853027, -3983.132324, 10.982137)
    unit:GossipComplete(player)
    end
    
    if(intid == 64) then
    player:Teleport(1, 10119.146484, 1549.032837, 1321.552002)
    unit:GossipComplete(player)
    end
    
    if(intid == 65) then
    player:Teleport(1, -642.360962, -2654.214844, 95.787682)
    unit:GossipComplete(player)
    end
    
    if(intid == 66) then
    player:Teleport(1, -5375.651367, -2509.229736, -40.432945)
    unit:GossipComplete(player)
    end
    
    if(intid == 67) then
    player:Teleport(1, -6178.627441, -1100.540283, -214.140274)
    unit:GossipComplete(player)
    end
    
    if(intid == 68) then
    player:Teleport(1, 6661.349121, -4560.519043, 717.435547)
    unit:GossipComplete(player)
    end
    
    if(intid == 69) then
    player:Teleport(1, -8189.559570, 1532.920898, 4.194667)
    unit:GossipComplete(player)
    end
    
    if(intid == 70) then
    player:Teleport(0, -7660.572266, -1221.226318, 287.787964)
    unit:GossipComplete(player)
    end
    
    if(intid == 71) then
    player:Teleport(230, 1120.799927, -467.276886, -104.741043)
    unit:GossipComplete(player)
    end
    
    if(intid == 72) then
    player:Teleport(1, -4693.167969, -3719.408936, 49.774086)
    unit:GossipComplete(player)
    end
    
    if(intid == 73) then
    player:Teleport(0, -11913.967773, -1115.898560, 77.279816)
    unit:GossipComplete(player)
    end
    
    if(intid == 74) then
    player:Teleport(530, 3034.863281, 5952.613281, 130.774368)
    unit:GossipComplete(player)
    end
    
    if(intid == 75) then
    player:Teleport(530, -215.563675, 2153.101074, 79.554207)
    unit:GossipComplete(player)
    end
    
    if(intid == 76) then
    player:Teleport(530, -1648.201416, 7686.244141, -14.353410)
    unit:GossipComplete(player)
    end
    
    if(intid == 77) then
    player:Teleport(530, 3037.424561, 3576.538818, 143.218384)
    unit:GossipComplete(player)
    end
    
    if(intid == 78) then
    player:Teleport(530, -3072.626709, 2879.110840, 82.300873)
    unit:GossipComplete(player)
    end
    
    if(intid == 79) then
    player:Teleport(530, -2812.025146, 5085.235352, -13.033023)
    unit:GossipComplete(player)
    end
    
    if(intid == 80) then
    player:Teleport(530, -203.677704, 5513.926758, 21.679346)
    unit:GossipComplete(player)
    end
    
    if(intid == 81) then
    player:Teleport(530, -1721.940063, 5382.318359, 1.537373)
    unit:GossipComplete(player)
    end
    
    if(intid == 83) then
    player:Teleport(530, -3637.713623, 315.175232, 35.551952)
    unit:GossipComplete(player)
    end
    
    if(intid == 84) then
    player:Teleport(530, 3530.903320, 5117.925293, 4.349529)
    unit:GossipComplete(player)
    end
    
    if(intid == 85) then
    player:Teleport(0, -11121.737305, -2015.547119, 47.084202)
    unit:GossipComplete(player)
    end
    
    if(intid == 86) then
    player:Teleport(530, -315.928223, 3090.644775, -116.455063)
    unit:GossipComplete(player)
    end
    
    if(intid == 87) then
    player:Teleport(1, -8173.633789, -4176.341797, -166.151794)
    unit:GossipComplete(player)
    end
    
    if(intid == 88) then
    player:Teleport(530, 796.048401, 6864.074219, -64.992691)
    unit:GossipComplete(player)
    end
    
    if(intid == 89) then
    player:Teleport(530, 12564.260742, -6775.855469, 15.090900)
    unit:GossipComplete(player)
    end
    
    if(intid == 90) then
    player:Teleport(530, 3086.903564, 1406.003540, 189.548431)
    unit:GossipComplete(player)
    end
    
    if(intid == 91) then
    player:Teleport(530, 6849.811035, -7953.119141, 170.099884)
    unit:GossipComplete(player)
    end
    
    if(intid == 92) then
    player:Teleport(571, 3760.002197, 5413.608398, 40.775795)
    unit:GossipComplete(player)
    end
    
    if(intid == 93) then
    player:Teleport(571, 5298.182129, -724.851501, 162.903442)
    unit:GossipComplete(player)
    end
    
    if(intid == 94) then
    player:Teleport(571, 3539.470215, 263.158417, 45.625706)
    unit:GossipComplete(player)
    end
    
    if(intid == 95) then
    player:Teleport(571, 3736.716553, -3862.061035, 183.021378)
    unit:GossipComplete(player)
    end
    
    if(intid == 96) then
    player:Teleport(571, 2029.114624, -4520.532715, 207.844940)
    unit:GossipComplete(player)
    end
    
    if(intid == 97) then
    player:Teleport(571, 6330.499023, 2310.453369, 477.265106)
    unit:GossipComplete(player)
    end
    
    if(intid == 98) then
    player:Teleport(571, 5484.500000, 4750.392578, -196.924042)
    unit:GossipComplete(player)
    end
    
    if(intid == 99) then
    player:Teleport(571, 8232.848633, -1483.130615, 1072.386108)
    unit:GossipComplete(player)
    end
    
    if(intid == 100) then
    player:Teleport(571, 4608.031738, 2846.253418, 396.896698)
    unit:GossipComplete(player)
    end
    
    if(intid == 101) then
    player:Teleport(571, 5449.899902, -2629.230713, 306.253143)
    unit:GossipComplete(player)
    end
    
    if(intid == 102) then
    player:Teleport(571, 5809.805664, 651.377075, 647.504602)
    unit:GossipComplete(player)
    end
    
    if(intid == 103) then
    player:Teleport(530, 2908.942383, 5973.306152, 2.096412)
    unit:GossipComplete(player)
    end
    
    if(intid == 104) then
    player:Teleport(0, -13258.738281, 168.794815, 34.707809)
    unit:GossipComplete(player)
    end
    
    if(intid == 105) then
    player:Teleport(530, -2073.057861, 6708.157227, 11.765224)
    unit:GossipComplete(player)
    end
    
    if(intid == 106) then
    player:Teleport(1, 2178.247070, -4766.309570, 54.911034)
    unit:GossipComplete(player)
    end
    
    if(intid == 9) then
    unit:FullCastSpellOnTarget(58451, player)
    unit:FullCastSpellOnTarget(48100, player)
    unit:FullCastSpellOnTarget(58453, player)
    unit:FullCastSpellOnTarget(48104, player)
    unit:FullCastSpellOnTarget(48102, player)
    unit:FullCastSpellOnTarget(58449, player)
    end
    
    if(intid == 10) then
    player:LearnSpell(15007)
    player:UnlearnSpell(15007)
    end
    
    if(intid == 4000) then
    player:Teleport(1, -6205.550781, -3901.035156, -60.324577)
    unit:GossipComplete(player)
    end
    
    if(intid == 4001) then
    player:Teleport(1, -11815.425781, -4756.323730, 6.519753)
    unit:GossipComplete(player)
    end
    
    if(intid == 4002) then
    player:Teleport(44, 64.1095, 10.9527, 18.6774)
    unit:GossipComplete(player)
    end
    
    if(intid == 4003) then
    player:Teleport(30, -1367.607910, -228.565903, 98.425560)
    unit:GossipComplete(player)
    end
    
    if(intid == 4004) then
    player:Teleport(30, 714.310242, -14.211962, 50.135391)
    unit:GossipComplete(player)
    end
    
    if(intid == 4005) then
    player:Teleport(0, -776.552734, 1536.831177, 20.214521)
    unit:GossipComplete(player)
    end
    
    if(intid == 4006) then
    player:Teleport(1, 2845.725098, -7289.158203, 23.500259)
    unit:GossipComplete(player)
    end
    end
    
    RegisterUnitGossipEvent(333333, 1, "On_Gossip")
    RegisterUnitGossipEvent(333333, 2, "Gossip_Submenus")


  15. #15
    Everlast118's Avatar Member
    Reputation
    4
    Join Date
    Sep 2007
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, I got it fixed, thanks anyway.

Similar Threads

  1. [request] lua for jumpevent teleporter
    By Jonthe838 in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 12-28-2008, 08:13 AM
  2. <Request> Lua Teleporter
    By sinofevil in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 10-07-2008, 05:45 PM
  3. Request: Undead helm fix
    By Romulus33527 in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 06-09-2007, 09:10 AM
  4. Request : Small helmet fix guide?
    By Dydus in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 05-07-2007, 10:29 PM
  5. Request : Small helmet fix guide?
    By Dydus in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 04-19-2007, 10:32 PM
All times are GMT -5. The time now is 05:46 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search