Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 21st, 2010 | Syntax: Lua | Size: 20.90 KB | Hits: 39 | Expires: Never
Copy text to clipboard
  1. --[[ Massive Rock v1.3
  2.  Made by RemusRowle
  3.  
  4.  Thanks to Kzan for Guild Options!
  5.  
  6.  What the Rock does
  7.  1.Gives you health potions.
  8.  2.Gives you mana potions.
  9.  3.Sets your home anywhere you want.
  10.  4.Removes res sickness.
  11.  ****Stuff Below added in 1.2****
  12.  5.Sets Your Level.
  13.  6.Set Health/MaxHealth.
  14.  7.Set Mana/Max Mana.
  15.  8.Trains you.
  16.  9. Changes your Gender
  17.  10.Several guild options.
  18.  ****Stuff Below added in 1.3****
  19.  11. Sets your scale.
  20.  12. Plays music!
  21.  13. Removes any auras you might have on.
  22.  14. Changes display id randomly.
  23.  15. Increases RunSpeed
  24.  16. Summons a Repair merchant based on race.
  25. ]]--
  26.  
  27. local ItemRockID = EntryID Here
  28.  
  29. function Rock_OnClick(Item, Event, player)
  30.          if (player:IsInCombat() == true) then
  31.                         player:SendBroadCastMessage("You can't use this while in combat")
  32.                 else
  33.                
  34.                 item:GossipCreateMenu(1, player, 0)
  35.                                 item:GossipMenuAddItem(4, "Health", 5, 0)
  36.                                 item:GossipMenuAddItem(4, "Mana", 6, 0)
  37.                                 item:GossipMenuAddItem(3, "Set Home here", 7, 0)
  38.                                 item:GossipMenuAddItem(2, "Remove Sickness", 8, 0)
  39.                                 item:GossipMenuAddItem(4, "Set My Level", 9, 0)
  40.                                 item:GossipMenuAddItem(4, "Set My Health", 10, 0)
  41.                                 item:GossipMenuAddItem(4, "Set My Max Health", 11, 0)
  42.                                 item:GossipMenuAddItem(4, "Set My Mana", 12, 0)
  43.                                 item:GossipMenuAddItem(4, "Set My Max Mana", 13, 0)
  44.                                 item:GossipMenuAddItem(4, "My Trainer", 14, 0)
  45.                                 item:GossipMenuAddItem(4, "Gender Change", 15, 0)
  46.                                 item:GossipMenuAddItem(4, "My Guild", 16, 0)
  47.                                 item:GossipMenuAddItem(4, "Set Scale", 17, 0)
  48.                                 item:GossipMenuAddItem(4, "For The Horde!", 18, 0)
  49.                                 item:GossipMenuAddItem(4, "Remove ALL Auras", 19, 0)
  50.                                 item:GossipMenuAddItem(4, "Change Display", 20, 0)
  51.                                 item:GossipMenuAddItem(4, "Increase RunSpeed", 21, 0)
  52.                                 item:GossipMenuAddItem(4, "Repair Merchant", 22, 0)
  53.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  54.                                 item:GossipSendMenu(player)
  55.             end
  56. end
  57.                
  58. function Rock_OnSelect(item, event, player, id, intid, code)
  59. local race  = :GetPlayerRace()
  60. Choice=math.random(1,5)
  61.  
  62.         if(intid == 5) then
  63.                   player:AddItem(3928, 5)
  64.                   player:SendBroadCastMessage("You have recieved 5 Superior Healing potions!")
  65.                   item:GossipComplete(player)
  66.                 end
  67.                
  68.                 if(intid == 6) then
  69.             player:AddItem(43530, 5)
  70.             player:SendBroadCastMessage("You have recieved 5 Argent Mana Potions")
  71.                 item:GossipComplete(player)
  72.                 end
  73.                
  74.                 if(intid == 7) then
  75.                     local PlyrX = player:GetX()
  76.                         local PlyrY = player:GetY()
  77.                         local PlyrZ = player:GetZ()
  78.                         local PlyrMapID = player:GetMapID()
  79.                         local PlyrAreaID = player:GetAreaID()
  80.                 player:SetBindPoint(PlyrX, PlyrY, PlyrZ, PlyrMapID, PlyrAreaID)
  81.                 end
  82.                
  83.                 if(intid == 8) then
  84.                 if (player:HasAura(15007) == true) then
  85.                                 player:SendBroadcastMessage("Careful, you might hurt yourself")
  86.                                         player:RemoveAura(15007)
  87.                                         player:GossipComplete()
  88.                         else
  89.                                 player:SendBroadCastMessage("You don't appear to be sickened")
  90.                                         player:GossipComplete()
  91.                 end
  92.         end
  93.      
  94.         if(intid == 9) then
  95.                 item:GossipCreateMenu(1, player, 0)
  96.                                 item:GossipMenuAddItem(4, "1-20", 100, 0)
  97.                                 item:GossipMenuAddItem(4, "20-40", 101, 0)
  98.                                 item:GossipMenuAddItem(3, "40-60", 102, 0)
  99.                                 item:GossipMenuAddItem(2, "60-79", 103, 0)
  100.                                 item:GossipMenuAddItem(4, "80", 104, 0)
  101.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  102.                                 item:GossipSendMenu(player)
  103.                 end
  104.                
  105.                 if(intid == 100) then
  106.          item:GossipCreateMenu(1, player, 0)
  107.                                 item:GossipMenuAddItem(4, "1", 201, 0)
  108.                                 item:GossipMenuAddItem(4, "2", 202, 0)
  109.                                 item:GossipMenuAddItem(3, "3", 203, 0)
  110.                                 item:GossipMenuAddItem(2, "4", 204, 0)
  111.                                 item:GossipMenuAddItem(4, "5", 205, 0)
  112.                                 item:GossipMenuAddItem(4, "6", 206, 0)
  113.                                 item:GossipMenuAddItem(3, "7", 207, 0)
  114.                                 item:GossipMenuAddItem(2, "8", 208, 0)
  115.                                 item:GossipMenuAddItem(4, "9", 209, 0)
  116.                                 item:GossipMenuAddItem(4, "10", 210, 0)
  117.                                 item:GossipMenuAddItem(4, "11", 211, 0)
  118.                                 item:GossipMenuAddItem(3, "12", 212, 0)
  119.                                 item:GossipMenuAddItem(2, "13", 213, 0)
  120.                                 item:GossipMenuAddItem(4, "14", 214, 0)
  121.                                 item:GossipMenuAddItem(4, "15", 215, 0)
  122.                                 item:GossipMenuAddItem(3, "16", 216, 0)
  123.                                 item:GossipMenuAddItem(2, "17", 217, 0)
  124.                                 item:GossipMenuAddItem(4, "18", 218, 0)
  125.                                 item:GossipMenuAddItem(2, "19", 219, 0)
  126.                                 item:GossipMenuAddItem(4, "20", 220, 0)
  127.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  128.                                 item:GossipSendMenu(player)
  129.             end
  130.                
  131.                         if(intid == 101) then
  132.          item:GossipCreateMenu(1, player, 0)
  133.                                 item:GossipMenuAddItem(4, "21", 221, 0)
  134.                                 item:GossipMenuAddItem(4, "22", 222, 0)
  135.                                 item:GossipMenuAddItem(3, "23", 223, 0)
  136.                                 item:GossipMenuAddItem(2, "24", 224, 0)
  137.                                 item:GossipMenuAddItem(4, "25", 225, 0)
  138.                                 item:GossipMenuAddItem(4, "26", 226, 0)
  139.                                 item:GossipMenuAddItem(3, "27", 227, 0)
  140.                                 item:GossipMenuAddItem(2, "28", 228, 0)
  141.                                 item:GossipMenuAddItem(4, "29", 229, 0)
  142.                                 item:GossipMenuAddItem(4, "30", 230, 0)
  143.                                 item:GossipMenuAddItem(4, "31", 231, 0)
  144.                                 item:GossipMenuAddItem(3, "32", 232, 0)
  145.                                 item:GossipMenuAddItem(2, "33", 233, 0)
  146.                                 item:GossipMenuAddItem(4, "34", 234, 0)
  147.                                 item:GossipMenuAddItem(4, "35", 235, 0)
  148.                                 item:GossipMenuAddItem(3, "36", 236, 0)
  149.                                 item:GossipMenuAddItem(2, "37", 237, 0)
  150.                                 item:GossipMenuAddItem(4, "38", 238, 0)
  151.                                 item:GossipMenuAddItem(2, "39", 239, 0)
  152.                                 item:GossipMenuAddItem(4, "40", 240, 0)
  153.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  154.                                 item:GossipSendMenu(player)
  155.             end
  156.                
  157.                         if(intid == 102) then
  158.          item:GossipCreateMenu(1, player, 0)
  159.                                 item:GossipMenuAddItem(4, "41", 241, 0)
  160.                                 item:GossipMenuAddItem(4, "42", 242, 0)
  161.                                 item:GossipMenuAddItem(3, "43", 243, 0)
  162.                                 item:GossipMenuAddItem(2, "44", 244, 0)
  163.                                 item:GossipMenuAddItem(4, "45", 245, 0)
  164.                                 item:GossipMenuAddItem(4, "46", 246, 0)
  165.                                 item:GossipMenuAddItem(3, "47", 247, 0)
  166.                                 item:GossipMenuAddItem(2, "48", 248, 0)
  167.                                 item:GossipMenuAddItem(4, "49", 249, 0)
  168.                                 item:GossipMenuAddItem(4, "50", 250, 0)
  169.                                 item:GossipMenuAddItem(4, "51", 251, 0)
  170.                                 item:GossipMenuAddItem(3, "52", 252, 0)
  171.                                 item:GossipMenuAddItem(2, "53", 253, 0)
  172.                                 item:GossipMenuAddItem(4, "54", 254, 0)
  173.                                 item:GossipMenuAddItem(4, "55", 255, 0)
  174.                                 item:GossipMenuAddItem(3, "56", 256, 0)
  175.                                 item:GossipMenuAddItem(2, "57", 257, 0)
  176.                                 item:GossipMenuAddItem(4, "58", 258, 0)
  177.                                 item:GossipMenuAddItem(2, "59", 259, 0)
  178.                                 item:GossipMenuAddItem(4, "60", 260, 0)
  179.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  180.                                 item:GossipSendMenu(player)
  181.             end
  182.                
  183.                 if(intid == 103) then
  184.          item:GossipCreateMenu(1, player, 0)
  185.                                 item:GossipMenuAddItem(4, "61", 261, 0)
  186.                                 item:GossipMenuAddItem(4, "62", 262, 0)
  187.                                 item:GossipMenuAddItem(3, "63", 263, 0)
  188.                                 item:GossipMenuAddItem(2, "64", 264, 0)
  189.                                 item:GossipMenuAddItem(4, "65", 265, 0)
  190.                                 item:GossipMenuAddItem(4, "66", 266, 0)
  191.                                 item:GossipMenuAddItem(3, "67", 267, 0)
  192.                                 item:GossipMenuAddItem(2, "68", 268, 0)
  193.                                 item:GossipMenuAddItem(4, "69", 269, 0)
  194.                                 item:GossipMenuAddItem(4, "70", 270, 0)
  195.                                 item:GossipMenuAddItem(4, "71", 271, 0)
  196.                                 item:GossipMenuAddItem(3, "72", 272, 0)
  197.                                 item:GossipMenuAddItem(2, "73", 273, 0)
  198.                                 item:GossipMenuAddItem(4, "74", 274, 0)
  199.                                 item:GossipMenuAddItem(4, "75", 275, 0)
  200.                                 item:GossipMenuAddItem(3, "76", 276, 0)
  201.                                 item:GossipMenuAddItem(2, "77", 277, 0)
  202.                                 item:GossipMenuAddItem(4, "78", 278, 0)
  203.                                 item:GossipMenuAddItem(2, "79", 279, 0)
  204.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  205.                                 item:GossipSendMenu(player)
  206.             end
  207.                
  208.                 if(intid == 104) then
  209.                 item:GossipCreateMenu(1, player, 0)
  210.                      item:GossipMenuAddItem(4, "80", 280, 0)
  211.                          item:GossipMenuAddItem(4, "Done", 999, 0)
  212.                          item:GossipSendMenu(player)
  213.                 end
  214.                
  215.                 if(intid == 201) then
  216.                 player:SetLevel(1)
  217.                 end
  218.                
  219.                 if(intid == 202) then
  220.                 player:SetLevel(2)
  221.                 end
  222.                
  223.                 if(intid == 203) then
  224.                 player:SetLevel(3)
  225.                 end
  226.                
  227.                 if(intid == 204) then
  228.                 player:SetLevel(4)
  229.                 end
  230.                
  231.                 if(intid == 205) then
  232.                 player:SetLevel(5)
  233.                 end
  234.                
  235.                 if(intid == 206) then
  236.                 player:SetLevel(6)
  237.                 end
  238.                
  239.                 if(intid == 207) then
  240.                 player:SetLevel(7)
  241.                 end
  242.                
  243.                 if(intid == 208) then
  244.                 player:SetLevel(8)
  245.                 end
  246.                
  247.                 if(intid == 209) then
  248.                 player:SetLevel(9)
  249.                 end
  250.                
  251.                 if(intid == 210) then
  252.                 player:SetLevel(10)
  253.                 end
  254.                
  255.                 if(intid == 211) then
  256.                 player:SetLevel(11)
  257.                 end
  258.                
  259.                 if(intid == 212) then
  260.                 player:SetLevel(12)
  261.                 end
  262.                
  263.                 if(intid == 213) then
  264.                 player:SetLevel(13)
  265.                 end
  266.                
  267.                 if(intid == 214) then
  268.                 player:SetLevel(14)
  269.                 end
  270.                
  271.                 if(intid == 215) then
  272.                 player:SetLevel(15)
  273.                 end
  274.                
  275.                 if(intid == 216) then
  276.                 player:SetLevel(16)
  277.                 end
  278.                
  279.                 if(intid == 217) then
  280.                 player:SetLevel(17)
  281.                 end
  282.                
  283.                 if(intid == 218) then
  284.                 player:SetLevel(18)
  285.                 end
  286.                
  287.                 if(intid == 219) then
  288.                 player:SetLevel(19)
  289.                 end
  290.                
  291.                 if(intid == 220) then
  292.                 player:SetLevel(20)
  293.                 end
  294.                
  295.                 if(intid == 221) then
  296.                 player:SetLevel(21)
  297.                 end
  298.                
  299.                 if(intid == 222) then
  300.                 player:SetLevel(22)
  301.                 end
  302.                
  303.                 if(intid == 223) then
  304.                 player:SetLevel(23)
  305.                 end
  306.                
  307.                 if(intid == 224) then
  308.                 player:SetLevel(24)
  309.                 end
  310.                
  311.                 if(intid == 225) then
  312.                 player:SetLevel(25)
  313.                 end
  314.                
  315.                 if(intid == 226) then
  316.                 player:SetLevel(26)
  317.                 end
  318.                
  319.                 if(intid == 227) then
  320.                 player:SetLevel(27)
  321.                 end
  322.                
  323.                 if(intid == 228) then
  324.                 player:SetLevel(28)
  325.                 end
  326.                
  327.                 if(intid == 229) then
  328.                 player:SetLevel(29)
  329.                 end
  330.                
  331.                 if(intid == 230) then
  332.                 player:SetLevel(30)
  333.                 end
  334.                
  335.                 if(intid == 231) then
  336.                 player:SetLevel(31)
  337.                 end
  338.                
  339.                 if(intid == 232) then
  340.                 player:SetLevel(32)
  341.                 end
  342.                
  343.                 if(intid == 233) then
  344.                 player:SetLevel(33)
  345.                 end
  346.                
  347.                 if(intid == 234) then
  348.                 player:SetLevel(34)
  349.                 end
  350.                
  351.                 if(intid == 235) then
  352.                 player:SetLevel(35)
  353.                 end
  354.                
  355.                 if(intid == 236) then
  356.                 player:SetLevel(36)
  357.                 end
  358.                
  359.                 if(intid == 237) then
  360.                 player:SetLevel(37)
  361.                 end
  362.                
  363.                 if(intid == 238) then
  364.                 player:SetLevel(38)
  365.                 end
  366.                
  367.                 if(intid == 239) then
  368.                 player:SetLevel(39)
  369.                 end
  370.                
  371.                 if(intid == 240) then
  372.                 player:SetLevel(40)
  373.                 end
  374.                
  375.                 if(intid == 241) then
  376.                 player:SetLevel(41)
  377.                 end
  378.                
  379.                 if(intid == 242) then
  380.                 player:SetLevel(42)
  381.                 end
  382.                
  383.                 if(intid == 243) then
  384.                 player:SetLevel(43)
  385.                 end
  386.                
  387.                 if(intid == 244) then
  388.                 player:SetLevel(44)
  389.                 end
  390.                
  391.                 if(intid == 245) then
  392.                 player:SetLevel(45)
  393.                 end
  394.                
  395.                 if(intid == 246) then
  396.                 player:SetLevel(46)
  397.                 end
  398.                
  399.                 if(intid == 247) then
  400.                 player:SetLevel(47)
  401.                 end
  402.                
  403.                 if(intid == 248) then
  404.                 player:SetLevel(48)
  405.                 end
  406.                
  407.                 if(intid == 249) then
  408.                 player:SetLevel(49)
  409.                 end
  410.                
  411.                 if(intid == 250) then
  412.                 player:SetLevel(50)
  413.                 end
  414.                
  415.                 if(intid == 251) then
  416.                 player:SetLevel(51)
  417.                 end
  418.                
  419.                 if(intid == 252) then
  420.                 player:SetLevel(52)
  421.                 end
  422.                
  423.                 if(intid == 253) then
  424.                 player:SetLevel(53)
  425.                 end
  426.                
  427.                 if(intid == 254) then
  428.                 player:SetLevel(54)
  429.                 end
  430.                
  431.                 if(intid == 255) then
  432.                 player:SetLevel(55)
  433.                 end
  434.                
  435.                 if(intid == 256) then
  436.                 player:SetLevel(56)
  437.                 end
  438.                
  439.                 if(intid == 257) then
  440.                 player:SetLevel(57)
  441.                 end
  442.                
  443.                 if(intid == 258) then
  444.                 player:SetLevel(58)
  445.                 end
  446.                
  447.                 if(intid == 259) then
  448.                 player:SetLevel(59)
  449.                 end
  450.                
  451.                 if(intid == 260) then
  452.                 player:SetLevel(60)
  453.                 end
  454.                
  455.                 if(intid == 261) then
  456.                 player:SetLevel(61)
  457.                 end
  458.                
  459.                 if(intid == 262) then
  460.                 player:SetLevel(62)
  461.                 end
  462.                
  463.                 if(intid == 263) then
  464.                 player:SetLevel(63)
  465.                 end
  466.                
  467.                 if(intid == 264) then
  468.                 player:SetLevel(64)
  469.                 end
  470.                
  471.             if(intid == 265) then
  472.                 player:SetLevel(65)
  473.                 end
  474.                
  475.                 if(intid == 266) then
  476.                 player:SetLevel(66)
  477.                 end
  478.                
  479.                 if(intid == 267) then
  480.                 player:SetLevel(67)
  481.                 end
  482.                
  483.                 if(intid == 268) then
  484.                 player:SetLevel(68)
  485.                 end
  486.                
  487.                 if(intid == 269) then
  488.                 player:SetLevel(69)
  489.                 end
  490.                
  491.                 if(intid == 270) then
  492.                 player:SetLevel(70)
  493.                 end
  494.                
  495.                 if(intid == 271) then
  496.                 player:SetLevel(71)
  497.                 end
  498.                
  499.                 if(intid == 272) then
  500.                 player:SetLevel(72)
  501.                 end
  502.                
  503.                 if(intid == 273) then
  504.                 player:SetLevel(73)
  505.                 end
  506.                
  507.                 if(intid == 274) then
  508.                 player:SetLevel(74)
  509.                 end
  510.                
  511.                 if(intid == 275) then
  512.                 player:SetLevel(75)
  513.                 end
  514.                
  515.                 if(intid == 276) then
  516.                 player:SetLevel(76)
  517.                 end
  518.                
  519.                 if(intid == 277) then
  520.                 player:SetLevel(77)
  521.                 end
  522.                
  523.                 if(intid == 278) then
  524.                 player:SetLevel(78)
  525.                 end
  526.                
  527.                 if(intid == 279) then
  528.                 player:SetLevel(79)
  529.                 end
  530.                
  531.                 if(intid == 280) then
  532.                 player:SetLevel(80)
  533.                 end
  534.                
  535.                 if(intid == 10) then
  536.                 item:GossipCreateMenu(1, player, 0)
  537.                                 item:GossipMenuAddItem(4, "1000", 300, 0)
  538.                                 item:GossipMenuAddItem(4, "2500", 301, 0)
  539.                                 item:GossipMenuAddItem(3, "4000", 302, 0)
  540.                                 item:GossipMenuAddItem(2, "6000", 303, 0)
  541.                                 item:GossipMenuAddItem(4, "8000", 304, 0)
  542.                                 item:GossipMenuAddItem(3, "10000", 305, 0)
  543.                                 item:GossipMenuAddItem(2, "12000", 306, 0)
  544.                                 item:GossipMenuAddItem(4, "14000", 307, 0)
  545.                                 item:GossipMenuAddItem(2, "16000", 308, 0)
  546.                                 item:GossipMenuAddItem(4, "18000", 309, 0)
  547.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  548.                                 item:GossipSendMenu(player)
  549.                 end
  550.                
  551.                 if(intid == 11) then
  552.                 item:GossipCreateMenu(1, player, 0)
  553.                                 item:GossipMenuAddItem(4, "1000", 310, 0)
  554.                                 item:GossipMenuAddItem(4, "2500", 311, 0)
  555.                                 item:GossipMenuAddItem(3, "4000", 312, 0)
  556.                                 item:GossipMenuAddItem(2, "6000", 313, 0)
  557.                                 item:GossipMenuAddItem(4, "8000", 314, 0)
  558.                                 item:GossipMenuAddItem(3, "10000", 315, 0)
  559.                                 item:GossipMenuAddItem(2, "12000", 316, 0)
  560.                                 item:GossipMenuAddItem(4, "14000", 317, 0)
  561.                                 item:GossipMenuAddItem(2, "16000", 318, 0)
  562.                                 item:GossipMenuAddItem(4, "18000", 319, 0)
  563.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  564.                                 item:GossipSendMenu(player)
  565.                 end
  566.  
  567.                 if(intid == 300) then
  568.                 player:SetHealth(1000)
  569.                 end
  570.                
  571.                 if(intid == 301) then
  572.                 player:SetHealth(2500)
  573.                 end
  574.                
  575.                 if(intid == 302) then
  576.                 player:SetHealth(4000)
  577.                 end
  578.                
  579.                 if(intid == 303) then
  580.                 player:SetHealth(6000)
  581.                 end
  582.                
  583.                 if(intid == 304) then
  584.                 player:SetHealth(8000)
  585.                 end
  586.                
  587.                 if(intid == 305) then
  588.                 player:SetHealth(10000)
  589.                 end
  590.                
  591.                 if(intid == 306) then
  592.                 player:SetHealth(12000)
  593.                 end
  594.                
  595.                 if(intid == 307) then
  596.                 player:SetHealth(14000)
  597.                 end
  598.                
  599.                 if(intid == 308) then
  600.                 player:SetHealth(16000)
  601.                 end
  602.                
  603.                 if(intid == 309) then
  604.                 player:SetHealth(18000)
  605.                 end
  606.                
  607.                 if(intid == 310) then
  608.                 player:SetMaxHealth(1000)
  609.                 end
  610.                
  611.                 if(intid == 311) then
  612.                 player:SetMaxHealth(2500)
  613.                 end
  614.                
  615.                 if(intid == 312) then
  616.                 player:SetMaxHealth(4000)
  617.                 end
  618.                
  619.                 if(intid == 313) then
  620.                 player:SetMaxHealth(6000)
  621.                 end
  622.                
  623.                 if(intid == 314) then
  624.                 player:SetMaxHealth(8000)
  625.                 end
  626.                
  627.                 if(intid == 315) then
  628.                 player:SetMaxHealth(10000)
  629.                 end
  630.                
  631.                 if(intid == 316) then
  632.                 player:SetMaxHealth(12000)
  633.                 end
  634.                
  635.                 if(intid == 317) then
  636.                 player:SetMaxHealth(14000)
  637.                 end
  638.                
  639.                 if(intid == 318) then
  640.                 player:SetMaxHealth(16000)
  641.                 end
  642.                
  643.                 if(intid == 319) then
  644.                 player:SetMaxHealth(18000)
  645.                 end
  646.                
  647.                 if(intid == 12) then
  648.                 item:GossipCreateMenu(1, player, 0)
  649.                                 item:GossipMenuAddItem(4, "1000", 320, 0)
  650.                                 item:GossipMenuAddItem(4, "2500", 321, 0)
  651.                                 item:GossipMenuAddItem(3, "4000", 322, 0)
  652.                                 item:GossipMenuAddItem(2, "6000", 323, 0)
  653.                                 item:GossipMenuAddItem(4, "8000", 324, 0)
  654.                                 item:GossipMenuAddItem(3, "10000", 325, 0)
  655.                                 item:GossipMenuAddItem(2, "12000", 326, 0)
  656.                                 item:GossipMenuAddItem(4, "14000", 327, 0)
  657.                                 item:GossipMenuAddItem(2, "16000", 328, 0)
  658.                                 item:GossipMenuAddItem(4, "18000", 329, 0)
  659.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  660.                                 item:GossipSendMenu(player)
  661.                 end
  662.                
  663.                 if(intid == 13) then
  664.                 item:GossipCreateMenu(1, player, 0)
  665.                                 item:GossipMenuAddItem(4, "1000", 339, 0)
  666.                                 item:GossipMenuAddItem(4, "2500", 340, 0)
  667.                                 item:GossipMenuAddItem(3, "4000", 341, 0)
  668.                                 item:GossipMenuAddItem(2, "6000", 342, 0)
  669.                                 item:GossipMenuAddItem(4, "8000", 343, 0)
  670.                                 item:GossipMenuAddItem(3, "10000", 344, 0)
  671.                                 item:GossipMenuAddItem(2, "12000", 345, 0)
  672.                                 item:GossipMenuAddItem(4, "14000", 346, 0)
  673.                                 item:GossipMenuAddItem(2, "16000", 347, 0)
  674.                                 item:GossipMenuAddItem(4, "18000", 348, 0)
  675.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  676.                                 item:GossipSendMenu(player)
  677.                 end
  678.                
  679.                 if(intid == 320) then
  680.                 player:SetMana(1000)
  681.                 end
  682.                
  683.                 if(intid == 321) then
  684.                 player:SetMana(2500)
  685.                 end
  686.                
  687.                 if(intid == 322) then
  688.                 player:SetMana(4000)
  689.                 end
  690.                
  691.                 if(intid == 323) then
  692.                 player:SetMana(6000)
  693.                 end
  694.                
  695.                 if(intid == 324) then
  696.                 player:SetMana(8000)
  697.                 end
  698.                
  699.                 if(intid == 325) then
  700.                 player:SetMana(10000)
  701.                 end
  702.                
  703.                 if(intid == 326) then
  704.                 player:SetMana(12000)
  705.                 end
  706.                
  707.                 if(intid == 327) then
  708.                 player:SetMana(14000)
  709.                 end
  710.                
  711.                 if(intid == 328) then
  712.                 player:SetMana(16000)
  713.                 end
  714.                
  715.                 if(intid == 329) then
  716.                 player:SetMana(18000)
  717.                 end
  718.                
  719.                 if(intid == 330) then
  720.                 player:SetMaxMana(1000)
  721.                 end
  722.                
  723.                 if(intid == 331) then
  724.                 player:SetMaxMana(2500)
  725.                 end
  726.                
  727.                 if(intid == 332) then
  728.                 player:SetMaxMana(4000)
  729.                 end
  730.                
  731.                 if(intid == 333) then
  732.                 player:SetMaxMana(6000)
  733.                 end
  734.                
  735.                 if(intid == 334) then
  736.                 player:SetMaxMana(8000)
  737.                 end
  738.                
  739.                 if(intid == 335) then
  740.                 player:SetMaxMana(10000)
  741.                 end
  742.                
  743.                 if(intid == 336) then
  744.                 player:SetMaxMana(12000)
  745.                 end
  746.                
  747.                 if(intid == 337) then
  748.                 player:SetMaxMana(14000)
  749.                 end
  750.                
  751.                 if(intid == 338) then
  752.                 player:SetMaxMana(16000)
  753.                 end
  754.                
  755.                 if(intid == 339) then
  756.                 player:SetMaxMana(18000)
  757.                 end
  758.                
  759.                 if(intid == 14) then
  760.                 playerSendTrainerWindow(unit)
  761.                 end
  762.                
  763.                 if(intid == 15) then
  764.                 item:GossipCreateMenu(1, player, 0)
  765.                                 item:GossipMenuAddItem(4, "Male", 1, 0)
  766.                                 item:GossipMenuAddItem(4, "Female", 2, 0)
  767.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  768.                                 item:GossipSendMenu(player)
  769.                 end
  770.                
  771.                 if(intid == 1) then
  772.         player:SetGender(0)
  773.         Player:SendBroadCastMessage(6, 0, "Please Relog, Thank You.")
  774.         player:GossipComplete()
  775.         end
  776.                
  777.                 if(intid == 2) then
  778.         player:SetGender(1)
  779.         Player:SendBroadCastMessage(6, 0, "Please Relog, Thank You.")
  780.         player:GossipComplete()
  781.         end
  782.                
  783.                 if(intid == 16) then
  784.                 Player:SendBroadCastMessage(6, 0, "Welcome to the Guild options panel!")
  785.                 item:GossipCreateMenu(1, player, 0)
  786.                                 item:GossipMenuAddItem(4, "Who is my Guild leader?", 400, 0)
  787.                                 item:GossipMenuAddItem(4, "What guild rank am i?", 401, 0)
  788.                                 item:GossipMenuAddItem(4, "How many members do we have?", 402, 0)
  789.                                 item:GossipMenuAddItem(4, "Veiw Guild Message of the Day", 403, 0)
  790.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  791.                                 item:GossipSendMenu(player)
  792.         end
  793.                
  794.                 if(intid == 400) then
  795.             player:GetGuildLeader()
  796.             item:GossipSendMenu(player)
  797.                 end
  798.                
  799.                 if(intid == 401) then
  800.             player:GetGuildRank()
  801.             item:GossipSendMenu(player)
  802.         end
  803.                
  804.                 if(intid == 402) then
  805.                 player:GetGuildMemberCount()
  806.                 item:GossipSendMenu(player)
  807.                 end
  808.                
  809.                 if(intid == 403)
  810.                 player:GetGuildMotd()
  811.                 item:GossipSendMenu(player)
  812.                 end
  813.                
  814.                 if(intid == 999) then
  815.                 player:GossipComplete()
  816.                 end
  817.                
  818.                 if(intid == 17) then
  819.                 item:GossipCreateMenu(1, player, 0)
  820.                                 item:GossipMenuAddItem(4, "Set Scale 1", 500, 0)
  821.                                 item:GossipMenuAddItem(4, "Set Scale 2", 501, 0)
  822.                                 item:GossipMenuAddItem(4, "Set Scale 3", 502, 0)
  823.                                 item:GossipMenuAddItem(4, "Set Scale 4", 503, 0)
  824.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  825.                                 item:GossipSendMenu(player)
  826.                 end
  827.                                
  828.                 if(intid == 500) then
  829.                 player:SetScale(1)
  830.                 end
  831.                
  832.                 if(intid == 501) then
  833.                 player:SetScale(2)
  834.                 end
  835.                
  836.                 if(intid == 502) then
  837.                 player:SetScale(3)
  838.                 end
  839.                
  840.                 if(intid == 503) then
  841.                 player:SetScale(4)
  842.                 end
  843.                
  844.                 if(intid == 18) then
  845.                 player:PlaySoundToSet(11803)
  846.                 end
  847.                
  848.                 if(intid == 19) then
  849.                 player:RemoveAllAuras()
  850.                 end
  851.                
  852.                 if(intid == 20) then
  853.                 if(choice == 1) then
  854.                 player:SetModel(604)
  855.                
  856.                 elseif(choice == 2) then
  857.                 player:SetModel(3042)
  858.                
  859.                 elseif(choice == 3) then
  860.                 player:SetModel(3597)
  861.                
  862.                 elseif(choice == 4) then
  863.                 player:SetModel(616)
  864.                
  865.                 elseif(choice == 5) then
  866.                 player:SetModel(11686)
  867.                 end
  868.                
  869.                 if(intid == 21) then
  870.                 item:GossipCreateMenu(1, player, 0)
  871.                                 item:GossipMenuAddItem(4, "Set Speed 20", 510, 0)
  872.                                 item:GossipMenuAddItem(4, "Set Speed 30", 511, 0)
  873.                                 item:GossipMenuAddItem(4, "Set Speed 40", 512, 0)
  874.                                 item:GossipMenuAddItem(4, "Return Speed to Normal", 513, 0)
  875.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  876.                                 item:GossipSendMenu(player)
  877.                 end
  878.                
  879.                 if(intid == 510) then
  880.                 player:ModifyRunSpeed(20)
  881.                 end
  882.                
  883.                 if(intid == 511) then
  884.                 player:ModifyRunSpeed(30)
  885.                 end
  886.                
  887.                 if(intid == 512) then
  888.                 player:ModifyRunSpeed(40)
  889.                 end
  890.                
  891.                 if(intid == 513) then
  892.                 player:ModifyRunSpeed(7)
  893.                 end
  894.                
  895.                 if(intid == 22) then
  896.                 item:GossipCreateMenu(1, player, 0)
  897.                                 item:GossipMenuAddItem(4, "Horde", 535, 0)
  898.                                 item:GossipMenuAddItem(4, "Alliance", 536, 0)
  899.                                 item:GossipMenuAddItem(4, "Done", 999, 0)
  900.                                 item:GossipSendMenu(player)
  901.                 end
  902.                
  903.                 if(intid == 535) then
  904.                 player:SpawnCreature(24347, PlyrX, PlyrY, PlyrZ, PlyrO, 34, 0)
  905.                 end
  906.                
  907.                 if(intid == 536) then
  908.                 player:SpawnCreature(2046, PlyrX, PlyrY, PlyrZ, PlyrO, 34, 0)
  909.                 end
  910.         end
  911. end