options: permisja: twojeip.rozdaj command /rozdaj [] []: trigger: if executor has permission "{@permisja}": if arg 1 is set: if arg 1 is number: if arg 2 is set: if arg 2 is "pospolita": execute console command "cc giveall %arg 1% pospolita" send "&aRozdales &ecalemu serwerowi &7pospolite klucze" broadcast "&e%executor% &arozdal &e%arg 1% &7pospolitych kluczy" if arg 2 is "epicka": execute console command "cc giveall %arg 1% epicka" send "&aRozdales &ecalemu serwerowi &depickie klucze" broadcast "&e%executor% &arozdal &e%arg 1% &depickich kluczy" if arg 2 is "legendarna": execute console command "cc giveall %arg 1% legendarna" send "&aRozdales &ecalemu serwerowi &6legendarne klucze" broadcast "&e%executor% &arozdal &e%arg 1% &6legendarnych kluczy" if arg 2 is not "pospolita" or "epicka" or "legendarna": send "&cPoprawne uzycie: &f/rozdaj [ILOSC] [POSPOLITA/EPICKA/LEGENDARNA]" stop else: send "&4BLAD! &cPodaj rodzaj klucza!" send "&cPoprawne uzycie: &f/rozdaj [ILOSC] [POSPOLITA/EPICKA/LEGENDARNA]" stop else: send "&4BLAD! &cIlosc musi byc cyfra!" send "&cPoprawne uzycie: &f/rozdaj [ILOSC] [POSPOLITA/EPICKA/LEGENDARNA]" stop else: send "&4BLAD! &cPodaj ilosc!" send "&cPoprawne uzycie: &f/rozdaj [ILOSC] [POSPOLITA/EPICKA/LEGENDARNA]" stop else: send "&cBrak uprawnien &7(&6{@permisja}&7)" stop