Guest User

Untitled

a guest
Aug 15th, 2016
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. Variables:
  2. {admin.%player%.chat} = false
  3. on join:
  4. set {admin.%player%.chat} to false
  5. on chat:
  6. if {admin.%player%.chat} is true:
  7. cancel event
  8. loop all players:
  9. if loop-player has permission "vip.chat":
  10. send "&f[&4&lVIPOWSKI CHAT&f]&e[&6%player%&f]: &6%message%" to loop-player
  11. command /vchat:
  12. permission: admin.chat
  13. trigger:
  14. if {admin.%player%.chat} is false:
  15. send "&cWlaczyles Chat dla VIPa"
  16. set {admin.%player%.chat} to true
  17. stop trigger
  18. if {admin.%player%.chat} is true:
  19. send "&cWylaczyles Chat dla VIPa"
  20. set {admin.%player%.chat} to false
  21. stop trigger
Advertisement
Add Comment
Please, Sign In to add comment