Advertisement
Rikusen0335

Untitled

Jun 20th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. #chat system
  2. on chat:
  3. cancel event
  4. if {chat.%uuid of player%} is not set:
  5. set {chat.%uuid of player%} to "on"
  6.  
  7. if player has permission "sk.chat":
  8. send "%coloured player's prefix% &7Lv &9&l%player's level% &8>> &f%player's display name%&a: &r%message%" to all players
  9. loop all players:
  10. if {chat.%loop-player%} is "on":
  11. play "ENTITY_ITEM_PICKUP" to all players at volume 1
  12. stop
  13.  
  14. else:
  15. send "&7Lv &9&l%player's level% &8>> &f%player's display name%&a: &r%message%" to all players
  16. loop all players:
  17. if {chat.%loop-player%} is "on":
  18. play "ENTITY_ITEM_PICKUP" to all players at volume 1
  19. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement