options: dodawannie = 1000 #Tutaj ustaw ilosc przy dodawaniu punktow on first join: if {stone::%player%} is not set: set {stone::%player%} to 100 command /pkt [] []: trigger: if arg 1 is not set: send "&8-=-=-=-=-=-&7[&aVMPKT&7]&8-=-=-=-=-=-" send "" send "&a/pkt pokaz &8- &7Pokazuje Ilosc Naszych Punktow" send "&a/pkt sklep &8- &7Sklep Za Punkty" send "&a/pkt pomoc &8- &7Jak Zbierac Punkty" send "&a/pkt admin &8- &7Komendy Punktow Admina" send "" send "&8-=-=-=-=-=-&7[&aVMPKT&7]&8-=-=-=-=-=-" if arg 1 is "pokaz": send "&8-=-=-=-=-=-&7[&aVMPKT&7]&8-=-=-=-=-=-" send "" send "&8Twoje Zebrane Punkty To: %{stone::%player%}%" send "" send "&8-=-=-=-=-=-&7[&aVMPKT&7]&8-=-=-=-=-=-" if arg 1 is "sklep": send "&8-=-=-=-=-=-&7[&aVMPKT&7]&8-=-=-=-=-=-" send "" send "&a/pkt sklep koxy10 &8- &7Kupujesz 10 Koxow Za 500 Punktow" send "&a/pkt sklep koxy20 &8- &7Kupujesz 20 Koxow Za 1000 Punktow" send "&a/pkt sklep haste2 &8- &7Kupujesz Haste 2 Na 8 Min Za 350 Punktow" send "&a/pkt sklep sila2 &8- &7Kupujesz Potke Sily 2 Za 500 Punktow" send "&a/pkt sklep kilof &8- &7Kupujesz Kilof CraftTrack Za 2000 Punktow" send "&a/pkt sklep miecz &8- &7Kupujesz Miecz CraftTrack Za 2000 Punktow" send "" send "&8-=-=-=-=-=-&7[&aVMPKT&7]&8-=-=-=-=-=-" if arg 1 is "pomoc": send "&8-=-=-=-=-=-&7[&aVMPKT&7]&8-=-=-=-=-=-" send "" send "&8Punkty Zbierasz Kopiac Kamien/Obsydian" send "" send "&8-=-=-=-=-=-&7[&aVMPKT&7]&8-=-=-=-=-=-" if arg 1 is "sklep": if arg 2 is "koxy10": if {stone::%player%} is bigger than 500 remove 500 from {stone::%player%} send "&aPomyslnie Zakupiles 10 Koxow Za 500 Pkt!" give 10 322:1 to player else: send "&cMasz Za Malo Pkt!" if arg 1 is "sklep": if arg 2 is "koxy20": if {stone::%player%} is bigger than 1000 remove 1000 from {stone::%player%} send "&aPomyslnie Zakupiles 20 Koxow Za 1000 Pkt!" give 20 322:1 to player else: send "&cMasz Za Malo Pkt!" if arg 1 is "sklep": if arg 2 is "haste2": if {stone::%player%} is bigger than 350 remove 350 from {stone::%player%} send "&aPomyslnie Zakupiles Haste 2 Za 350 Pkt!" give 1 bootle named "&6&lHASTE 2" to player else: send "&cMasz Za Malo Pkt!" if arg 1 is "sklep": if arg 2 is "sila2": if {stone::%player%} is bigger than 500 remove 500 from {stone::%player%} send "&aPomyslnie Zakupiles Sile 2 Za 500 Pkt!" give 1 373:8265 to player else: send "&cMasz Za Malo Pkt!" if arg 1 is "sklep": if arg 2 is "kilof": if {stone::%player%} is bigger than 2000 remove 2000 from {stone::%player%} send "&aPomyslnie Zakupiles Kilof CraftTrack Za 2000 Punktow" execute console command "crafttrack kilof" else: send "&cMasz Za Malo Pkt!" if arg 1 is "sklep": if arg 2 is "miecz": if {stone::%player%} is bigger than 2000 remove 2000 from {stone::%player%} send "&aPomyslnie Zakupiles Miecz CraftTrack Za 2000 Punktow" execute console command "crafttrack miecz" else: send "&cMasz Za Malo Pkt!" if arg 1 is "admin": player has permission "pkt.admin" send "&8-=-=-=-=-=-&7[&aVMPKT&7]&8-=-=-=-=-=-" send "" send "&a/pkt dodaj &8- &7Dodaje Punkty Graczowi" send "" send "&8-=-=-=-=-=-&7[&aVMPKT&7]&8-=-=-=-=-=-" if arg 1 is "dodaj": player has permission "pkt.admin" add {@dodawanie} to {stone::%player%} send "&aPomyslnie Dodano Punkty! [%{@dodawanie}%]" on break of stone: chance of 50%: set {_r} to random integer from 1 to 10 add {_r} to {stone::%player%} send "&aDodano &c%{_r}% &aDo Twoich Punktow!" on break of obsidian: chance of 50%: set {_s} to random integer from 1 to 50 add {_s} to {stone::%player%} send "&aDodano &c%{_s}% &a Do Twoich Punktow" on rightclick: if player's tool is bootle named "&6&lHASTE 2" apply speed digging for 8 minutes remove bottle named "&6&lHASTE 2" give 1 bottle