Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
835
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. command /nofishingrods [<text>]:
  2. permission: skript.op
  3. aliases: /nfr
  4. trigger:
  5. if arg 1 is not set:
  6. message "{@P} {@IS}"
  7. if arg 1 is "enable":
  8. set {norods} to true
  9. broadcast "{@P} &2No Fishing Rods Enabled!"
  10. if arg 1 is "disable":
  11. set {norods} to false
  12. broadcast "{@P} &2No Fishing Rods Disabled!"
  13.  
  14. on damage:
  15. if {norods} is true:
  16. if attacker is a player:
  17. if damage was caused by projectile:
  18. projectile is fishing rod:
  19. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement