Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. options:
  2. prefix: &7&l[&d&lStopChat&7&l]
  3.  
  4. command /stopchat [<text>]:
  5. permission: sk.stopchat
  6. permission message: &4You don't have enough permissions!
  7. trigger:
  8. if arg-1 is "on":
  9. set {stopchat} to "1"
  10. broadcast "{@prefix} &7From now on, you can't send messages!"
  11.  
  12. if arg-1 is "off":
  13. set {stopchat} to "0"
  14. broadcast "{@prefix} &7From now on, you can send messages!"
  15.  
  16. on chat:
  17. if {stopchat} = "1":
  18. cancel event
  19. send "{@prefix} &7You can't send messages!" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement