local Itemid = 55555
function Item_Talk(item, event, player)
Item_menu(item, player)
end
function Item_menu(item, player)
if (player:IsInCombat() == true) then
player:SendAreaTriggerMessage("Du bist im Kampf!")
else
item:GossipCreateMenu(100, player, 0)
item:GossipMenuAddItem(4, "*Teleporten*", 1, 0)
item:GossipMenuAddItem(5, "Nachwirkungen Entfernen", 34, 0)
item:GossipMenuAddItem(6, "Happi + Goody", 310, 0)
item:GossipSendMenu(player)
end
end
function Item_Select(item, event, player, id, intid, code)
if(intid == 1) then
item:GossipCreateMenu(3543, player, 0)
local race=player:GetPlayerRace()
if race==2 or race==5 or race==6 or race==8 or race==10 then
item:GossipMenuAddItem(4, "Horde St\195\164dte", 5, 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, "Allianz St\195\164dte", 6, 0)
end
item:GossipMenuAddItem(4, "Northrend Teleport´s", 200, 0)
item:GossipMenuAddItem(4, "DK Startgebiet", 122, 0)
item:GossipMenuAddItem(4, "PVP Arena", 118, 0)
item:GossipMenuAddItem(2, "GamerTreff", 119,0)
item:GossipMenuAddItem(4, "Levelarena 1-255", 121, 0)
item:GossipMenuAddItem(4, "Neutrale Punkte", 7, 0)
item:GossipMenuAddItem(4, "Azeroth Instanzen", 8, 0)
item:GossipMenuAddItem(4, "Scherbenwelt Instanzen", 9, 0)
item:GossipMenuAddItem(4, "Startgebiete", 10, 0)
item:GossipMenuAdditem(4, "Events", 110, 0)
item:GossipMenuAddItem(4, "Hauptmen\195\188", 1002, 0)
item:GossipSendMenu(player)
end
--Hauptmenü Funktion
if(intid == 1002) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(4, "*Teleporten*", 1, 0)
item:GossipMenuAddItem(5, "Nachwirkungen Entfernen", 34, 0)
item:GossipMenuAddItem(5, "Happi & Goody", 310, 0)
item:GossipSendMenu(player)
end
--Horde Städte
if(intid == 5) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(2, "Ogrimmar", 51, 0)
item:GossipMenuAddItem(2, "Unterstadt", 52, 0)
item:GossipMenuAddItem(2, "Donnerfels", 53, 0)
item:GossipMenuAddItem(2, "Silbermond", 54, 0)
item:GossipMenuAddItem(2, "Kriegshymnenfeste", 128, 0)
item:GossipMenuAddItem(2, "Green City", 132, 0)
item:GossipMenuAddItem(4, "Hauptmen\195\188", 1002, 0)
item:GossipSendMenu(player)
end
--Allianz Städte
if(intid == 6) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(2, "Sturmwind", 55, 0)
item:GossipMenuAddItem(2, "Darnassus", 56, 0)
item:GossipMenuAddItem(2, "Eisenschmiede", 57, 0)
item:GossipMenuAddItem(2, "Exodar", 58, 0)
item:GossipMenuAddItem(2, "Valgarde", 135, 0)
item:GossipMenuAddItem(4, "Hauptmen\195\188", 1002, 0)
item:GossipSendMenu(player)
end
--Neutrale Punkte
if(intid == 7) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(2, "Quel'Danas", 59, 0)
item:GossipMenuAddItem(2, "Shattrath", 60, 0)
item:GossipMenuAddItem(2, "Gurubashi Arena", 61, 0)
item:GossipMenuAddItem(4, "Hauptmen\195\188", 1002, 0)
item:GossipSendMenu(player)
end
--Azeroth Instanzen
if(intid == 8) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(0, "Azeroth Raids", 12, 0)
item:GossipMenuAddItem(0, "Weitere Azeroth Instanzen", 14, 0)
item:GossipMenuAddItem(5, "Burg Schattenfang", 62, 0)
item:GossipMenuAddItem(5, "Das Scharlachrote Kloster", 63, 0)
item:GossipMenuAddItem(5, "Zul'Farrak", 64, 0)
item:GossipMenuAddItem(5, "Stratholme", 65, 0)
item:GossipMenuAddItem(5, "Scholomance", 66, 0)
item:GossipMenuAddItem(5, "Der Flammenschlund", 67, 0)
item:GossipMenuAddItem(5, "Die Todesmienen", 68, 0)
item:GossipMenuAddItem(5, "Die Höhlen des Wehklagens", 69, 0)
item:GossipMenuAddItem(5, "Tiefschwarze Grotte", 70, 0)
item:GossipMenuAddItem(5, "Verlies von Sturmwind", 71, 0)
item:GossipMenuAddItem(5, "Gnomeregan", 72, 0)
item:GossipMenuAddItem(5, "Kral der Klingenhauer", 73, 0)
item:GossipMenuAddItem(4, "Hauptmen\195\188", 1002, 0)
item:GossipSendMenu(player)
end
--Scherbenwelt Instanzen
if(intid == 9) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(0, "Scherbenwelt Raids", 13, 0)
item:GossipMenuAddItem(5, "Hoellenfeuerhalbinsel", 84, 0)
item:GossipMenuAddItem(5, "Hoellenfeuerbecken", 85, 0)
item:GossipMenuAddItem(5, "Die zerschmetterten Hallen", 86, 0)
item:GossipMenuAddItem(5, "Der Tiefensumpf", 87, 0)
item:GossipMenuAddItem(5, "Die Sklavenunterkuenfte", 88, 0)
item:GossipMenuAddItem(5, "Die Dampfkammer", 89, 0)
item:GossipMenuAddItem(5, "Managruft", 90, 0)
item:GossipMenuAddItem(5, "Auchenaikrypta", 91, 0)
item:GossipMenuAddItem(5, "Sethekkhallen", 92, 0)
item:GossipMenuAddItem(5, "Schattenlabyrinth", 93, 0)
item:GossipMenuAddItem(5, "Die Mechanar", 94, 0)
item:GossipMenuAddItem(5, "Die Botanika", 95, 0)
item:GossipMenuAddItem(5, "Die Arkatraz", 96, 0)
item:GossipMenuAddItem(4, "Hauptmen\195\188", 1002, 0)
item:GossipSendMenu(player)
end
--Anfangs Städte
if(intid == 10) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(2, "Tauren", 97, 0)
item:GossipMenuAddItem(2, "Trolle/Orks", 98, 0)
item:GossipMenuAddItem(2, "Untote", 99, 0)
item:GossipMenuAddItem(2, "Blutelfen", 100, 0)
item:GossipMenuAddItem(2, "Menschen", 101, 0)
item:GossipMenuAddItem(2, "Gnome/Zwerge", 102, 0)
item:GossipMenuAddItem(2, "Dreanai", 103, 0)
item:GossipMenuAddItem(2, "Nachtelfen", 104, 0)
item:GossipMenuAddItem(4, "Hauptmen\195\188", 1002, 0)
item:GossipSendMenu(player)
end
--Azeroth Raids
if(intid == 12) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(5, "Onyxias Hort", 74, 0)
item:GossipMenuAddItem(5, "Der geschmolzene Kern", 75, 0)
item:GossipMenuAddItem(5, "Pechschwingenhort", 76, 0)
item:GossipMenuAddItem(5, "Zul'Gurub", 77, 0)
item:GossipMenuAddItem(5, "Karazhan", 78, 0)
item:GossipMenuAddItem(5, "Ruinen von Ahn'Qiraj", 79, 0)
item:GossipMenuAddItem(5, "Tempel von Ahn'Qiraj", 80, 0)
item:GossipMenuAddItem(5, "Naxxramas", 81, 0)
item:GossipMenuAddItem(5, "Zul'Aman", 82, 0)
item:GossipMenuAddItem(5, "Hoehlen der Zeit", 83, 0)
item:GossipMenuAddItem(4, "Hauptmen\195\188", 1002, 0)
item:GossipSendMenu(player)
end
--Scherbenwelt Raids
if(intid == 13) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(5, "Der Schwarze Tempel", 110, 0)
item:GossipMenuAddItem(5, "Festung der Stuerme", 109, 0)
item:GossipMenuAddItem(5, "Gruuls Unterschlupf", 108, 0)
item:GossipMenuAddItem(5, "Hoehle des Schlangenschreins", 107, 0)
item:GossipMenuAddItem(5, "Magtheridons Kammer", 106, 0)
item:GossipMenuAddItem(4, "Hauptmen\195\188", 1002, 0)
item:GossipSendMenu(player)
end
--Weitere Azeroth Instanzen
if(intid == 14) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(5, "Uldaman", 111, 0)
item:GossipMenuAddItem(5, "Maraudon", 112, 0)
item:GossipMenuAddItem(5, "Versunkener Temple", 113, 0)
item:GossipMenuAddItem(5, "Schwarzfelstiefen", 114, 0)
item:GossipMenuAddItem(5, "Duesterbruch", 115, 0)
item:GossipMenuAddItem(5, "Schwarzfelsspitze", 116, 0)
item:GossipMenuAddItem(5, "Huegel der Klingenhauer", 117, 0)
item:GossipMenuAddItem(4, "Hauptmen\195\188", 1002, 0)
item:GossipSendMenu(player)
end
--Northrend Pors
if(intid == 200) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(2, "Dalaran", 124, 0)
item:GossipMenuAddItem(2, "Nordend", 125, 0)
item:GossipMenuAddItem(2, "Eiskronenzitadelle", 126, 0)
item:GossipMenuAddItem(2, "Geisterstadt", 127, 0)
item:GossipMenuAddItem(2, "Kaltara", 129, 0)
item:GossipMenuAddItem(2, "Hafen Moa'Ki", 134, 0)
item:GossipMenuAddItem(2, "Nordend Hafen - Horde", 308, 0)
item:GossipMenuAddItem(2, "Nordend Hafen - Allianz", 309, 0)
item:GossipMenuAddItem(4, "Hauptmen\195\188", 1002, 0)
item:GossipSendMenu(player)
end
--Level Arena
if(intid == 121) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(2, "Level Arena", 311, 0)
item:GossipSendMenu(player)
end
--Events
if(intid == 999) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(2, "Jump Event", 999, 0)
item:GossipSendMenu(player)
end
--PVP Arena
if(intid == 118) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(2, "Gurubashi", 400, 0)
item:GossipMenuAddItem(2, "Nagrand", 401, 0)
item:GossipMenuAddItem(4, "Hauptmen\195\188", 1002, 0)
item:GossipSendMenu(player)
end
--DK Startgebiet
if(intid == 122) then
item:GossipCreateMenu(3543, player, 0)
item:GossipMenuAddItem(2, "DK Startgebiet Unten", 300, 0)
item:GossipMenuAddItem(2, "DK Startgebiet Oben", 301, 0)
item:GossipMenuAddItem(4, "Hauptmen\195\188", 1002, 0)
item:GossipSendMenu(player)
end
if(intid == 34) then
player:LearnSpell(15007) -- Wiederbelebungsnachwirkung wegmachen
player:UnlearnSpell(15007)
item:GossipComplete(player)
end
-- Ogrimmar
if(intid == 51) then
player:Teleport(1, 1371.068970, -4370.801758, 26.052483)
player:GossipComplete()
end
-- Unterstadt
if(intid == 52) then
player:Teleport(0, 2050.203125, 285.650604, 56.994549)
player:GossipComplete()
end
-- Donnerfels
if(intid == 53) then
player:Teleport(1, -1304.569946, 205.285004, 68.681396)
player:GossipComplete()
end
-- Silbermond
if(intid == 54) then
player:Teleport(530, 9400.486328, -7278.376953, 14.206780)
player:GossipComplete()
end
-- Sturmwind
if(intid == 55) then
player:Teleport(0, -8913.14, 554.64, 93.80)
player:GossipComplete()
end
-- Darnassus
if(intid == 56) then
player:Teleport(1, 9952.90, 2280.39, 1341.40)
player:GossipComplete()
end
-- Eisenschmiede
if(intid == 57) then
player:Teleport(0, -4981.25, -881.55, 501.67)
player:GossipComplete()
end
-- Exodar
if(intid == 58) then
player:Teleport(530, -3990.99, -11855.60, 0.32)
player:GossipComplete()
end
-- Quel'Danas F
if(intid == 59) then
player:Teleport(530, 13004.500, -6910.250, 10.584)
player:GossipComplete()
end
-- Shattrath
if(intid == 60) then
player:Teleport(530, -1914.10, 5274.59, 2.43)
player:GossipComplete()
end
-- Gurubashi
if(intid == 61) then
player:Teleport(0, -13229.71, 225.48, 32.61)
player:GossipComplete()
end
-- Burg Schattenfang
if(intid == 62) then
player:Teleport(0, -234.495087, 1561.946411, 76.892143)
end
-- Das Scharlachrote Kloster
if(intid == 63) then
player:Teleport(0, 2870.442627, -819.985229, 160.331085)
end
-- Zul'Farrak
if(intid == 64) then
player:Teleport(1, -6797.278809, -2903.917969, 9.953360)
end
-- Stratholme
if(intid == 65) then
player:Teleport(0, 3360.736572, -3379.686279, 144.781952)
end
-- Scholomance
if(intid == 66) then
player:Teleport(0, 1267.468628, -2556.651367, 94.127983)
end
-- Der Flammenschlund
if(intid == 67) then
player:Teleport(389, 1.7849, -14.3685, -16.5533)
end
-- Die Todesmienen
if(intid == 68) then
player:Teleport(0, -11079.8, 1506.98, 42.9594)
end
-- Die Höhlen des Wehklagens
if(intid == 69) then
player:Teleport(1, -746.207, -2213.18, 15.8909)
end
-- Tiefschwarze Grotte
if(intid == 70) then
player:Teleport(48, -152.984, 106.33, -39.0953)
end
-- Verlies von Sturmwind
if(intid == 71) then
player:Teleport(0, -8776.78, 836.753, 93.1946)
end
-- Gnomeregan
if(intid == 72) then
player:Teleport(0, -5189.22, 524.796, 389.107)
end
-- Kral der Klingenhauer
if(intid == 73) then
player:Teleport(1, -4464.92, -1666.24, 91)
end
-- Onyxias Hort
if(intid == 74) then
player:Teleport(1, -4746, -3749, -2.0)
end
-- Der geschmolzene Kern
if(intid == 75) then
player:Teleport(409, 1089.6, -470.19, -106.41)
end
-- Pechschwingenhort
if(intid == 76) then
player:Teleport(469, -7665.55, -1102.49, 400.679)
end
-- Zul'Gurub
if(intid == 77) then
player:Teleport(0, -11919.073242, -1202.459374, 92.298744)
end
-- Karazhan
if(intid == 78) then
player:Teleport(532, -11087.3, -1977.47, 49.6135)
end
-- Ruinen von Ahn'Qiraj
if(intid == 79) then
player:Teleport(1, -8394.730469, 1485.658447, 21.038563)
end
-- Tempel von Ahn'Qiraj
if(intid == 80) then
player:Teleport(1, -8247.316406, 1970.156860, 129.071472)
end
-- Naxxramas
if(intid == 81) then
player:Teleport(533, 3006.06, -3436.72, 293.891)
end
-- Zul'Aman
if(intid == 82) then
player:Teleport(530, 6850, -7950, 170)
end
-- Hoehlen der Zeit
if(intid == 83) then
player:Teleport(1, -8519.718750, -4297.542480, -208.441376)
end
-- Hoellenfeuerhalbinsel
if(intid == 84) then
player:Teleport(530, -360.670990, 3071.899902, -15.097700)
end
-- Hoellenfeuerbecken
if(intid == 85) then
player:Teleport(530, -303.506012, 3164.820068, 31.742500)
end
-- Die zerschmetterten Hallen
if(intid == 86) then
player:Teleport(530, -311.083527, 3083.291748, -3.745923)
end
-- Der Tiefensumpf
if(intid == 87) then
player:Teleport(530, 777.088989, 6763.450195, -72.062561)
end
-- Die Sklavenunterkuenfte
if(intid == 88) then
player:Teleport(530, 719.507996, 6999.339844, -73.074303)
end
-- Die Dampfkammer
if(intid == 89) then
player:Teleport(530, 816.590027, 6934.669922, -80.544601)
end
-- Managruft
if(intid == 90) then
player:Teleport(530, -3079.810059, 4943.040039, -101.046997)
end
-- Auchenaikrypta
if(intid == 91) then
player:Teleport(530, -3361.959961, 5225.770020, -101.047997)
end
-- Sethekkhallen
if(intid == 92) then
player:Teleport(530, -3362.219971, 4660.410156, -101.049004)
end
-- Schattenlabyrinth
if(intid == 93) then
player:Teleport(530, -3645.060059, 4943.620117, -101.047997)
end
-- Die Mechanar
if(intid == 94) then
player:Teleport(530, 2862.409912, 1546.089966, 252.158691)
end
-- Die Botanika
if(intid == 95) then
player:Teleport(530, 3413.649902, 1483.319946, 182.837997)
end
-- Die Arkatraz
if(intid == 96) then
player:Teleport(530, 3311.598145, 1332.745117, 505.557251)
end
-- Tauren F
if(intid == 97) then
player:Teleport(1, -2917.581, -257.980, 53.99)
player:GossipComplete()
end
-- Trolle F
if(intid == 98) then
player:Teleport(1, -618.518, -4251.668, 39.700)
player:GossipComplete()
end
-- Untote F
if(intid == 99) then
player:Teleport(0, 1676.349, 1677.449, 122.669)
player:GossipComplete()
end
-- Blutelfen F
if(intid == 100) then
player:Teleport(530, 10349.599, -6357.290, 34.400)
player:GossipComplete()
end
-- Menschen F
if(intid == 101) then
player:Teleport(0, -8949.950, -132.492, 84.530)
player:GossipComplete()
end
-- Gnome F
if(intid == 102) then
player:Teleport(0, -6240.310, 331.032, 383.758)
player:GossipComplete()
end
-- Dreanai F
if(intid == 103) then
player:Teleport(530, -3961.631, -13931.200, 101.611)
player:GossipComplete()
end
-- Nachtelfen
if(intid == 104) then
player:Teleport(1, 10311.299, 832.463, 1327.400)
player:GossipComplete()
end
-- Magtheridons Kammer
if(intid == 106) then
player:Teleport(530, -313.678986, 3088.350098, -116.501999)
end
-- Hoehle des Schlangenschreins
if(intid == 107) then
player:Teleport(530, 830.542908, 6865.445801, -63.785503)
end
-- Gruuls Unterschlupf
if(intid == 108) then
player:Teleport(530, 3549.424072, 5179.854004, -4.430779)
end
-- Festung der Stuerme
if(intid == 109) then
player:Teleport(530, 3087.310059, 1373.790039, 184.643005)
end
-- Der Schwarze Tempel
if(intid == 110) then
player:Teleport(530, -3609.739990, 328.252014, 37.307701)
end
-- Uldaman
if(intid == 111) then
player:Teleport(70, -228.193, 46.1602, -45.0186)
end
-- Maraudon
if(intid == 112) then
player:Teleport(349, 419.84, 11.3365, -131.079)
end
-- Versunkener Temple
if(intid == 113) then
player:Teleport(0, -10349.1, -3849.67, -24.6078)
end
-- Schwarzfelstiefen
if(intid == 114) then
player:Teleport(230, 596.432, -188.498, -49)
end
-- Duesterbruch
if(intid == 115) then
player:Teleport(429, 254.588, -24.7395, -1.56062)
end
-- Schwarzfelsspitze
if(intid == 116) then
player:Teleport(229, 73.5083, -215.044, 53.3869)
end
-- Huegel der Klingenhauer
if(intid == 117) then
player:Teleport(129, 2591.99, 1101.25, 52.8593)
end
-- GamerTreff
if(intid == 119) then
player:Teleport(571, 3175.669922, -2245.310059, 116.024002)
end
-- Jump Event
if(intid == 999) then
player:Teleport(530, -1942.319946, 9139.459961, 261.148987)
end
if(intid == 123) then
player:SetModel(24191)
end
if(intid == 124) then
player:Teleport(571, 5804.7553, 639.7905, 666.9543)
end
if(intid == 125) then
player:Teleport(571, 2523.5646, 399.4978, 10.5381)
end
if(intid == 126) then
player:Teleport(571, 6731.0664, 2521.2758, 427.6698)
end
if(intid == 127) then
player:Teleport(571, 7446.8046, 4846.0263, 57.1769)
end
if(intid == 128) then
player:Teleport(571, 2829.6499, 6207.5297, 208.9199)
end
if(intid == 129) then
player:Teleport(571, 3879.1599, 6988.7797, 740.8029)
end
if(intid == 134) then
player:Teleport(571, 2774.9699, 934.8629, 22.7220)
end
if(intid == 135) then
player:Teleport(571, 637.9502, -4959.0869, 5.0294)
end
if(intid == 132) then
player:Teleport(571, 436.3615, -4556.2114, 245.5748)
end
if(intid == 133) then
player:Teleport(571, 743.7059, -2884.8400, 7.3546)
end
if(intid == 300) then
player:Teleport(609, 2350.33, -5668.303711, 383.666779)
player:GossipComplete()
end
if(intid == 301) then
player:Teleport(609, 2356.989, -5662.071289, 427.666779)
player:GossipComplete()
end
if(intid == 311) then
player:Teleport(1, 4638.359863, -3811.929932, 942.549011)
player:GossipComplete()
end
if(intid == 308) then
player:Teleport(571, 2756.0, -1829.0, 6.0)
player:GossipComplete()
end
if(intid == 309) then
player:Teleport(571, 2228.0, 5136.0, 6.0)
player:GossipComplete()
end
if(intid == 310) then
player:AddItem(43523, 20)
player:GossipComplete()
end
if(intid == 400) then
player:Teleport(0, -13281.935547, 122.591957, 25.561724)
end
if(intid == 401) then
player:Teleport(530, -2043.811646, 6653.391602, 13.052269)
end
end
RegisterItemGossipEvent(Itemid, 1, "Item_Talk")
RegisterItemGossipEvent(Itemid, 2, "Item_Select")
RegisterItemGossipEvent(Itemid, 3, "Item_Menu")
So ich habs euch mal gemacht bitte schön

Viel spaß damit.