Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[ Created by Ground Zero of MMOwned]--
- function All_in_one_item(item, event, player)
- if player:IsInCombat() == false then
- item:GossipCreateMenu(34832, player, 0)
- item:GossipMenuAddItem(5, "Player Tools", 1, 0)
- item:GossipMenuAddItem(5, "Weather Control", 2, 0)
- item:GossipMenuAddItem(3, "Buffs", 3, 0)
- item:GossipMenuAddItem(3, "Morphs", 4, 0)
- item:GossipMenuAddItem(9, "Teleport to GM Island", 9, 0)
- item:GossipMenuAddItem(2, "Close this Window.", 5, 0)
- item:GossipSendMenu(player)
- else
- player:SendAreaTriggerMessage("You are currently in Combat!")
- end
- end
- print("Created By Ground Zero of MMOwned")
- print("All In One Item Successfully Loaded!")
- function All_in_two_item(item, event, player, id, intid, code)
- if(intid == 1) then
- item:GossipCreateMenu(3433, player, 0)
- item:GossipMenuAddItem(5, "Reset my Talents", 200, 0)
- item:GossipMenuAddItem(3, "Show my Bank", 201, 0)
- item:GossipMenuAddItem(5, "Sex Change", 6, 0)
- item:GossipMenuAddItem(3, "Remove Resurrection Sickness", 850, 0)
- item:GossipMenuAddItem(2, "<- Back", 202, 0)
- item:GossipSendMenu(player)
- end
- if(intid == 2) then
- item:GossipCreateMenu(3434, player, 0)
- item:GossipMenuAddItem(5, "Sunny", 203, 0)
- item:GossipMenuAddItem(5, "Foggy", 204, 0)
- item:GossipMenuAddItem(5, "Raining", 205, 0)
- item:GossipMenuAddItem(5, "Snowing", 206, 0)
- item:GossipMenuAddItem(2, "<- Back", 202, 0)
- item:GossipSendMenu(player)
- end
- if (intid == 3) then
- if (player:HasAura(25472) == false) then
- player:CastSpell(48162)
- player:CastSpell(42995)
- player:CastSpell(58499)
- player:CastSpell(43046)
- player:CastSpell(25472)
- player:GossipComplete()
- else
- player:SendBroadcastMessage("You already have buffs on, wait a while and try again.")
- player:GossipComplete()
- end
- end
- if (intid == 4) then
- item:GossipCreateMenu(3435, player, 0)
- item:GossipMenuAddItem(5, "Goblin", 400, 0)
- item:GossipMenuAddItem(5, "Scourge Plaguespreader", 401, 0)
- item:GossipMenuAddItem(5, "Mudkip", 402, 0)
- item:GossipMenuAddItem(5, "Prince Arthas", 403, 0)
- item:GossipMenuAddItem(5, "Blood Elf Magi", 404, 0)
- item:GossipMenuAddItem(5, "Undead Pirate", 405, 0)
- item:GossipMenuAddItem(5, "Mecho Gnome", 406, 0)
- item:GossipMenuAddItem(1, "Demorph", 407, 0)
- item:GossipMenuAddItem(2, "<- Back", 202, 0)
- item:GossipSendMenu(player)
- end
- if (intid == 5) then
- player:GossipComplete()
- end
- if (intid == 9) then
- local name = player:GetName()
- if (player:IsGm() == true) then
- player:Teleport(1, 16225.210938, 16261.741211, 13.3)
- player:SendBroadcastMessage("Welcome <GM>"..name.." to GM Island.")
- else
- player:SendBroadcastMessage("You need to be a Gamemaster to Access this Feature!")
- end
- end
- if (intid == 400) then
- player:SetModel(23444)
- player:GossipComplete()
- end
- if (intid == 401) then
- player:SetModel(25323)
- player:GossipComplete()
- end
- if (intid == 402) then
- player:SetModel(25643)
- player:GossipComplete()
- end
- if (intid == 403) then
- player:SetModel(27544)
- player:GossipComplete()
- end
- if (intid == 404) then
- player:SetModel(27559)
- player:GossipComplete()
- end
- if (intid == 405) then
- player:SetModel(28129)
- player:GossipComplete()
- end
- if (intid == 406) then
- player:SetModel(28113)
- player:GossipComplete()
- end
- if (intid == 407) then
- player:DeMorph()
- player:GossipComplete()
- end
- if (intid == 850) then
- if (player:HasAura(15007) == true) then
- player:SendBroadcastMessage("Your Resurrection Sickness has been successfully removed.")
- player:RemoveAura(15007)
- player:GossipComplete()
- else
- player:SendBroadcastMessage("You currently do not have Resurrection Sickness!")
- player:GossipComplete()
- end
- end
- if(intid == 6) then
- item:GossipCreateMenu(3436, player, 0)
- item:GossipMenuAddItem(5, "Swap my Gender!", 900, 0)
- item:GossipMenuAddItem(2, "<- Back", 209, 0)
- item:GossipSendMenu(player)
- end
- if(intid == 209) then
- item:GossipCreateMenu(3433, player, 0)
- item:GossipMenuAddItem(5, "Reset my Talents", 200, 0)
- item:GossipMenuAddItem(3, "Show my Bank", 201, 0)
- item:GossipMenuAddItem(5, "Sex Change", 6, 0)
- item:GossipMenuAddItem(3, "Remove Resurrection Sickness", 850, 0)
- item:GossipMenuAddItem(2, "<- Back", 202, 0)
- item:GossipSendMenu(player)
- end
- if(intid == 200) then
- player:ResetTalents()
- player:SendBroadcastMessage("Talent points successfully reset.")
- player:GossipComplete()
- end
- if(intid == 201) then
- player:SendBankWindow(unit)
- player:GossipComplete()
- end
- if(intid == 202) then
- item:GossipCreateMenu(34832, player, 0)
- item:GossipMenuAddItem(5, "Player Tools", 1, 0)
- item:GossipMenuAddItem(5, "Weather Control", 2, 0)
- item:GossipMenuAddItem(3, "Buffs", 3, 0)
- item:GossipMenuAddItem(3, "Morphs", 4, 0)
- item:GossipMenuAddItem(8, "Teleport to GM Island", 9, 0)
- item:GossipMenuAddItem(2, "Close this Window.", 5, 0)
- item:GossipSendMenu(player)
- end
- if(intid == 203) then
- player:SetPlayerWeather(0, 1)
- player:SendBroadcastMessage("Weather Changed to Sunny.")
- player:GossipComplete()
- end
- if(intid == 204) then
- player:SetPlayerWeather(1, 1)
- player:SendBroadcastMessage("Weather Changed to Foggy.")
- player:GossipComplete()
- end
- if(intid == 205) then
- player:SetPlayerWeather(2, 1)
- player:SendBroadcastMessage("Weather Changed to Raining.")
- player:GossipComplete()
- end
- if(intid == 206) then
- player:SetPlayerWeather(8, 1)
- player:SendBroadcastMessage("Weather Changed to Snowing.")
- player:GossipComplete()
- end
- if(intid == 900) then
- if (player:GetGender() == 0) then
- player:SetGender(1)
- player:SendBroadcastMessage("Gender Changed from Male to Female, please Relog.")
- player:GossipComplete()
- else
- if (player:GetGender() == 1) then
- player:SetGender(0)
- player:SendBroadcastMessage("Gender Changed from Female to Male, please Relog.")
- player:GossipComplete()
- end
- end
- end
- if(intid == 902) then
- player:GossipComplete()
- end
- end
- RegisterItemGossipEvent(80000, 1, "All_in_one_item")
- RegisterItemGossipEvent(80000, 2, "All_in_two_item")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement