Advertisement
jsoichiro

prefixとpfl

Jun 8th, 2019
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. on chat:
  2. cancel event
  3. if {%uuid of player%.prefix} is not set:
  4. set {%uuid of player%.prefix} to ""
  5. broadcast "&r%{%uuid of player%.prefix}%%player%&a:&r %message%"
  6.  
  7. command /prefix [<player>] <text>:
  8. permission: sk.prefix
  9. trigger:
  10. if arg-1 is set:
  11. set {%uuid of arg 1%.prefix} to arg-2
  12. replace all "&" with "§" in {%uuid of arg 1%.prefix}
  13. send "&e%arg-1%&aさんのPrefixを&r%arg-2%&aに設定しました"
  14. else:
  15. set {%uuid of player%.prefix} to arg-2
  16. replace all "&" with "§" in {%uuid of player%.prefix}
  17. send "&eあなた&aのPrefixを&r%arg-2%&aに設定しました"
  18.  
  19. command /pfl <player>:
  20. permission: sk.prefix
  21. trigger:
  22. if arg-1 is set:
  23. message "%{%uuid of arg-1%.prefix}%"
  24. if arg-1 is not set:
  25. stop trigger
  26.  
  27. command /pflo <offline player>:
  28. permission: sk.prefix
  29. trigger:
  30. if arg-1 is set:
  31. message "%{%uuid of arg-1%.prefix}%"
  32. if arg-1 is not set:
  33. stop trigger
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement