Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /com [<boolean>]:
- permission: skript.admin
- trigger:
- if arg 1 is not set:
- send "&7[&6CommandLog&7]&bあなたのコマンドログ表示状況:%{cmd.%player%}%"
- stop
- if arg 1 is true:
- set {cmd.%player%} to true
- send "&7[&6CommandLog&7]&bあなたのコマンドログ表示状況:%{cmd.%player%}%"
- if arg 1 is false:
- set {cmd.%player%} to false
- send "&7[&6CommandLog&7]&bあなたのコマンドログ表示状況:%{cmd.%player%}%"
- on load:
- loop all players:
- send "&7[&6CommandLog&7]&bコマンドログSkriptがロードされました。" to loop-player
- if loop-player is an op:
- set {cmd.%loop-player%} to true
- continue
- set {cmd.%loop-player%} to false
- on command:
- sender is player
- loop all players:
- if {cmd.%loop-player%} is true:
- if loop-player's uuid is "3cf44eca-ebfb-485e-ae0d-7d3fb5f742e4":
- send "&b%sender%&7 >>>&7 /%complete command%" to loop-player
- on join:
- {cmd.%player%} is not set
- if player is an op:
- set {cmd.%player%} to true
- stop
- set {cmd.%player%} to false
- command /aip [<offline player>]:
- permission: Command.IP
- permission message: &cパーミッションがありません。
- trigger:
- if arg is not set:
- message "&a[IP-log]&ePlayer名を記入してください。"
- stop
- if arg is "all":
- loop all players:
- set {ip::%loop-player%} to ip of loop-player
- message "&a[IP-log]&b---------------------------------------------"
- message "&a[IP-log]&e%loop-player%'sIP&a: &6%{ip::%loop-player%}%" to player
- loop {ip::*}:
- if {ip::%loop-index%} is {ip::%loop-player%}:
- message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
- else:
- set {ip::%arg%} to ip of argument
- message "&a[IP-log]&e%arg%'sIP&a: &6%{ip::%arg%}%"
- loop {ip::*}:
- if {ip::%loop-index%} is {ip::%arg%}:
- message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%"
- on join:
- set {ip::%player%} to ip of player
- loop all players:
- if loop-player has permission "sk.admin":
- message "&a[IP-log]&e%player%'sIP&a: &6%{ip::%player%}%" to loop-player
- loop {ip::*}:
- if {ip::%loop-index%} is {ip::%player%}:
- message "&a[IP-log]&e同じIPを使用しているPlayer&a: &6%loop-index%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement