ryanlopes

Pedido

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