sora200507

Untitled

Jul 27th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. command /nick <text>:
  2. permission :nick
  3. trigger:
  4. if arg-1 is set:
  5. set the player's tablist name to "%arg-1%"
  6. set {nick::%player%} to arg-1
  7. stop
  8. on chat:
  9. if {nick::%player%} is set:
  10. cancel event
  11. broadcast "%{nick::%player%}%&a:&f %message%"
  12. stop
  13. else:
  14. stop
  15. command /nickoff:
  16. trigger:
  17. message "&aあなたのニックをオフにしました"
  18. clear {nick::%player%}
  19. set the player's tablist name to "%player%"
  20. command /me <text>:
  21. trigger:
  22. if {nick::%player%} is set:
  23. broadcast "* %{nick::%player%}% %arg%"
  24. stop
  25. else:
  26. broadcast "* %player% %arg%"
  27. stop
Add Comment
Please, Sign In to add comment