ryanlopes

Pedido FIX

Jul 9th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. options:
  2. Prefixo: &a&l[ANUNCIO]
  3.  
  4.  
  5. command /anuncio [<text>]:
  6. trigger:
  7. if arg 1 is set:
  8. if account of player is more than or equal to 500:
  9. subtract 500 from player's account
  10. set {_espera} to difference beetwen {Anuncio.Cooldown::%player%} and now
  11. if {_espera} is less than 20 seconds
  12. send "{@Prefixo}&c VocĂȘ deve esperar 20 segundos para usar o /anunciar novamente"
  13. send "{@Prefixo}&e VocĂȘ gastou 500c para usar este comando !"
  14. broadcast "{@Prefixo} %colored arg 1%"
  15. set {Anuncio.Cooldown::%player%} to now
  16. else:
  17. send "{@Prefixo}&c Uso correto /anuncio <texto>"
Advertisement
Add Comment
Please, Sign In to add comment