on rightclick on sign: if line 2 of clicked block is "{@tag}": if line 3 of clicked block is "Arena": if {arena.Arena} is false: #sprawdzanie czy arena jest dostepna run player cmd "arena dolacz Arena" as op #"arena dolacz Arena" to komenda na dolaczanie do areny if {arena.Arena} is true: send "&2Ta arena jest zajeta! Poczekaj chwile na zwolnienie sie tej areny" stop To jest kod na dolaczanie i sprawdzanie czy arena jest w grze czy nie. Mysle ze o to chodzilo :)
A to na wolna liste aren if arg 1 is "lista" or "list": if {arena.list-number} is not set: set {arena.list-number} to 0 if {arena.list-number} is 0: send "{@tag} {@error}Nie ma zadnych aren!" stop if {arena.list-number} is greater than 0:​ set {_lista} to "%{lista::*}%" replace all "and" with ", " in {_lista} send "{@tag}: %{arena.list.list::*}%" stop Po starcie dodajesz "remove "Nazwa_areny" from {arena.list.list: :*}", a zakończeniu areny dodajesz kod "add "Nazwa_areny" to {arena.list.list: :*}",