-------------------------------------------------------------------------
-- Please leave this credit intact, this was made by WoW Virus |
-- If you find any bug's, please me Email "
[email protected]" |
-------------------------------------------------------------------------
local npcid = 444444
function NPC_main_menu(pUnit, player)
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(3, "Welcome to SERVER NAME", 270, 0)
pUnit:GossipMenuAddItem(3, "Read the sections below.", 271, 0)
pUnit:GossipMenuAddItem(0, "Common Questions.", 273, 0)
pUnit:GossipMenuAddItem(0, "Rules", 274, 0)
pUnit:GossipMenuAddItem(0, "Website - Forum", 275, 0)
pUnit:GossipMenuAddItem(0, "Horde cities", 220, 0)
pUnit:GossipMenuAddItem(0, "Alliance cities", 221, 0)
pUnit:GossipMenuAddItem(0, "Azeroth Instances", 222, 0)
pUnit:GossipMenuAddItem(0, "Outland Instances", 223, 0)
pUnit:GossipMenuAddItem(0, "Other instances (rename)", 224, 0)
pUnit:GossipMenuAddItem(1, "Shattrath", 225, 0)
pUnit:GossipMenuAddItem(1, "Alliance Mall", 226, 0)
pUnit:GossipMenuAddItem(1, "Horde Mall", 227, 0)
pUnit:GossipMenuAddItem(0, "Buff me up.", 228, 0)
pUnit:GossipMenuAddItem(1, "Remove Rez Sickness", 229, 0)
pUnit:GossipSendMenu(player)
end
function NPC_on_gossip_talk(pUnit, event, player)
NPC_main_menu(pUnit, player)
end
function NPC_on_gossip_select(pUnit, event, player, id, intid, code, pMisc)
if(intid == 273) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:SendChatMessage(12, 0, "This section contains Common Questions that is asked on this server.")
pUnit:GossipMenuAddItem(4, "Q: Question", 276, 0)
pUnit:GossipMenuAddItem(4, "A: Answer", 277, 0)
pUnit:GossipMenuAddItem(4, "-----------------", 291, 0)
pUnit:GossipMenuAddItem(4, "Q: Question", 278, 0)
pUnit:GossipMenuAddItem(4, "A: Answer", 279, 0)
pUnit:GossipMenuAddItem(4, "-----------------", 290, 0)
pUnit:GossipMenuAddItem(4, "Q: Question", 280, 0)
pUnit:GossipMenuAddItem(4, "A: Answer", 281, 0)
pUnit:GossipMenuAddItem(4, "-----------------", 289, 0)
pUnit:GossipMenuAddItem(4, "Q: Question", 282, 0)
pUnit:GossipMenuAddItem(4, "A: Answer", 283, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 274) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:SendChatMessage(12, 0, "Check the rules section closely.")
pUnit:GossipMenuAddItem(4, "RULES HERE", 284, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 275) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(4, "Please visit our Website to help us grow!", 285, 0)
pUnit:GossipMenuAddItem(4, "WEBSITE NAME HERE", 286, 0)
pUnit:GossipMenuAddItem(4, "Visit our forums to chat with the community!", 287, 0)
pUnit:GossipMenuAddItem(4, "FORUMS HERE", 288, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 220) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(1, "Orgrimmar", 9, 0)
pUnit:GossipMenuAddItem(1, "Undercity", 10, 0)
pUnit:GossipMenuAddItem(1, "Thunder Bluff", 11, 0)
pUnit:GossipMenuAddItem(1, "Silvermoon", 12, 0)
pUnit:GossipMenuAddItem(1, "[Back]", 100, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 221) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(1, "Stormwind", 14, 0)
pUnit:GossipMenuAddItem(1, "Ironforge", 15, 0)
pUnit:GossipMenuAddItem(1, "Darnassus", 16, 0)
pUnit:GossipMenuAddItem(1, "Exodar", 17, 0)
pUnit:GossipMenuAddItem(1, "[Back]", 100, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 222) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem0, "Azeroth Raids", 3, 0)
pUnit:GossipMenuAddItem(1, "Shadowfang Keep", 19, 0)
pUnit:GossipMenuAddItem(1, "Scarlet Monastery", 20, 0)
pUnit:GossipMenuAddItem(1, "Zul'Farrak", 21, 0)
pUnit:GossipMenuAddItem(1, "Stratholme", 22, 0)
pUnit:GossipMenuAddItem(1, "Scholomance", 23, 0)
pUnit:GossipMenuAddItem(1, "Ragefire", 110, 0)
pUnit:GossipMenuAddItem(1, "Deathmines", 170, 0)
pUnit:GossipMenuAddItem(1, "Those caverns in barrens xX", 111,0)
pUnit:GossipMenuAddItem(1, "Blackfathom deepths", 112, 0)
pUnit:GossipMenuAddItem(1, "This instance in Stormwind ", 113,0)
pUnit:GossipMenuAddItem(1, "Gnomeregan", 114, 0)
pUnit:GossipMenuAddItem(1, "Razorfen thing number 1", 115, 0)
pUnit:GossipMenuAddItem(1, "Razorfen hills", 116, 0)
pUnit:GossipMenuAddItem(1, "Uldaman", 117, 0)
pUnit:GossipMenuAddItem(1, "Maraudon", 118, 0)
pUnit:GossipMenuAddItem(1, "Sunken temple", 119, 0)
pUnit:GossipMenuAddItem(1, "Lower Blackrock", 120, 0)
pUnit:GossipMenuAddItem(1, "Dire Maul", 121, 0)
pUnit:GossipMenuAddItem(1, "Upper Blackrock", 122, 0)
pUnit:GossipMenuAddItem(1, "[Back]", 100, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 223) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(1, "Outland Raids", 4, 0)
pUnit:GossipMenuAddItem(1, "Hellfire Ramparts", 25, 0)
pUnit:GossipMenuAddItem(1, "Blood furnace", 26, 0)
pUnit:GossipMenuAddItem(1, "Shattered Halls", 27, 0)
pUnit:GossipMenuAddItem(1, "Underbog", 28, 0)
pUnit:GossipMenuAddItem(1, "Slave pens", 29, 0)
pUnit:GossipMenuAddItem(1, "Steam whatever ", 30, 0)
pUnit:GossipMenuAddItem(1, "Mana tombs", 31, 0)
pUnit:GossipMenuAddItem(1, "Auchenai crypts", 32, 0)
pUnit:GossipMenuAddItem(1, "Sethekk halls", 33, 0)
pUnit:GossipMenuAddItem(1, "Shadow lab", 34, 0)
pUnit:GossipMenuAddItem(1, "Mechanar", 35, 0)
pUnit:GossipMenuAddItem(1, "Bota whatever Oo", 36, 0)
pUnit:GossipMenuAddItem(1, "Arcatraz", 37, 0)
pUnit:GossipMenuAddItem(1, "Caverns of Time", 52, 0)
pUnit:GossipMenuAddItem(1, "[Back]", 100, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 224) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(1, "Onyxias Lair", 39, 0)
pUnit:GossipMenuAddItem(1, "Molten Core", 40, 0)
pUnit:GossipMenuAddItem(1, "Blackwing Lair", 123, 0)
pUnit:GossipMenuAddItem(1, "Zul'Gurub", 41, 0)
pUnit:GossipMenuAddItem(1, "Karazhan", 42, 0)
pUnit:GossipMenuAddItem(1, "Ruins of Ahn'Qiraj", 43, 0)
pUnit:GossipMenuAddItem(1, "Temple of Ahn'Qiraj", 44, 0)
pUnit:GossipMenuAddItem(1, "Naxxramas", 45, 0)
pUnit:GossipMenuAddItem(1, "Zul'Aman", 124, 0)
pUnit:GossipMenuAddItem(1, "Caverns of Time", 52, 0)
pUnit:GossipMenuAddItem(1, "[Back]", 100, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 225) then
pUnit:GossipCreateMenu(3543, player, 0)
pUnit:GossipMenuAddItem(1, "Black Temple", 50, 0)
pUnit:GossipMenuAddItem(1, "Tempest Keep", 49, 0)
pUnit:GossipMenuAddItem(1, "Gruuls Lair", 48, 0)
pUnit:GossipMenuAddItem(1, "Serpentshrine caverns", 47, 0)
pUnit:GossipMenuAddItem(1, "Maghteridons Lair", 46, 0)
pUnit:GossipMenuAddItem(1, "[Back]", 100, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 12) then
player:Teleport(530, 9400.486328, -7278.376953, 14.206780)
end
if(intid == 9) then
player:Teleport(1, 1371.068970, -4370.801758, 26.052483)
end
if(intid == 11) then
player:Teleport(1, -1304.569946, 205.285004, 68.681396)
end
if(intid == 10) then
player:Teleport(0, 2050.203125, 285.650604, 56.994549)
end
if(intid == 17) then
player:Teleport(530, -4072.202393, -12014.337891, -1.277277)
end
if(intid == 14) then
player:Teleport(0, -9100.480469, 406.950745, 92.594185)
end
if(intid == 15) then
player:Teleport(0, -5028.265137, -825.976563, 495.301575)
end
if(intid == 16) then
player:Teleport(1, 9985.907227, 1971.155640, 1326.815674)
end
if(intid == 51) then
player:Teleport(530, -1887.510010, 5359.379883, -12.427300)
end
if(intid == 19) then
player:Teleport(0, -234.495087, 1561.946411, 76.892143)
end
if(intid == 20) then
player:Teleport(0, 2870.442627, -819.985229, 160.331085)
end
if(intid == 21) then
player:Teleport(1, -6797.278809, -2903.917969, 9.953360)
end
if(intid == 41) then
player:Teleport(0, -11919.073242, -1202.459374, 92.298744)
end
if(intid == 43) then
player:Teleport(1, -8394.730469, 1485.658447, 21.038563)
end
if(intid == 44) then
player:Teleport(1, -8247.316406, 1970.156860, 129.071472)
end
if(intid == 40) then
player:Teleport(409, 1089.6, -470.19, -106.41)
end
if(intid == 39) then
player:Teleport(1, -4746, -3749, -4.0)
end
if(intid == 45) then
player:Teleport(533, 3006.06, -3436.72, 293.891)
end
if(intid == 23) then
player:Teleport(0, 1267.468628, -2556.651367, 94.127983)
end
if(intid == 24) then
player:Teleport(0, 3359.111572, -3380.8444238, 144.781860)
end
if(intid == 3

then
player:Teleport(0, -7527.129883, -1224.997437, 285.733002)
end
if(intid == 42) then
player:Teleport(532, -11087.3, -1977.47, 49.6135)
end
if(intid == 52) then
player:Teleport(1, -8519.718750, -4297.542480, -208.441376)
end
if(intid == 25) then
player:Teleport(530, -360.670990, 3071.899902, -15.097700)
end
if(intid == 26) then
player:Teleport(530, -303.506012, 3164.820068, 31.742500)
end
if(intid == 27) then
player:Teleport(530, -311.083527, 3083.291748, -3.745923)
end
if(intid == 2

then
player:Teleport(530, 777.088989, 6763.450195, -72.062561)
end
if(intid == 29) then
player:Teleport(530, 719.507996, 6999.339844, -73.074303)
end
if(intid == 30) then
player:Teleport(530, 816.590027, 6934.669922, -80.544601)
end
if(intid == 31) then
player:Teleport(530, -3079.810059, 4943.040039, -101.046997)
end
if(intid == 32) then
player:Teleport(530, -3361.959961, 5225.770020, -101.047997)
end
if(intid == 33) then
player:Teleport(530, -3362.219971, 4660.410156, -101.049004)
end
if(intid == 34) then
player:Teleport(530, -3645.060059, 4943.620117, -101.047997)
end
if(intid == 35) then
player:Teleport(530, 2862.409912, 1546.089966, 252.158691)
end
if(intid == 36) then
player:Teleport(530, 3413.649902, 1483.319946, 182.837997)
end
if(intid == 37) then
player:Teleport(530, 3311.598145, 1332.745117, 505.557251)
end
if(intid == 46) then
player:Teleport(530, -313.678986, 3088.350098, -116.501999)
end
if(intid == 47) then
player:Teleport(530, 830.542908, 6865.445801, -63.785503)
end
if(intid == 4

then
player:Teleport(530, 3549.424072, 5179.854004, -4.430779)
end
if(intid == 49) then
player:Teleport(530, 3087.310059, 1373.790039, 184.643005)
end
if(intid == 50) then
player:Teleport(530, -3609.739990, 328.252014, 37.307701)
end
if(intid == 124) then
player:Teleport(530, 6850, -7950, 170)
end
if(intid == 136) then
player:Teleport(0, -13152.9, 342.729, 53.132

end
if(intid = 110) then
player:Teleport(389, 1.7849, -14.3685, -16.5533)
end
if(intid == 111) then
player:Teleport(1, -746.207, -2213.18, 15.8909)
end
if(intid == 112) then
player:Teleport(48, -152.984, 106.33, -39.0953)
end
if(intid == 113) then
player:Teleport(0, -8776.78, 836.753, 93.1946)
end
if(intid == 114) then
player:Teleport(0, -5189.22, 524.796, 389.107)
end
if(intid == 115) then
player:Teleport(1, -4464.92, -1666.24, 91)
end
if(intid == 116) then
player:Teleport(129, 2591.99, 1101.25, 52.8593)
end
if(intid == 117) then
player:Teleport(70, -228.193, 46.1602, -45.0186)
end
if(intid == 11

then
player:Teleport(349, 419.84, 11.3365, -131.079)
end
if(intid == 119) then
player:Teleport(0, -10349.1, -3849.67, -24.607

end
if(intid == 120) then
player:Teleport(230, 596.432, -188.498, -49)
end
if(intid == 121) then
player:Teleport(429, 254.588, -24.7395, -1.56062)
end
if(intid == 122) then
player:Teleport(229, 73.5083, -215.044, 53.3869)
end
if(intid == 123) then
player:Teleport(469, -7665.55, -1102.49, 400.679)
end
if(intid == 170) then
player:Teleport(0, -11079.8, 1506.98, 42.9594)
end
if(intid == 180) then
player:Teleport(0, -8288.58, 1166.03, 164.839)
end
if(intid == 181) then
player:Teleport(1, -1183.64, -1364.91, 394.604)
end
if (intid == 22

then
pUnit:CastSpellOnTarget(33077, player)
pUnit:GossipComplete(player)
end
if (intid == 22

then
pUnit:CastSpellOnTarget(33078, player)
pUnit:GossipComplete(player)
end
if (intid == 22

then
pUnit:CastSpellOnTarget(33079, player)
pUnit:GossipComplete(player)
end
if (intid == 22

then
pUnit:CastSpellOnTarget(33080, player)
pUnit:GossipComplete(player)
end
if (intid == 22

then
pUnit:CastSpellOnTarget(33081, player)
pUnit:GossipComplete(player)
end
if (intid == 22

then
pUnit:CastSpellOnTarget(33082, player)
pUnit:GossipComplete(player)
end
if (intid == 229) then
player:LearnSpell(15007) -- Remove Resurrection Sickness
player:UnlearnSpell(15007)
pUnit:SendChatMessage(12, 0, "Nub...Oh My Gawd!")
pUnit:GossipComplete(player)
end
intid = 0
end
RegisterUnitGossipEvent(NPC ID HERE, 1, "NPC_on_gossip_talk")
RegisterUnitGossipEvent(YOUR NPC ID HERE, 2, "NPC_on_gossip_select")