options: #CONFIG server: &a&lTOP&7&lCRAFT&8&l.PL ################################### ##### NA DOLE NIE ZMIENIAC! ##### ################################### variables: {spr.%player%} = false command /spr [] []: permission: tc.spr trigger: if arg 1 is not set: send "&8&l&m------ &8[ &7KOMENDY &8] &8&l&m------" send "&3/spr gracz &8- &7Sprawdza gracza" send "&3/spr czysty &8- &7Uznaje gracza za czystego" send "&3/spr cheater &8- &7Uznaje gracza za cheatera" send "&3/spr klatka &8- &7Ustawia klatke do sprawdzania" send "&3/spr sczysty &8- &7Ustawia miejsce po sprawdzeniu" send "&3/spr logout &8- &7Banuje za wylogowanie" send "&8&l&m------ &8[ &7KOMENDY &8] &8&l&m------" if arg 1 is "gracz": if arg 2 is set: broadcast "&8[ {@server} &8] &7Gracz &c&n%arg 2% &7jest sprawdzany!" teleport the arg player to {klatka} teleport the player to {klatka} set {spr.%arg 2%} to true if arg 1 is "czysty": if arg 2 is set: broadcast "&8[ {@server} &8] &7Gracz &c&n%arg 2% &7jest czysty!" teleport the arg player to {czysty} teleport the player to {czysty} set {spr.%arg 2%} to false if arg 1 is "cheater": if arg 2 is set: broadcast "&8[ {@server} &8] &7Gracz &c&N%arg 2% &7jest cheaterem!" set {spr.%arg 2%} to false ban the arg player due to "&8&l## &7Zostales zbanowany za cheaty! &8~ &b&n%player% &8&l##" kick the arg player due to "&8&l## &7Zostales zbanowany za cheaty! &8~ &b&n%player% &8&l##" if arg 1 is "klatka": set {klatka} to location of player send "&7Ustawiles klatke!" if arg 1 is "sczysty": set {czysty} to location of player send "&7Ustawiles spawna!" if arg 1 is "logout": if arg 2 is set: broadcast "&8[ {@server} &8] &7Gracz &c&n%arg 2% &7wylogowal sie podczas sprawdzania!" ban the arg player due to "&8&l## &7Wylogowales sie podczas sprawdzania! &8&l##" kick the arg player due to "&8&l## &7Wylogowales sie podczas sprawdzania! &8&l##" on quit: if {spr.%player%} is false: stop if {spr.%player%} is true: execute console command "/spr logout %player%"