View difference between Paste ID: ENS9ANYP and Jgt2y7wp
SHOW: | | - or go back to the newest paste.
1
command /kedoro [<text>] [<text>]:
2
	permission: sk.admin
3
	trigger:
4
		if arg 1 is not set:
5
			if arg 2 is not set:
6
				send "&7--------&9KeDoro&aOnline&7--------"
7
				send "&d/kedoro start &a警泥をスタートします"
8
				send "&d/kedoro stop &a警泥を強制終了します"
9-
				send "&d/kedoro kanasen &a警泥を観戦します"
9+
				send "&d/kedoro map &aらんだむなMapにテレポートします"
10
				send "&d/kedoro admin &a警泥の運営になります"
11
				send "&d/kedoro &aこのヘルプを表示します"
12
		if arg 1 is "admin":
13
			if arg 2 is not set:
14
				send "&5運営&aになりました"
15-
				execute player command "/gamemode 1 %player%"	
15+
				execute player command "/gamemode 1 %player%"
16-
				execute player command "/nte player %player% prefix &a[運営] "
16+
		if arg 1 is "map":
17
			if arg 2 is not set:
18
				broadcast "MAPにテレポートします"
19
				wait 1 second
20
				execute console command "/tp @a [type=armor_stand]"
21
		if arg 1 is "start":
22
			if arg 2 is not set:
23
				broadcast "警察を決めてスタートします"