Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-改変禁止-#
- #-------------------------------#
- options:
- prefix: &7[&dCmdLog&7]&r
- ip: &4[&6PlayerIP&4]&r
- #-------------------------------#
- on command:
- loop all players:
- if loop-player has permission "cmd.check":
- if {cmdlog.%loop-player%} is not set:
- set {cmdlog.%loop-player%} to true
- if {cmdlog.%loop-player%} is true:
- if player is not set:
- stop
- message "{@prefix} &a%player%&7 used command &7/%full command%" to loop-player
- command /cmdlog [<text>]:
- permission: sk.cmdlog
- aliases:/cmd,/cl
- trigger:
- if arg-1 is set:
- if arg-1 is "on":
- set {cmdlog.%player%} to true
- message "{@prefix}&eコマンドログの表示を&aon&eにしました。"
- stop
- if arg-1 is "off":
- set {cmdlog.%player%} to false
- message "{@prefix}&eコマンドログの表示を&coff&eにしました。"
- stop
- else:
- message "&cUsage: /cmd <&aon &c| &eoff&c>"
- command /ipcheck [<offline player>]:
- permission: skript.ipcheck
- permission message:&cYou do not have permission
- aliases: /ic,/ipc
- trigger:
- if arg is not set:
- message "{@ip} &cPlz PlayerName :("
- stop
- if arg is "all":
- loop all players:
- set {ip::%loop-player%} to ip of loop-player
- message "&a&b---------------------------------------------"
- message "{@ip}&a%loop-player%&eのIP&7: &e%{ip::%loop-player%}%" to player
- loop {ip::*}:
- if {ip::%loop-index%} is {ip::%loop-player%}:
- message "{@ip}&e同じIPを使用しているPlayer&7:&a &6%loop-index%"
- else:
- set {ip::%arg%} to ip of argument
- message "{@ip} &a%arg%&eのIP&7:&e %{ip::%arg%}%"
- loop {ip::*}:
- if {ip::%loop-index%} is {ip::%arg%}:
- message "{@ip} &e同じIPを使用しているPlayer&7:&a &6%loop-index%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement