#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Autor: ReyPlay # # Version: 1.0 # # Skype: replay_Games # # Skript.pl: Ironer; # # skript.pl/profil/3432-ironer/ # #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Nie będę się rozpisywał co można# # a czego nie mozna usuwać w sk, # # bo wiem że nie jest to zazwyczaj# # przestrzegane i każdy edytuje co# # chce, ale będę bardzo wdzięczny # # Ci jeśli nie usuniesz komendy # # z info o autorze. Dlaczego? # # Chce poprostu, aby maly kawalek # # świata o mnie usłyszał. Wkońcu # # prawie nikt nie patrzy na to. # # DZIĘKUJE! # #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # SZUKASZ PROFESJONALNEGO SKRYPTERA NA SERWER?! # # PISZ DO MNIE NA FORUM SKRIPT.PL! (LINK WYZEJ) # #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# options: #Przedrostek wiadomosci tag: &8[&cLucker&6SK&8] &7 #Wiadomosc wynikajaca z braku permisji, zalecana perm: &fUnknown command, type 'help' for help. #Nazwa serwera (W /lucker info) nazwa: xxx #Szansa na drop pkt szczescia, zalecam dac jak najmniejsza Szansa: 0.5% #variables: #Zebym sie nie pogubil :) # {lucker::%player%::lvl} #Lvl szczescia gracza # {lucker::%player%::pkt} #Pkt szczescia gracza # {lucker::%player%::sprawdzanie} #Sprawdzanie do ustawiania wyzej wymienionych zmiennych command /luckersk [] [] []: permission: luckersk.* permission message: {@perm} executable by: console, player trigger: if arg 1 is "give": if arg 2 is set: if argument-offlineplayer is set: if offlineplayer is online: if {lucker::%argument-offlineplayer%::lvl} is "1" or "2" or "3" or "4" or "5" or "6" or "7" or "8" or "9": send "{@tag}Dodales &c%arg 2% &7pkt szczescia graczowi &c%argument-offlineplayer%&7." to the player send "{@tag}Dostales &c%arg 2% &7pkt szczescia od &c%player%&7." to the argument-offlineplayer add arg 2 to {lucker::%argument-offlineplayer%::pkt} if {lucker::%argument-offlineplayer%::pkt} is 10 or higher: add 1 to {lucker::%argument-offlineplayer%::lvl} remove 10 from {lucker::%argument-offlineplayer%::pkt} wait 2 ticks send "{@tag}Gratulacje! Twoj poziom szczescia awansowal na &c%{lucker::%argument-offlineplayer%::lvl}%&7." to the argument-offlineplayer broadcast "{@tag}Poziom szczescia gracza &c%argument-offlineplayer% &7awansowal na &c%{lucker::%argument-offlineplayer::lvl%}% &7poziom." else: send "{@tag}Ten gracz osiagnal maksymalny poziom szczescia." else: send "{@tag}Gracz nie jest online." else: execute player command "luckersk help" else: execute player command "luckersk help" if arg 1 is "help" or "pomoc": send " " send " " send "&6«&8-&6»&8-&6«&8-&6»&8-&6«&8-&6»&8-&6«&8-&6»&8-&6«&8-&6»&c&l[LUCKERSK]&6«&8-&6»&8-&6«&8-&6»&8-&6«&8-&6»&8-&6«&8-&6»&8-&6«&8-&6»&c&l" send "&c/lucker give &8- &7Daje graczowi pkt szczescia." if arg 1 is not set: execute player command "luckersk help" if arg 1 is "info": send "" send "" send "&6«&8-&6»&8-&6«&8-&6»&8-&6«&8-&6»&8-&6«&8-&6»&8-&6«&8-&6»&c&l[LUCKERSK]&6«&8-&6»&8-&6«&8-&6»&8-&6«&8-&6»&8-&6«&8-&6»&8-&6«&8-&6»&c&l" send "{@tag}Autor: &cReyPlay" send "{@tag}Skype: replay_games" send "{@tag}Email: marcel355555@gmail.com" send "{@tag}Wersja: &c1.0" send "{@tag}Dla serwera &c{@nazwa}" command /szczescie: trigger: send " " send " " send "&aTwoje pkt szczescia: &6%{lucker::%player%::pkt}%&a/&610" send "&aTwoj lvl szczescia: &6%{lucker::%player%::lvl}%&a/&610" send " " send " " #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Moglem dac to w "variables:" # # Ale nie mam to tego zaufania xD # #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# on join: if {lucker::%player%::sprawdzanie} is not set: set {lucker::%player%::sprawdzanie} to true set {lucker::%player%::pkt} to 0 set {lucker::%player%::lvl} to 1 on break stone: chance of {@Szansa}: if {lucker::%player%::lvl} is 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9: add 1 to {lucker::%player%::pkt} send "{@tag}Gratulacje! Znalazles &c1 &7pkt szczescia! &8(&c%{lucker::%player%::pkt}%&8/&c10&8)" to the player if {lucker::%player%::pkt} is 10 or higher: add 1 to {lucker::%player%::lvl} remove 10 from {lucker::%player%::pkt} wait 2 ticks send "{@tag}Gratulacje! Twoj poziom szczescia awansowal na &c%{lucker::%player%::lvl}%&7." to the player broadcast "{@tag}Poziom szczescia gracza &c%player% &7awansowal na &c%{lucker::%player::lvl%}% &7poziom." #-#-#-#-#-#-#-#-#-#-#-# # PRYMITYWNA CZESC :) # #-#-#-#-#-#-#-#-#-#-#-# on break log: if {lucker::%player%::lvl} is 1: chance of 2.0%: drop 2 log if {lucker::%player%::lvl} is 2: chance of 4.0%: drop 2 log if {lucker::%player%::lvl} is 3: chance of 6.0%: drop 2 log if {lucker::%player%::lvl} is 4: chance of 8.0%: drop 2 log if {lucker::%player%::lvl} is 5: chance of 10.0%: drop 2 log if {lucker::%player%::lvl} is 6: chance of 12.0%: drop 3 log if {lucker::%player%::lvl} is 7: chance of 14.0%: drop 3 log if {lucker::%player%::lvl} is 8: chance of 16.0%: drop 3 log if {lucker::%player%::lvl} is 9: chance of 18.0%: drop 3 log if {lucker::%player%::lvl} is 10: chance of 20.0%: drop 3 log on break ice: if {lucker::%player%::lvl} is 1: chance of 2.0%: drop 2 ice if {lucker::%player%::lvl} is 2: chance of 4.0%: drop 2 ice if {lucker::%player%::lvl} is 3: chance of 6.0%: drop 2 ice if {lucker::%player%::lvl} is 4: chance of 8.0%: drop 2 ice if {lucker::%player%::lvl} is 5: chance of 10.0%: drop 2 ice if {lucker::%player%::lvl} is 6: chance of 12.0%: drop 3 ice if {lucker::%player%::lvl} is 7: chance of 14.0%: drop 3 ice if {lucker::%player%::lvl} is 8: chance of 16.0%: drop 3 ice if {lucker::%player%::lvl} is 9: chance of 18.0%: drop 3 ice if {lucker::%player%::lvl} is 10: chance of 20.0%: drop 3 ice on break sand: if {lucker::%player%::lvl} is 1: chance of 2.0%: drop 2 sand if {lucker::%player%::lvl} is 2: chance of 4.0%: drop 2 sand if {lucker::%player%::lvl} is 3: chance of 6.0%: drop 2 sand if {lucker::%player%::lvl} is 4: chance of 8.0%: drop 2 sand if {lucker::%player%::lvl} is 5: chance of 10.0%: drop 2 sand if {lucker::%player%::lvl} is 6: chance of 12.0%: drop 3 sand if {lucker::%player%::lvl} is 7: chance of 14.0%: drop 3 sand if {lucker::%player%::lvl} is 8: chance of 16.0%: drop 3 sand if {lucker::%player%::lvl} is 9: chance of 18.0%: drop 3 sand if {lucker::%player%::lvl} is 10: chance of 20.0%: drop 3 sand on break dirt: if {lucker::%player%::lvl} is 1: chance of 2.0%: drop 2 dirt if {lucker::%player%::lvl} is 2: chance of 4.0%: drop 2 dirt if {lucker::%player%::lvl} is 3: chance of 6.0%: drop 2 dirt if {lucker::%player%::lvl} is 4: chance of 8.0%: drop 2 dirt if {lucker::%player%::lvl} is 5: chance of 10.0%: drop 2 dirt if {lucker::%player%::lvl} is 6: chance of 12.0%: drop 3 dirt if {lucker::%player%::lvl} is 7: chance of 14.0%: drop 3 dirt if {lucker::%player%::lvl} is 8: chance of 16.0%: drop 3 dirt if {lucker::%player%::lvl} is 9: chance of 18.0%: drop 3 dirt if {lucker::%player%::lvl} is 10: chance of 20.0%: drop 3 dirt on break grass: if {lucker::%player%::lvl} is 1: chance of 2.0%: drop 2 grass if {lucker::%player%::lvl} is 2: chance of 4.0%: drop 2 grass if {lucker::%player%::lvl} is 3: chance of 6.0%: drop 2 grass if {lucker::%player%::lvl} is 4: chance of 8.0%: drop 2 grass if {lucker::%player%::lvl} is 5: chance of 10.0%: drop 2 grass if {lucker::%player%::lvl} is 6: chance of 12.0%: drop 3 grass if {lucker::%player%::lvl} is 7: chance of 14.0%: drop 3 grass if {lucker::%player%::lvl} is 8: chance of 16.0%: drop 3 grass if {lucker::%player%::lvl} is 9: chance of 18.0%: drop 3 grass if {lucker::%player%::lvl} is 10: chance of 20.0%: drop 3 grass on break stone: if {lucker::%player%::lvl} is 1: chance of 2.0%: drop 2 stone if {lucker::%player%::lvl} is 2: chance of 4.0%: drop 2 stone if {lucker::%player%::lvl} is 3: chance of 6.0%: drop 2 stone if {lucker::%player%::lvl} is 4: chance of 8.0%: drop 2 stone if {lucker::%player%::lvl} is 5: chance of 10.0%: drop 2 stone if {lucker::%player%::lvl} is 6: chance of 12.0%: drop 3 stone if {lucker::%player%::lvl} is 7: chance of 14.0%: drop 3 stone if {lucker::%player%::lvl} is 8: chance of 16.0%: drop 3 stone if {lucker::%player%::lvl} is 9: chance of 18.0%: drop 3 stone if {lucker::%player%::lvl} is 10: chance of 20.0%: drop 3 stone on break cobblestone: if {lucker::%player%::lvl} is 1: chance of 2.0%: drop 2 cobblestone if {lucker::%player%::lvl} is 2: chance of 4.0%: drop 2 cobblestone if {lucker::%player%::lvl} is 3: chance of 6.0%: drop 2 cobblestone if {lucker::%player%::lvl} is 4: chance of 8.0%: drop 2 cobblestone if {lucker::%player%::lvl} is 5: chance of 10.0%: drop 2 cobblestone if {lucker::%player%::lvl} is 6: chance of 12.0%: drop 3 cobblestone if {lucker::%player%::lvl} is 7: chance of 14.0%: drop 3 cobblestone if {lucker::%player%::lvl} is 8: chance of 16.0%: drop 3 cobblestone if {lucker::%player%::lvl} is 9: chance of 18.0%: drop 3 cobblestone if {lucker::%player%::lvl} is 10: chance of 20.0%: drop 3 cobblestone on break any ore: if {lucker::%player%::lvl} is 1: chance of 2.0%: give 50 xp to player if {lucker::%player%::lvl} is 2: chance of 4.0%: give 50 xp to player if {lucker::%player%::lvl} is 3: chance of 6.0%: give 50 xp to player if {lucker::%player%::lvl} is 4: chance of 8.0%: give 50 xp to player if {lucker::%player%::lvl} is 5: chance of 10.0%: give 50 xp to player if {lucker::%player%::lvl} is 6: chance of 12.0%: give 150 xp to player if {lucker::%player%::lvl} is 7: chance of 14.0%: give 150 xp to player if {lucker::%player%::lvl} is 8: chance of 16.0%: give 150 xp to player if {lucker::%player%::lvl} is 9: chance of 18.0%: give 150 xp to player if {lucker::%player%::lvl} is 10: chance of 20.0%: give 150 xp to player