Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. command /raid <player>:
  2. usage: &7/raid &a[Player]
  3. permission: raid.access
  4. executable by: players
  5. trigger:
  6. set {_waited} to difference between {raid.%player%.lastused} and now
  7. if {_waited} is less than a hour:
  8. message "&7You need to wait &a%difference between a hour and {_waited}% &7before you raid!"
  9. stop
  10.  
  11. broadcast "&7Player &a%player% &7is raiding &a%argument 1%"
  12. wait 1 minute
  13. broadcast "&7player &a%player% &7finished raid"
  14.  
  15. set {raid.%player%.lastused} to now
  16.  
  17. command /raids [<text>] <player>:
  18. usage: &7/raid reset &a[Player]
  19. permission: raid.reset
  20. executable by: players
  21. trigger:
  22. if arg 1 is "reset":
  23. delete {raid.%arg 1%.lastused}
  24. message "&7Zresetowano limit czasu na napda dla gracza &a%arg 1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement