Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &8[&6Helpop&8]&7
- C: &e
- Cooldown: true
- CooldownTime: 3
- Perm: help.op
- command /helpop [<text>]:
- trigger:
- if arg-1 is not set:
- message "{@P} Use {@C}&l/helpop &7to message the ops a statement or question you have!"
- stop
- else:
- if {cooldown.%command sender%} is false:
- loop all ops:
- send "{@P} &l%command sender% : {@C}%arg-1%" to the loop-op
- send "{@P} You sent : {@C}%arg-1%"
- if {cooldown} is true:
- set {cooldown.%command sender%} to true
- wait {@CooldownTime} seconds
- set {cooldown.%command sender%} to false
- else:
- message "{@P} Please wait before helpoping again!"
- stop
- command /helpopcooldown [<text>]:
- permission: {@Perm}
- aliases: /helpopcd, /hocd
- trigger:
- if arg-1 is not set:
- message "{@P} The correct usage is: {@C}/helpopcooldown <on:off>"
- else:
- if arg-1 is "on":
- set {cooldown} to true
- message "{@P} Helpop Cooldown is now {@C}ON!"
- if arg-1 is "off":
- set {cooldown} to false
- message "{@P} Helpop Cooldown is now {@C}OFF!"
- on load:
- set {cooldown} to {@Cooldown}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement