options:     pex: admin     pexMsg: &8>> &cNie masz uprawnien do tej komendy!     logo: &c[MyBans]   on first join:         set {ban::%player%} to false   variables:         {ban::%player%} = false         {mute.%player%} = false   on script load:     if folder "plugins/Skript/scripts/MyBans" doesn't exists:         create folder "plugins/Skript/scripts/MyBans"         create folder "plugins/Skript/scripts/MyBans/bany"         create folder "plugins/Skript/scripts/MyBans/ipbany"         create folder "plugins/Skript/scripts/MyBans/muty"         broadcast "&6&lPLIKI MyBans zostaly stworzone!"         stop command /kick [] []:         permission: admin.kick         permission message: &4Nie masz uprawnien do tej komendy!         trigger:                 argument-offlineplayer is set:                         kick argument-offlineplayer due to "&cZostales wyrzucony z serwera z powodu &7( &9%arg 2% &7)."                         broadcast "&7| &aKICK &7|  &cGracz &e%arg 1% &czostal wyrzucony z serwera z powodu &7( &9%arg 2% &7)."                 else:                         send "&cPoprawne uzycie &7/kick " command /ban [] []:     permission: {@pex}     permission message: "{@pexMsg}"     trigger:         if arg 1 is set:             if arg 2 is set:                 if file "plugins/Skript/scripts/MyBans/bany/%arg 1%.yml" doesn't exists:                     if offlineplayer-arg 1 don't have permission "{@pex}":                         create file "plugins/Skript/scripts/MyBans/bany/%arg 1%.yml"                         if sender is not console:                             set {_b} to "%player%"                         else:                             set {_b} to "CONSOLE"                         set {_powod} to arg 2                         set {_player} to arg 1                         set {_y} to "%year%"                         set {_m} to "%month%"                         set {_d} to "%day%"                         set {_h} to "%hour%"                         set {_m} to "%minute%"                         set {_c} to "%{_y}%.%{_m}%.%{_d}% %{_h}%:%{_m}%"                         kick arg 1 due to "&8&m==============================%nl%&3Zostales &7permamentnie &3zbanowany!%nl%&3Zbanowal: &7%{_b}%%nl%&3Powod: &7%{_powod}%%nl%&3Data nadania: &7%{_c}%%nl%&8&m============================="                         broadcast "{@logo} &eGracz &c%arg 1% &ezostal zbanowany przez &7%player%"                         set yaml value "ban.admin" from "MyBans/bany/%arg 1%.yml" to "%{_b}%"                         set yaml value "ban.gracz" from "MyBans/bany/%arg 1%.yml" to "%{_player}%"                         set yaml value "ban.data" from "MyBans/bany/%arg 1%.yml" to "%{_c}%"                         set yaml value "ban.typ" from "MyBans/bany/%arg 1%.yml" to "PERM"                         set yaml value "ban.powod" from "MyBans/bany/%arg 1%.yml" to "%{_powod}%"                         if offlineplayer-arg 1 is offline:                             send "&8>> &bZbanowales gracza &coffline: &7%arg 1% &b za: &7%arg 2%"                         else:                             send "&8>> &bZbanowales gracza: &7%arg 1% &b za: &7%arg 2%"                         stop                     else:                         send "&8>> &cNie mozesz zbanowac admina!"                         send "&8>> &cAdmin &7%player% &cchcial Cie zbanowac!" to arg 1                         stop                 else:                     send "&8>> &cTen gracz jest juz zbanowany!"                     stop             else:                 send "&8>> &cPoprawne uzycie: &7/ban "                 stop         else:             send "&8>> &cPoprawne uzycie: &7/ban "             stop     command /unban [] []:     permission: {@pex}     permission message: "{@pexMsg}"     trigger:         if arg 1 is set:             if file "plugins/Skript/scripts/MyBans/bany/%arg 1%.yml" exists:                 if sender is not console:                     set {_b} to "%player%"                 else:                     set {_b} to "CONSOLE"                 delete file "plugins/Skript/scripts/MyBans/bany/%arg 1%.yml"                 send "&8>> &aOdbanowales gracza: &e%arg 1%&a!"                 broadcast "&8>> &eGracz &c%arg 1% &ezostal odbanowany przez &7%{_b}%"                 stop             else:                 send "&8>> &cTen gracz nie jest zbanowany!"                 stop         else:             send "&8>> &cMusisz podac nick gracza ktorego chcesz odbanowac!"             stop     on connect:             if {ban::%player%} is true:                         kick arg 1 due to "&8&m==========================%nl%&3Zostales &7permamentnie &3zbanowany!%nl%&3Zbanowal: &7%{_b}%%nl%&3Powod: &7%{_powod}%%nl%&3Data nadania: &7%{_c}%%nl%&8========================="                         stop    command /mute [] []: #todo czasowe     permission: {@pex}     permission message: "{@pexMsg}"     trigger:         if arg 1 is set:             if arg 2 is set:                 if file "plugins/Skript/scripts/MyBans/muty/%arg 1%.yml" doesn't exists:                     if offlineplayer-arg don't have permissions "helper":                         if arg 1 isn't "%player%":                             create file "plugins/Skript/scripts/MyBans/muty/%arg 1%.yml"                             if sender is not console:                                 set {_b} to "%player%"                             else:                                 set {_b} to "CONSOLE"                             set {_y} to "%year%"                             set {_m} to "%month%"                             set {_d} to "%day%"                             set {_h} to "%hour%"                             set {_m} to "%minute%"                             set {_c} to "%{_y}%.%{_m}%.%{_d}% %{_h}%:%{_m}%"                             set yaml value "mute.gracz" from "MyBans/muty/%arg 1%.yml" to "%arg 1%"                             set yaml value "mute.admin" from "MyBans/muty/%arg 1%.yml" to "%player%"                             set yaml value "mute.powod" from "MyBans/muty/%arg 1%.yml" to "%arg 2%"                             set yaml value "mute.data" from "MyBans/muty/%arg 1%.yml" to "%{_c}%"                             send "&8>> &3Wyciszyles gracza &e%arg 1% &3z powodem: &7%arg 2%"                             send "&8>> &cZostales wyciszony przez &7%{_b}% za: &4&l%arg 2%" to offlineplayer-arg 1                             stop                         else:                             send "&8>> &cNie mozesz wyciszyc samego siebie!"                             stop                     else:                         send "&8>> &cNie mozesz wyciszyc admina!"                         send "&8>> &cAdmin &7%player% &cchcial Cie wyciszyc!" to offlineplayer-arg 1                         stop                 else:                     send "&8>> &cTen gracz jest juz wyciszony!"                     stop             else:                 send "&8>> &cPoprawne uzycie: &7/mute "                 stop         else:             send "&8>> &cPoprawne uzycie: &7/mute "             stop command /unmute [] []:     permission: {@pex}     permission message: "{@pexMsg}"     trigger:         if arg 1 is set:             if file "plugins/Skript/scripts/MyBans/muty/%arg 1%.yml" exists:                 if sender is not console:                     set {_b} to "%player%"                 else:                     set {_b} to "CONSOLE"                 delete file "plugins/Skript/scripts/MyBans/muty/%arg 1%.yml"                 send "&8>> &aOdciszyles gracza gracza: &e%arg 1%&a!"                 send "&8>> &bMozesz znow mowic dzieki &7%{_b}%!" to offlineplayer-arg 1                 stop             else:                 send "&8>> &cTen gracz nie jest wyciszony!"                 stop         else:             send "&8>> &cMusisz podac nick gracza ktorego chcesz odciszyc!"             stop   on chat:     if player don't have permission "helper":         if file "plugins/Skript/scripts/MyBans/muty/%player%.yml" exists:             send "&8>> &7Jestes aktualnie wyciszony, wiec nie mozesz pisac!"             cancel event