variables: {pyt.odczekaj::%player%} = 0 command /pyt []: aliases: pytanie trigger: if arg 1 is set: if {pyt.odczekaj::%player%} = 0: set {pyt.odczekaj::%player%} to 120 loop all players: if loop-player has permissions "pyt.odpowiedz": send "&f&lPytanie &3» &a%player% &fzadal Ci pytanie!" to loop-player send "&f&lPytanie &3» &fPytanie brzmi: &a%arg 1%" to loop-player loop 120 times: wait 1 second if {pyt.odczekaj::%player%} > 0: remove 1 from {pyt.odczekaj::%player%} stop if {pyt.odczekaj::%player%} > 0: send "&f&lPytanie &3» &fMusisz odczekac &a%{pyt.odczekaj::%player%}% &fsek. zanim zadasz nastepne pytanie!" stop if arg 1 is not set: send "&f&lPytanie &3» &fPoprawne uzycie: &a/pyt " stop command /odp [] []: aliases: odpowiedz trigger: if player has permissions "pyt.odpowiedz": if arg 1 is set: if arg 2 is set: send "&f&lPytanie &3» &fOdpowiedziales dla &a%arg-player%&f!" send "&f&lPytanie &3» &fOdpowiedz brzmi: &a%arg 2%&f." send "&f&lPytanie &3» &a%player% &fCi odpowiedzial!" to arg-player send "&f&lPytanie &3» &fOdpowiedz brzmi: &a%arg 2%&f." to arg-player stop else: send "&f&lPytanie &3» &fPodaj odpowiedz!" stop else: send "&f&lPytanie &3» &fKomu ?" stop