Advertisement
nabe0929

Untitled

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