hiturys

eeeee

Aug 26th, 2019
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. options:
  2. p: &8[&eEnterName&8]
  3.  
  4. command /globalchat <text>:
  5. permission: staff
  6. permission message: &4[ERROR] &e&lStaff &eperm needed
  7. aliases: /gchat , /globalchat
  8. trigger:
  9. if arg-1 is set:
  10. if arg-1 is "on" or "enable" or "unmute":
  11. set {globalmute} to true
  12. broadcast "{@p} &7Chat has been &aenabled!"
  13. if arg-1 is "off" or "disable" or "mute":
  14. set {globalmute} to false
  15. broadcast "{@p} &7Chat has been &cdisabled!"
  16. if arg-1 is "help":
  17. message "{@p} &e-*-*-*-*-*-*-&6COMMANDS AND HELP&e-*-*-*-*-*-*-"
  18. send "{@p} &c made by hiturylol"
  19. message "{@p} &c- &e/gchat mute &6(Disable chat)"
  20. message "{@p} &c- &e/gchat unmute &6(Enable chat)"
  21. message "{@p} &c- &e/globalchat help &6(Commands and help)"
  22. send "{@p} &c- &e/alert <message> &6(Alert)"
  23. send "{@p} &c- &e/gchatclear &6(Chat Clear) &e(/ss)"
  24. send "{@p} &f"
  25. message "{@p} &e-*-*-*-*-*-*--*-*-*-*-*-*--*-*-*-*-*-*-*-"
  26. on chat:
  27. if player has permission "staff":
  28. if {globalmute} is false:
  29.  
  30. if player does not have permission "staff":
  31. if {globalmute} is false:
  32. cancel event
  33. send "&6Cannot talk while chat is muted!"
  34.  
  35. command /clearchat
  36. permission: staff
  37. permission message: &4[ERROR] &eStaff perm needed
  38. aliases: /chatclear, /gchatclear, /globalchatclear, /gss, /clearchat
  39. trigger:
  40. loop 150 times:
  41. broadcast ""
  42. broadcast "{@p} &aChat was cleared."
  43.  
  44. command /globalchatalert [<text>]:
  45. permission: staff
  46. permission message: &4[ERROR] &eStaff perm needed
  47. aliases: /sb, /alert, gchatalert
  48. trigger:
  49. if arg 1 is set:
  50. loop all players:
  51. if loop-player has permission "staff":
  52. message "{@p} &f%colored arg 1%" to loop-players
Advertisement
Add Comment
Please, Sign In to add comment