Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ありがとう ꧁༒𝒞.𝒮𝓃ℴ𝓌༒꧂さん
- #レズビデオちょうだい
- #
- #OPの人は必ずコマンド afk-false打ってねじゃねーとkickされるぞ
- #↓のやつはkickされる数値 afkmax = >200< 数字はいじっていいですが他はいじったらだめです
- variables:
- afkmax = 200
- on chat:
- delete {afpl%player%}
- on join:
- delete {afpl%player%}
- on quit:
- delete {afpl%player%}
- on any movement:
- delete {afpl%player%}
- every 1 seconds:
- loop all players:
- if {afks.%loop-player%} is false:
- stop
- add 1 to {afpl%loop-player%}
- wait 1 tick
- if {afpl%loop-player%} is more than {afkmax}:
- if {afk.%loop-player%} is true:
- stop
- else:
- set {afk.%loop-player%} to true
- kick loop-player due to "AFKはKICK対称です。"
- stop
- command /afk-true:
- permission: skript.afk
- trigger:
- set {afks.%player%} to true
- send "AFK なう"
- command /afk-false:
- permission: skript.afk
- trigger:
- set {afks.%player%} to false
- send "AFK 解除"
- command /afkcheck:
- trigger:
- send "&8[&6AFKSYSTEM&8]&eAFKの時間&f:%{afpl%player%}%"
- stop
- command /afkhelp:
- permission: skript.admin
- trigger:
- send "&a"
- send "&e----------------------------"
- send " &6&lAFK KICK SKRIPT"
- send "&d"
- send " &6&lafk-true "
- send " &e&lAFKSYSTEMが起動します"
- send " &a&l200秒放置していると"
- send " &a&lKICKされます"
- send " &6&lafk-false"
- send " &e&lAFKSYSTEMがSTOPします"
- send " &b&lafkcheck"
- send " &e&lAFkの時間を確認できます"
- send "&e----------------------------"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement