Advertisement
Captainkoala72

Helpop [SK]

Mar 30th, 2015
855
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. options:
  2. P: &8[&6Helpop&8]&7
  3. C: &e
  4. Cooldown: true
  5. CooldownTime: 3
  6. Perm: help.op
  7.  
  8. command /helpop [<text>]:
  9. trigger:
  10. if arg-1 is not set:
  11. message "{@P} Use {@C}&l/helpop &7to message the ops a statement or question you have!"
  12. stop
  13. else:
  14. if {cooldown.%command sender%} is false:
  15. loop all ops:
  16. send "{@P} &l%command sender% : {@C}%arg-1%" to the loop-op
  17. send "{@P} You sent : {@C}%arg-1%"
  18. if {cooldown} is true:
  19. set {cooldown.%command sender%} to true
  20. wait {@CooldownTime} seconds
  21. set {cooldown.%command sender%} to false
  22. else:
  23. message "{@P} Please wait before helpoping again!"
  24. stop
  25.  
  26. command /helpopcooldown [<text>]:
  27. permission: {@Perm}
  28. aliases: /helpopcd, /hocd
  29. trigger:
  30. if arg-1 is not set:
  31. message "{@P} The correct usage is: {@C}/helpopcooldown <on:off>"
  32. else:
  33. if arg-1 is "on":
  34. set {cooldown} to true
  35. message "{@P} Helpop Cooldown is now {@C}ON!"
  36. if arg-1 is "off":
  37. set {cooldown} to false
  38. message "{@P} Helpop Cooldown is now {@C}OFF!"
  39.  
  40. on load:
  41. set {cooldown} to {@Cooldown}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement