Guest User

Untitled

a guest
May 8th, 2013
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. command /chat <text>:
  2. permission: sk.chat
  3. trigger:
  4. if argument 2 is "off":
  5. set {chat.allowed} to false
  6. broadcast "<light red>Chat zostal wylaczony przez %player%"
  7. if argument 2 is "on":
  8. set {chat.allowed} to true
  9. broadcast "<light green>Chat zostal wlaczony przez %player%"
  10. on chat:
  11. if player has permission "sk.echat":
  12. stop
  13. else:
  14. if {chat.allowed} is false:
  15. cancel event
  16. send "<light red>Chat jest obecnie wylaczony!"
  17. stop
  18. if {chat.allowed} is true:
  19. stop
Advertisement
Add Comment
Please, Sign In to add comment