command /pay [] []: trigger: if arg 1 isn't set: send "&cPoprawne uzycie: /pay &7<&fGRACZ&7> <&fKWOTA&7>" stop if arg 2 isn't set: send "&cPoprawne uzycie: /pay &7<&fGRACZ&7> <&fKWOTA&7>" stop if arg 1 is set: if arg 2 is greater or equal to 0: if {money::%player%} is greater or equal to arg 2: add arg 2 to {money::%arg 1%} remove arg 2 from {money::%player%} send "&aPoprawnie przelales: &6%arg 2% &ado gracza &6%arg 1%" send "&aOtrzymales: &6%arg 2% &aod gracza: &6%player%" to arg 1 stop else: send "&cNie posiadasz takiej kwoty na swoim koncie." stop else: send "&cMusisz podac liczbe! Nie moze to byc &f0" stop command /apay [] []: trigger: if player has permission "apay.admin": if arg 1 isn't set: send "&cPoprawne uzycie: /apay &7<&fGRACZ&7> <&fKWOTA&7>" stop if arg 2 isn't set: send "&cPoprawne uzycie: /apay &7<&fGRACZ&7> <&fKWOTA&7>" stop if arg 1 is set: if arg 2 is greater or equal to 0: remove arg 2 from {money::%arg 1%} send "&aPoprawnie odebrales: &6%arg 2% &az konta gracza &6%arg 1%" send "&aJego obecny stan konta to: &6%{money::%arg 1%}%" stop else: send "&cMusisz podac liczbe! Nie moze to byc &f0" stop else: send "&cTwoje permisje nie sa wystarczajace do uzycia tej komendy!" stop