nabe0929

Untitled

Jun 23rd, 2018
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. variables:
  2. {cv} = 0
  3. {cvc} = 7
  4.  
  5. on command:
  6. loop all players:
  7. if loop-player is a op:
  8. if {cv} is 0:
  9. if arguments are set:
  10. send "&%{cvc}%[CommandViewer] %player%: /%command% %arguments%" to loop-player
  11. if arguments are not set:
  12. send "&%{cvc}%[CommandViewer] %player%: /%command%" to loop-player
  13.  
  14. command /cvon:
  15. description: Command Viewer is on.
  16. usage: /cvon
  17. trigger:
  18. set {cv} to 0
  19. send "&6Your CommandViewer is on." to player
  20.  
  21. command /cvoff:
  22. description: Command Viewer is off.
  23. usage: /cvoff
  24. trigger:
  25. set {cv} to 1
  26. send "&6Your CommandViewer is off." to player
  27.  
  28. command /cv:
  29. description: Command Viewer is off.
  30. usage: /cv
  31. trigger:
  32. if {cv} is 0:
  33. send "&6Your CommandViewer is on." to player
  34. if {cv} is 1:
  35. send "&6Your CommandViewer is off." to player
  36.  
  37. command /cvcolor <text>:
  38. description: Settings Command Viewer's color.
  39. usage: /cvcolor <color>
  40. trigger:
  41. set {cvc} to arguments
Add Comment
Please, Sign In to add comment