View difference between Paste ID: 3bNNuuNg and WCvf9jkb
SHOW: | | - or go back to the newest paste.
1-
on place of tnt:
1+
command /commandspy [<player>]:
2-
    player do not have permission "skript.tnt"
2+
    aliases: /commands, /cspy ,/cmds
3-
    cancel event
3+
    permission: commandspy.use
4-
    broadcast "&6&l%player%&cがTNTを設置しました!"
4+
    permission message: &e&l(!) あなたにはCommandSpyを使用する権限がありません!
5-
    kick the player
5+
    trigger:
6-
on command "//calc":
6+
        if arg 1 is set:
7-
	cancel event
7+
            if {cs::%uuid of arg 1%} is set:
8-
	message "&4このコマンドは危険なので使えません"
8+
                clear {cs::%uuid of arg 1%}
9-
on command "/sk":
9+
                send "&c&l(!) CommandSpyの機能を無効化させました: %arg 1%."
10-
	cancel event
10+
                send "&c&l(!) あなたのCommandSpy機能は無効化されました。" to arg 1
11-
    	message "&6セキュリティが薄まるので禁止してます"
11+
            else:
12
                set {cs::%uuid of arg 1%} to true
13
                send "&a&l(!) あなたのCommandSpy機能は有効化されました。" to arg 1
14
                send "&a&l(!) CommandSpyの機能を有効化させました: %arg 1%."
15
        else:
16
            if {cs::%uuid of player%} is set:
17
                clear {cs::%uuid of player%}
18
                send "&c&l(!) あなたのCommandSpyの機能は無効化されました。"
19
            else:
20
                set {cs::%uuid of player%} to true
21
                send "&a&l(!) あなたのCommandSpyの機能は有効化されました。"
22
on command:
23
    if sender is a player:
24
        loop all players:
25
            if {cs::%uuid of loop-player%} is set:
26
                if "%player%" is not "%loop-player%":
27
                    send "&c&l(!) %player% が  &n/%complete command%&c&l  を実行しました。" to loop-player
28
on load:
29
    set {csversion} to "1.3"
30
    message "&4&l(!) CommandSpy&7のロードに成功!" to console
31
on unload:
32
    message "&4&l(!) &7CommandSpy&7のアンロードに成功!バイバーイ!" to console
33
on quit:
34
    delete {cs::%uuid of player%}