Advertisement
Guest User

Untitled

a guest
Aug 17th, 2014
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. variables:
  2. {bowfighter}=false
  3.  
  4. command /bowfighter <text>:
  5. permission: skript.op
  6. aliases: /bf
  7. trigger:
  8. if arg 1 is "on":
  9. if {bowfighter} is false:
  10. set {bowfighter} to true
  11. broadcast "&9&l[&4Bowfighters&9&l] &cEnabled by &6%command sender%&c!"
  12. loop all players:
  13. give 1 arrow to the loop-player
  14. loop all players:
  15. give 2 string to the loop-player
  16. loop all players:
  17. give a book of Infinity 1 to the loop-player
  18. broadcast "&9[&4Bowfighters&9] &cKits given!"
  19.  
  20. else:
  21. message "&9[&4Bowfighters&9] &cAlready Enabled!"
  22.  
  23. if arg 1 is "off":
  24. if {bowfighter} is true:
  25. set {bowfighter} to false
  26. broadcast "&9[&4Bowfighters&9] &cDisabled by &6%command sender%&c!"
  27. stop
  28.  
  29. else:
  30. message "&9[&4Bowfighters&9] &cAlready Disabled!"
  31.  
  32. on craft of stone sword:
  33. if {bowfighter} is true:
  34. cancel the event
  35. message "&aBetter luck next time!"
  36.  
  37.  
  38. on craft of iron axe:
  39. if {bowfighter} is true:
  40. cancel the event
  41. message "&aBetter luck next time!"
  42.  
  43.  
  44. on craft of iron sword:
  45. if {bowfighter} is true:
  46. cancel the event
  47. message "&aBetter luck next time!"
  48.  
  49. on craft of diamond axe:
  50. if {bowfighter} is true:
  51. cancel the event
  52. message "&aBetter luck next time!"
  53.  
  54. on craft of diamond sword:
  55. if {bowfighter} is true:
  56. cancel the event
  57. message "&aBetter luck next time!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement