Advertisement
RedstoneKing106

Untitled

Jan 28th, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. on chat:
  2. player is "AntiCheatTester":
  3. {nick.%player%} is "yes":
  4. cancel event
  5. broadcast "&7%{nickname.%player%}%&f: %message%"
  6. set the player's tablist name to "&7%player%"
  7. else:
  8. cancel event
  9. broadcast colored "&c[OWNER]%player%&f: %message%"
  10. set the player's tablist name to "&c[OWNER]%player%"
  11. else:
  12. player has permission "youtuber":
  13. {nick.%player%} is "yes":
  14. cancel event
  15. broadcast "&7%{nickname.%player%}%&f: %message%"
  16. set the player's tablist name to "&7%{nickname.%player%}%"
  17. else:
  18. cancel event
  19. broadcast colored "&6[YT]%player%&f: %message%"
  20. set the player's tablist name to "&6[YT]%player%"
  21. else:
  22. cancel event
  23. broadcast "&7%player%&f: &f%message%"
  24. set the player's tablist name to "&7%player%"
  25.  
  26. Command /nick <text>:
  27. usage: &c/nick (username)
  28. permission: youtuber
  29. trigger:
  30. {nick.%player%} is "no":
  31. set the player's tablist name to "&7%argument-1%"
  32. set {nickname.%player%} to argument-1
  33. set {nick.%player%} to "yes"
  34. send "&aNickname set."
  35. else:
  36. send "&aNickname reset."
  37. set {nick.%player%} to "no"
  38. set the player's tablist name to "&6[YT]%player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement