Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Prefixo: &2[Anuncio]
- Delay: 20
- command /anuncio [<text>]:
- permission: anuncio.usar
- trigger:
- if arg 1 is set:
- set {_espera} to difference between {Anuncio.Delay::%player%} and now
- if {_espera} is less than {@Delay} seconds:
- send "{@Prefixo} &aAguarde &2%difference between {@Delay} seconds and {_espera}% &apara usar o anuncio novamente."
- stop
- broadcast "{@Prefixo} &a%player%: &f%arg 1%"
- set {Anuncio.Delay::%player%} to now
- else:
- send "{@Prefixo} &aDigite /anuncio <mensagem>."
Advertisement
Add Comment
Please, Sign In to add comment