Satoru7135

Untitled

May 23rd, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. command /commandspy [<player>]:
  2. aliases: /commands, /cspy ,/cmds
  3. permission: commandspy.use
  4. permission message: &e&l(!) あなたにはCommandSpyを使用する権限がありません!
  5. trigger:
  6. if arg 1 is set:
  7. if {cs::%uuid of arg 1%} is set:
  8. clear {cs::%uuid of arg 1%}
  9. send "&c&l(!) CommandSpyの機能を無効化させました: %arg 1%."
  10. send "&c&l(!) あなたのCommandSpy機能は無効化されました。" to arg 1
  11. else:
  12. set {cs::%uuid of arg 1%} to true
  13. send "&a&l(!) あなたのCommandSpy機能は有効化されました。" to arg 1
  14. send "&a&l(!) CommandSpyの機能を有効化させました: %arg 1%."
  15. else:
  16. if {cs::%uuid of player%} is set:
  17. clear {cs::%uuid of player%}
  18. send "&c&l(!) あなたのCommandSpyの機能は無効化されました。"
  19. else:
  20. set {cs::%uuid of player%} to true
  21. send "&a&l(!) あなたのCommandSpyの機能は有効化されました。"
  22. on command:
  23. if sender is a player:
  24. loop all players:
  25. if {cs::%uuid of loop-player%} is set:
  26. if "%player%" is not "%loop-player%":
  27. send "&c&l(!) %player% が &n/%complete command%&c&l を実行しました。" to loop-player
  28. on load:
  29. set {csversion} to "1.3"
  30. message "&4&l(!) CommandSpy&7のロードに成功!" to console
  31. on unload:
  32. message "&4&l(!) &7CommandSpy&7のアンロードに成功!バイバーイ!" to console
  33. on quit:
  34. delete {cs::%uuid of player%}
Add Comment
Please, Sign In to add comment