command /pyt [] []: trigger: if player has permissions "pyt.cmd": if arg 1 is set: if arg 2 is set: if {pyt::%player%} is not set: if arg-player has permissions "odp.cmd": set {pyt::%player%} to "%arg 2%" clear {odp::%player%} send "&f&lPytanie &3» &fZadales pytanie dla &a%arg-player%&f!" send "&f&lPytanie &3» &fPytanie brzmi: &a%arg 2%&f." send "&f&lPytanie &3» &a%arg-player% &fzadal Ci pytanie!" to arg-player send "&f&lPytanie &3» &fPytanie brzmi: &a%arg 2%&f." to arg-player if arg-player doesn't have permissions "odp.cmd": send "&f&lPytanie &3» &a%arg-player% &fnie ma permissji zebys mu zadal pytanie!" if {pyt::%player%} is set: if {odp::%player%} is not set: send "&f&lPytanie &3» &fZadales juz pytanie!" send "&f&lPytanie &3» &fMusisz odczekac na odpowiedz, zeby zadac kolejne!" stop if {odp::%player%} is set: clear {odp::%player%} clear {pyt::%player%} stop if arg 2 is not set: send "&f&lPytanie &3» &fJakie chcesz zadac pytanie dla &a%arg-player%&f?" stop if arg 1 is not set: send "&f&lPytanie &3» &fKomu chcesz zadac pytanie?" if {pyt::%player%} is set: send "&f&lPytanie &3» &fOoo, widze ze zadales pytanie dla kogos..." if {odp::%player%} is set: send "&f&lPytanie &3» &fTen ktos Ci odpowiedzial: &a%{odp::%player%}%&f." if {odp::%player%} is not set: send "&f&lPytanie &3» &fJeszcze Ci nie odpowiedzial..." stop command /odp [] []: trigger: if player has permissions "odp.cmd": if arg 1 is set: if arg 2 is set: if {pyt::%arg-player%} is set: if {odp::%arg-player%} is set: send "&f&lPytanie &3» &fOdpowiedziales juz na pytanie dla &a%arg-player%&f!" stop if {odp::%arg-player%} is not set: set {odp::%arg-player%} to "%arg 2%" send "&f&lPytanie &3» &fOdpowiedziales na pytanie &a%arg-player%&f!" send "&f&lPytanie &3» &fTwoja odpowiedz: &a%arg 2%&f." send "&f&lPytanie &3» &a%player% &fCi odpowiedzial." to arg-player send "&f&lPytanie &3» &fWpisz &a/pyt &faby zobaczyc odpowiedz!" to arg-player stop if {pyt::%arg-player%} is not set: send "&f&lPytanie &3» &fNikt Ci nie zadal zadnego pytania!" stop if arg 2 is not set: send "&f&lPytanie &3» &fJaka odpowiedz chcesz napisac dla &a%arg-player%&f?" if arg 1 is not set: send "&f&lPytanie &3» &fKomu chcesz zadac pytanie?" if {pyt::%player%} is set: send "&f&lPytanie &3» &fOoo, widze ze ktos Ci zadal pytanie..." if {odp::%player%} is not set: send "&f&lPytanie &3» &fA ty nie odpowiedziales!" send "&f&lPytanie &3» &fAby odpowiedziec wpisz: &a/odp " stop