Advertisement
4everNdeavor

Gold Rush

Apr 13th, 2015
686
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. command /goldrush <text>:
  2. usage: /goldrush <enable:disable:toggle>
  3. permission: skript.op
  4. trigger:
  5. if arg 1 is "enable":
  6. set {goldrush} to true
  7. message "&cGold Rush Enabled!"
  8. if arg 1 is "disable":
  9. set {goldrush} to false
  10. message "&cGold Rush Disabled!"
  11. if arg 1 is "toggle":
  12. if {goldrush} is true:
  13. set {goldrush} to false
  14. message "&cGold Rush Disabled!"
  15. stop
  16. if {goldrush} is false:
  17. set {goldrush} to true
  18. message "&cGold Rush Enabled!"
  19. stop
  20.  
  21. on craft of iron helmet:
  22. if {goldrush} is true:
  23. cancel the event
  24.  
  25.  
  26. on craft of iron chestplate:
  27. if {goldrush} is true:
  28. cancel the event
  29.  
  30.  
  31. on craft of iron leggings:
  32. if {goldrush} is true:
  33. cancel the event
  34.  
  35.  
  36. on craft of iron boots:
  37. if {goldrush} is true:
  38. cancel the event
  39.  
  40.  
  41. on craft of leather helmet:
  42. if {goldrush} is true:
  43. cancel the event
  44.  
  45.  
  46. on craft of leather chestplate:
  47. if {goldrush} is true:
  48. cancel the event
  49.  
  50.  
  51. on craft of leather pants:
  52. if {goldrush} is true:
  53. cancel the event
  54.  
  55.  
  56. on craft of leather boots:
  57. if {goldrush} is true:
  58. cancel the event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement