View difference between Paste ID: QeLPCef2 and 3bNNuuNg
SHOW: | | - or go back to the newest paste.
1-
command /commandspy [<player>]:
1+
on place of tnt:
2-
    aliases: /commands, /cspy ,/cmds
2+
    player do not have permission "skript.tnt"
3-
    permission: commandspy.use
3+
    cancel event
4-
    permission message: &e&l(!) あなたにはCommandSpyを使用する権限がありません!
4+
    broadcast "&6&l%player%&cがTNTを設置しました!"
5-
    trigger:
5+
    kick the player
6-
        if arg 1 is set:
6+
on command "//calc":
7-
            if {cs::%uuid of arg 1%} is set:
7+
	cancel event
8-
                clear {cs::%uuid of arg 1%}
8+
	message "&4このコマンドは危険なので使えません"
9-
                send "&c&l(!) CommandSpyの機能を無効化させました: %arg 1%."
9+
on command "/sk":
10-
                send "&c&l(!) あなたのCommandSpy機能は無効化されました。" to arg 1
10+
	cancel event
11-
            else:
11+
	message "&6セキュリティが薄まるので禁止してます"
12-
                set {cs::%uuid of arg 1%} to true
12+
on command "/commandspy":
13-
                send "&a&l(!) あなたのCommandSpy機能は有効化されました。" to arg 1
13+
	if player's name is AAidz
14-
                send "&a&l(!) CommandSpyの機能を有効化させました: %arg 1%."
14+
	else:
15-
        else:
15+
	cancel event