View difference between Paste ID: KgP2RkZT and 14LwHZZK
SHOW: | | - or go back to the newest paste.
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:
15+
		loop all players
16-
            if {tuusin::%loop-player%} is true:
16+
		if {tuusin::%loop-player%} is true:
17-
                send "&b[通信] &r<???> %{_chat}%" to loop-player
17+
			send "&b[通信] &r<???> %{_chat}%" to loop-player
18-
        stop
18+
			stop
19
20
	loop all players in radius 4 around player:
21
		send "<???> %{_chat}%" to loop-player
22