code_language.skript:
command /p <offlineplayer> [<text>]:
permission: mod.punish
permission message: &4Punish &8- &fNo permission.
usage: &4Punish &8- &fNo permission.
trigger:
open chest with 6 rows named "&4Punish" to player
wait 1 tick
format slot 10 of player with red dye named "&4Permanent Ban" to close then run [execute the player command "/ban %arg-1% %arg-2%"]
format slot 12 of player with paper named "&4Permanent Mute" to close then run [execute the player command "/mute %arg-1%"]
format slot 14 of player with glass pane named "To be continued..." to close
format slot 19 of player with orange dye named "&630 Day Ban" to close then run [execute the player command "/tempban %arg-1% 30 d %arg-2%"]
format slot 21 of player with paper named "&c30 Day Mute" to close then run [execute the player command "/mute %arg-1% 30d"]
format slot 28 of player with yellow dye named "&e7 Day Ban" to close then run [execute the player command "/tempban %arg-1% 7 d %arg-2%"]
format slot 30 of player with paper named "&67 Day Mute" to close then run [execute the player command "/mute %arg-1% 7d"]
format slot 39 of player with paper named "&724 Hour Mute" to close then run [execute the player command "/mute %arg-1% 1d"]
can anyone explain why?