upoupo0201

チャット/通信機/拡声器

Nov 1st, 2024
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on chat:
  2. cancel event
  3. set {_chat} to the chat message
  4.  
  5. if player has iron horse armor:
  6. set {tuusin::%player%} to true
  7. else:
  8. set {tuusin::%player%} to false
  9.  
  10. if player is holding a hopper:
  11. broadcast "&c[拡声] &r<???> %{_chat}%"
  12. stop
  13.  
  14. if player is holding a iron horse armor:
  15. loop all players:
  16. if {tuusin::%loop-player%} is true:
  17. send "&b[通信] &r<???> %{_chat}%" to loop-player
  18. stop
  19.  
  20. loop all players in radius 4 around player:
  21. send "<???> %{_chat}%" to loop-player
  22.  
Advertisement
Add Comment
Please, Sign In to add comment