Guest User

Untitled

a guest
Mar 11th, 2014
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. #= #Bow =#
  2. command /bow <text>:
  3. description: bow Enable:Disable:Toggle
  4. usage: /bow <enable:disable:toggle>
  5. player is op
  6. trigger:
  7. if arg 1 is "enable":
  8. set {bow} to true
  9. message "&a#Bow Enabled"
  10. if arg 1 is "disable":
  11. set {bow} to false
  12. message "&c#Bow Disabled"
  13. if arg 1 is "toggle":
  14. if {bow} is true:
  15. set {bow} to false
  16. message "&c#Bow Disabled"
  17. stop
  18. if {bow} is false:
  19. set {bow} to true
  20. message "&a#Bow Enabled"
  21. stop
  22.  
  23. every second:
  24. if {bow} is true
  25. apply fire resistence to all players for 1 second
  26.  
  27. on damage:
  28. if {bow} is true
  29. damage was caused by contact
  30. cancel event
Advertisement
Add Comment
Please, Sign In to add comment