command /helpop []: trigger: if {helpop::%player%.exh} is not set: set {helpop::%player%.exh} to now remove 15 second from {helpop::%player%.exh} if arg 1 is set: if difference between {helpop::%player%.exh} and now is larger than or equal to 15 second: send "&8 &3Wiadomosc zostala wyslana, dziekujemy !" to player loop all players: loop-player has permission "admin.helpop": send "&8[&cBC&8] &c%player%&8: &c%arg 1%" to loop-player clear {helpop::%player%.receive} set {helpop::%player%.exh} to now set {helpop::%player%} to arg stop send "Musisz jeszcze poczekac przed kolejnym wyslaniem wiadomosci." stop send "&8Musisz wpisac wiadomosc do wyslania!" command /odp [] []: trigger: if sender doesn't have permission "helpop.receive": send "Nie posiadasz uprawnien do wyslania odpowiedzi." stop if arg 2 is not set: send "/odp &7Odpowiadasz na zgloszenie." stop set {_1} to "%arg 1%" parsed as offlineplayer if {_1} is offline: send "Gracz nie jest online." stop if {helpop::%{_1}%.receive} is set: send "Gracz juz dostal odpowiedz na te zgloszenie." stop if difference between {helpop::%{_1}%.exh} and now is larger than 1 hour: send "Zgloszenie jest przedawnione!" stop send "Admin %player% odpowiada na twoje zgloszenie, ktore brzmialo:" to {_1} send "%{helpop::%{_1}%}%" to {_1} send "Jego odpowiedz:" to {_1} send "%coloured arg 2%" to {_1} set {helpop::%{_1}%.receive} to true send "Odpowiedziales na zgloszenie gracza %{_1}%" stop