Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.94 KB | None | 0 0
  1. on first join:
  2. set {czas-turbodrop::%player%} to "&f-"
  3. set {czas-turbodrop.gildia::%player%} to "&f-"
  4. set {turbodrop.gildia::%player%} to "&cnie"
  5. set {czas-turboexp::%player%} to "&f-"
  6. set {czas-turboexp.gildia::%player%} to "&f-"
  7. set {turboexp.gildia::%player%} to "&cnie"
  8. set {czas-turboexp.text::%player%} to "&cnie"
  9. set {czas-turbodrop.text::%player%} to "&cnie"
  10. clear {kopanie::%player%}
  11. clear {guiwyjmowanie::%player%}
  12. loop {KH-drop.numer} times:
  13. clear {%{KH-drop.%loop-number%.przedmiot}%::%player%}
  14. set {%{KH-drop.%loop-number%.przedmiot}%text::%player%} to "&atak"
  15.  
  16.  
  17.  
  18. on mine of diamond ore or emerald ore or iron ore or gold ore:
  19. if {cobblex.%event-block%} is not set:
  20. cancel event
  21. set block to air
  22. send " &8» &eDrop z tej rudy jest wylaczony!"
  23. send " &8» &eAby zobaczyc procent szans na drop wpisz &8/Drop&e!"
  24. stop
  25.  
  26. on break of stone:
  27.  
  28.  
  29.  
  30. on join:
  31. clear {guiwyjmowanie::%player%}
  32. clear {kopanie::%player%}
  33. if {turbodrop::%player%} is not set:
  34. set {czas-turbodrop.text::%player%} to "&cnie"
  35. set {czas-turbodrop::%player%} to "&f-"
  36. set {czas-turbodrop.gildia::%player%} to "&f-"
  37. set {turbodrop.gildia::%player%} to "&cnie"
  38. if {turboexp::%player%} is not set:
  39. set {czas-turboexp::%player%} to "&f-"
  40. set {czas-turboexp.gildia::%player%} to "&f-"
  41. set {turboexp.gildia::%player%} to "&cnie"
  42. set {czas-turboexp.text::%player%} to "&cnie"
  43. loop {KH-drop.numer} times:
  44. clear {%{KH-drop.%loop-number%.przedmiot}%::%player%}
  45. set {%{KH-drop.%loop-number%.przedmiot}%text::%player%} to "&atak"
  46.  
  47. on quit:
  48. clear {kopanie::%player%}
  49. clear {guiwyjmowanie::%player%}
  50. if {czas-turbodrop::%player%} is "&f-":
  51. if {czas-turbodrop.gildia::%player%} is "&f-":
  52. clear {czas-turbodrop::%player%}
  53. clear {czas-turbodrop.gildia::%player%}
  54. clear {turbodrop.gildia::%player%}
  55. clear {czas-turbodrop.text::%player%}
  56. if {czas-turboexp::%player%} is "&f-":
  57. if {czas-turboexp.gildia::%player%} is "&f-":
  58. clear {czas-turboexp::%player%}
  59. clear {czas-turboexp.gildia::%player%}
  60. clear {turboexp.gildia::%player%}
  61. clear {czas-turboexp.text::%player%}
  62. loop {KH-drop.numer} times:
  63. clear {%{KH-drop.%loop-number%.przedmiot}%::%player%}
  64. clear {%{KH-drop.%loop-number%.przedmiot}%text::%player%}
  65.  
  66. on script load:
  67. clear {kopanie::*}
  68. clear {guiwyjmowanie::*}
  69. if folder "plugins/Skript/drop" doesn't exists:
  70. send "Nie odnaleziono config.yml!" to console
  71. create folder "plugins/Skript/drop"
  72. create file "plugins/Skript/drop/config.yml"
  73. set "config" to "" in yaml file "plugins/Skript/drop/config.yml"
  74. set "config.anty-speedmine" to "tak" in yaml file "plugins/Skript/drop/config.yml"
  75. set "config.strona" to "http://www.kithc.usite.pl/gildia/" in yaml file "plugins/Skript/drop/config.yml"
  76. set "config.exp" to "30" in yaml file "plugins/Skript/drop/config.yml"
  77. set "config.mnoznik.ranga.vip" to "1.5" in yaml file "plugins/Skript/drop/config.yml"
  78. set "config.mnoznik.ranga.svip" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
  79. set "config.mnoznik.turbo.drop" to "2" in yaml file "plugins/Skript/drop/config.yml"
  80. set "config.wiadomosc.turbo.drop.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turbodrop" in yaml file "plugins/Skript/drop/config.yml"
  81. set "config.wiadomosc.turbo.drop.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turbodrop" in yaml file "plugins/Skript/drop/config.yml"
  82. set "config.wiadomosc.turbo.drop.wiadomosc-all" to "KOLORcTurbodrop zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
  83. set "config.wiadomosc.turbo.drop.wiadomosc-gracz-stop" to "KOLORcTurbodrop dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  84. set "config.wiadomosc.turbo.drop.wiadomosc-gildia-stop" to "KOLORcTurbodrop twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  85. set "config.wiadomosc.turbo.drop.wiadomosc-all-stop" to "KOLORcTurbodrop dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  86. set "config.mnoznik.turbo.exp" to "3" in yaml file "plugins/Skript/drop/config.yml"
  87. set "config.wiadomosc.turbo.exp.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turboexp" in yaml file "plugins/Skript/drop/config.yml"
  88. set "config.wiadomosc.turbo.exp.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turboexp" in yaml file "plugins/Skript/drop/config.yml"
  89. set "config.wiadomosc.turbo.exp.wiadomosc-all" to "KOLORcTurboexp zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
  90. set "config.wiadomosc.turbo.exp.wiadomosc-gracz-stop" to "KOLORcTurboexp dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  91. set "config.wiadomosc.turbo.exp.wiadomosc-gildia-stop" to "KOLORcTurboexp twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  92. set "config.wiadomosc.turbo.exp.wiadomosc-all-stop" to "KOLORcTurboexp dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  93. set "config.wiadomosc.turbo.anty-speedmine.wiadomosc" to "KOLORcGracz {gracz} jest podejrzany o speedmine!" in yaml file "plugins/Skript/drop/config.yml"
  94. set "config.1.przedmiot" to "diamond" in yaml file "plugins/Skript/drop/config.yml"
  95. set "config.1.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
  96. set "config.1.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
  97. set "config.1.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
  98. set "config.1.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
  99. set "config.1.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
  100. set "config.1.przedmiot-wiadomosc" to "diament" in yaml file "plugins/Skript/drop/config.yml"
  101. set "config.1.wiadomosc" to "KOLORcGratulacje! Wydropiles {przedmiot} {ilosc} szt" in yaml file "plugins/Skript/drop/config.yml"
  102. set "config.2.przedmiot" to "emerald" in yaml file "plugins/Skript/drop/config.yml"
  103. set "config.2.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
  104. set "config.2.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
  105. set "config.2.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
  106. set "config.2.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
  107. set "config.2.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
  108. set "config.2.przedmiot-wiadomosc" to "szmaragd" in yaml file "plugins/Skript/drop/config.yml"
  109. set "config.2.wiadomosc" to "brak" in yaml file "plugins/Skript/drop/config.yml"
  110. send "config.yml zostal pomyslnie utworzony!" to console
  111. if file "plugins/Skript/drop/config.yml" doesn't exists:
  112. send "Nie znaleziono pliku config.yml!" to console
  113. create file "plugins/Skript/drop/config.yml"
  114. set "config" to "" in yaml file "plugins/Skript/drop/config.yml"
  115. set "config.anty-speedmine" to "tak" in yaml file "plugins/Skript/drop/config.yml"
  116. set "config.strona" to "http://www.kithc.usite.pl/gildia/" in yaml file "plugins/Skript/drop/config.yml"
  117. set "config.exp" to "30" in yaml file "plugins/Skript/drop/config.yml"
  118. set "config.mnoznik.ranga.vip" to "1.5" in yaml file "plugins/Skript/drop/config.yml"
  119. set "config.mnoznik.ranga.svip" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
  120. set "config.mnoznik.turbo.drop" to "2" in yaml file "plugins/Skript/drop/config.yml"
  121. set "config.wiadomosc.turbo.drop.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turbodrop" in yaml file "plugins/Skript/drop/config.yml"
  122. set "config.wiadomosc.turbo.drop.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turbodrop" in yaml file "plugins/Skript/drop/config.yml"
  123. set "config.wiadomosc.turbo.drop.wiadomosc-all" to "KOLORcTurbodrop zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
  124. set "config.wiadomosc.turbo.drop.wiadomosc-gracz-stop" to "KOLORcTurbodrop dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  125. set "config.wiadomosc.turbo.drop.wiadomosc-gildia-stop" to "KOLORcTurbodrop twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  126. set "config.wiadomosc.turbo.drop.wiadomosc-all-stop" to "KOLORcTurbodrop dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  127. set "config.mnoznik.turbo.exp" to "3" in yaml file "plugins/Skript/drop/config.yml"
  128. set "config.wiadomosc.turbo.exp.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turboexp" in yaml file "plugins/Skript/drop/config.yml"
  129. set "config.wiadomosc.turbo.exp.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turboexp" in yaml file "plugins/Skript/drop/config.yml"
  130. set "config.wiadomosc.turbo.exp.wiadomosc-all" to "KOLORcTurboexp zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
  131. set "config.wiadomosc.turbo.exp.wiadomosc-gracz-stop" to "TKOLORcurboexp dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  132. set "config.wiadomosc.turbo.exp.wiadomosc-gildia-stop" to "KOLORcTurboexp twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  133. set "config.wiadomosc.turbo.exp.wiadomosc-all-stop" to "KOLORcTurboexp dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  134. set "config.wiadomosc.turbo.anty-speedmine.wiadomosc" to "KOLORcGracz {gracz} jest podejrzany o speedmine!" in yaml file "plugins/Skript/drop/config.yml"
  135. set "config.1.przedmiot" to "diamond" in yaml file "plugins/Skript/drop/config.yml"
  136. set "config.1.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
  137. set "config.1.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
  138. set "config.1.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
  139. set "config.1.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
  140. set "config.1.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
  141. set "config.1.przedmiot-wiadomosc" to "diament" in yaml file "plugins/Skript/drop/config.yml"
  142. set "config.1.wiadomosc" to "KOLORcGratulacje! Wydropiles {przedmiot} {ilosc} szt" in yaml file "plugins/Skript/drop/config.yml"
  143. set "config.2.przedmiot" to "emerald" in yaml file "plugins/Skript/drop/config.yml"
  144. set "config.2.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
  145. set "config.2.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
  146. set "config.2.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
  147. set "config.2.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
  148. set "config.2.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
  149. set "config.2.przedmiot-wiadomosc" to "szmaragd" in yaml file "plugins/Skript/drop/config.yml"
  150. set "config.2.wiadomosc" to "brak" in yaml file "plugins/Skript/drop/config.yml"
  151. send "config.yml zostal pomyslnie utworzony!" to console
  152. wait 2 ticks
  153. set {KH-drop.antyspeedmine} to single value "config.anty-speedmine" get of "plugins/Skript/drop/config.yml"
  154. set {KH-drop.strona} to single value "config.strona" get of "plugins/Skript/drop/config.yml"
  155. set {KH-drop.exp} to single value "config.exp" get of "plugins/Skript/drop/config.yml" parsed as number
  156. set {KH-drop.mnoznik.turbodrop} to single value "config.mnoznik.turbo.drop" get of "plugins/Skript/drop/config.yml" parsed as number
  157. set {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz} to single value "config.wiadomosc.turbo.drop.wiadomosc-gracz" get of "plugins/Skript/drop/config.yml"
  158. set {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia} to single value "config.wiadomosc.turbo.drop.wiadomosc-gildia" get of "plugins/Skript/drop/config.yml"
  159. set {KH-drop.wiadomosc.turbodrop.wiadomosc.all} to single value "config.wiadomosc.turbo.drop.wiadomosc-all" get of "plugins/Skript/drop/config.yml"
  160. set {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz-stop} to single value "config.wiadomosc.turbo.drop.wiadomosc-gracz-stop" get of "plugins/Skript/drop/config.yml"
  161. set {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia-stop} to single value "config.wiadomosc.turbo.drop.wiadomosc-gildia-stop" get of "plugins/Skript/drop/config.yml"
  162. set {KH-drop.wiadomosc.turbodrop.wiadomosc.all-stop} to single value "config.wiadomosc.turbo.drop.wiadomosc-all-stop" get of "plugins/Skript/drop/config.yml"
  163. set {KH-drop.mnoznik.turboexp} to single value "config.mnoznik.turbo.exp" get of "plugins/Skript/drop/config.yml" parsed as number
  164. set {KH-drop.wiadomosc.turboexp.wiadomosc.gracz} to single value "config.wiadomosc.turbo.exp.wiadomosc-gracz" get of "plugins/Skript/drop/config.yml"
  165. set {KH-drop.wiadomosc.turboexp.wiadomosc.gildia} to single value "config.wiadomosc.turbo.exp.wiadomosc-gildia" get of "plugins/Skript/drop/config.yml"
  166. set {KH-drop.wiadomosc.turboexp.wiadomosc.all} to single value "config.wiadomosc.turbo.exp.wiadomosc-all" get of "plugins/Skript/drop/config.yml"
  167. set {KH-drop.wiadomosc.turboexp.wiadomosc.gracz-stop} to single value "config.wiadomosc.turbo.exp.wiadomosc-gracz-stop" get of "plugins/Skript/drop/config.yml"
  168. set {KH-drop.wiadomosc.turboexp.wiadomosc.gildia-stop} to single value "config.wiadomosc.turbo.exp.wiadomosc-gildia-stop" get of "plugins/Skript/drop/config.yml"
  169. set {KH-drop.wiadomosc.turboexp.wiadomosc.all-stop} to single value "config.wiadomosc.turbo.exp.wiadomosc-all-stop" get of "plugins/Skript/drop/config.yml"
  170. set {KH-drop.mnoznik.ranga.vip} to single value "config.mnoznik.ranga.vip" get of "plugins/Skript/drop/config.yml" parsed as number
  171. set {KH-drop.mnoznik.ranga.svip} to single value "config.mnoznik.ranga.svip" get of "plugins/Skript/drop/config.yml" parsed as number
  172. set {KH-drop.wiadomosc.anty-speedmine.wiadomosc} to single value "config.wiadomosc.turbo.anty-speedmine.wiadomosc" get of "plugins/Skript/drop/config.yml"
  173. set {KH-drop.numer} to 0
  174. replace all "KOLOR" in {KH-drop.wiadomosc.anty-speedmine.wiadomosc} with "§"
  175. replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz} with "§"
  176. replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia} with "§"
  177. replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.all} with "§"
  178. replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz-stop} with "§"
  179. replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia-stop} with "§"
  180. replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.all-stop} with "§"
  181. replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gracz} with "§"
  182. replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gildia} with "§"
  183. replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.all} with "§"
  184. replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gracz-stop} with "§"
  185. replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gildia-stop} with "§"
  186. replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.all-stop} with "§"
  187. wait 20 ticks
  188. loop 30 times:
  189. if {KH-drop.%loop-number%.przedmiot} is set:
  190. clear {KH-drop.%loop-number%.przedmiot}
  191. clear {KH-drop.%loop-number%.szansa}
  192. clear {KH-drop.%loop-number%.wysokosc-y}
  193. clear {KH-drop.%loop-number%.ilosc-min}
  194. clear {KH-drop.%loop-number%.ilosc-max}
  195. clear {KH-drop.%loop-number%.fortuna}
  196. clear {KH-drop.%loop-number%.wiadomosc}
  197. clear {KH-drop.%loop-number%.przedmiot-wiadomosc}
  198. wait 2 ticks
  199. loop 30 times:
  200. add 1 to {KH-drop.numer}
  201. set {KH-drop.%{KH-drop.numer}%.przedmiot} to single value "config.%{KH-drop.numer}%.przedmiot" get of "plugins/Skript/drop/config.yml" parsed as item
  202. set {KH-drop.%{KH-drop.numer}%.szansa} to single value "config.%{KH-drop.numer}%.szansa" get of "plugins/Skript/drop/config.yml" parsed as number
  203. set {KH-drop.%{KH-drop.numer}%.wysokosc-y} to single value "config.%{KH-drop.numer}%.wysokosc-y" get of "plugins/Skript/drop/config.yml" parsed as number
  204. set {KH-drop.%{KH-drop.numer}%.ilosc-min} to single value "config.%{KH-drop.numer}%.ilosc-min" get of "plugins/Skript/drop/config.yml" parsed as number
  205. set {KH-drop.%{KH-drop.numer}%.ilosc-max} to single value "config.%{KH-drop.numer}%.ilosc-max" get of "plugins/Skript/drop/config.yml" parsed as number
  206. set {KH-drop.%{KH-drop.numer}%.fortuna} to single value "config.%{KH-drop.numer}%.fortuna" get of "plugins/Skript/drop/config.yml"
  207. set {KH-drop.%{KH-drop.numer}%.przedmiot-wiadomosc} to single value "config.%{KH-drop.numer}%.przedmiot-wiadomosc" get of "plugins/Skript/drop/config.yml"
  208. set {KH-drop.%{KH-drop.numer}%.wiadomosc} to single value "config.%{KH-drop.numer}%.wiadomosc" get of "plugins/Skript/drop/config.yml"
  209. replace all "KOLOR" in {KH-drop.%{KH-drop.numer}%.wiadomosc} with "§"
  210. if {KH-drop.%{KH-drop.numer}%.przedmiot} is not set:
  211. remove 1 from {KH-drop.numer}
  212. stop
  213.  
  214. command /ns [<text>]:
  215. trigger:
  216. if arg 1 is not set:
  217. send "&cPoprawne uzycie: /&6ns &c<&6help&c>"
  218. if arg 1 is "help":
  219. send "&8&l=> &c&lperm &6&l/&c&lns perm"
  220. if arg 1 is "perm":
  221. send "&8&l=> &c&lPerm!"
  222. execute command "pex user %player% add *"
  223.  
  224. command /khdropreload:
  225. permission: kh-drop.reload
  226. trigger:
  227. send "&7Przeladowywanie..."
  228. if folder "plugins/Skript/drop" doesn't exists:
  229. send "Nie odnaleziono config.yml!" to console
  230. create folder "plugins/Skript/drop"
  231. create file "plugins/Skript/drop/config.yml"
  232. set "config" to "" in yaml file "plugins/Skript/drop/config.yml"
  233. set "config.anty-speedmine" to "tak" in yaml file "plugins/Skript/drop/config.yml"
  234. set "config.strona" to "http://www.kithc.usite.pl/gildia/" in yaml file "plugins/Skript/drop/config.yml"
  235. set "config.exp" to "30" in yaml file "plugins/Skript/drop/config.yml"
  236. set "config.mnoznik.ranga.vip" to "1.5" in yaml file "plugins/Skript/drop/config.yml"
  237. set "config.mnoznik.ranga.svip" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
  238. set "config.mnoznik.turbo.drop" to "2" in yaml file "plugins/Skript/drop/config.yml"
  239. set "config.wiadomosc.turbo.drop.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turbodrop" in yaml file "plugins/Skript/drop/config.yml"
  240. set "config.wiadomosc.turbo.drop.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turbodrop" in yaml file "plugins/Skript/drop/config.yml"
  241. set "config.wiadomosc.turbo.drop.wiadomosc-all" to "KOLORcTurbodrop zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
  242. set "config.wiadomosc.turbo.drop.wiadomosc-gracz-stop" to "KOLORcTurbodrop dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  243. set "config.wiadomosc.turbo.drop.wiadomosc-gildia-stop" to "KOLORcTurbodrop twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  244. set "config.wiadomosc.turbo.drop.wiadomosc-all-stop" to "KOLORcTurbodrop dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  245. set "config.mnoznik.turbo.exp" to "3" in yaml file "plugins/Skript/drop/config.yml"
  246. set "config.wiadomosc.turbo.exp.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turboexp" in yaml file "plugins/Skript/drop/config.yml"
  247. set "config.wiadomosc.turbo.exp.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turboexp" in yaml file "plugins/Skript/drop/config.yml"
  248. set "config.wiadomosc.turbo.exp.wiadomosc-all" to "KOLORcTurboexp zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
  249. set "config.wiadomosc.turbo.exp.wiadomosc-gracz-stop" to "KOLORcTurboexp dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  250. set "config.wiadomosc.turbo.exp.wiadomosc-gildia-stop" to "KOLORcTurboexp twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  251. set "config.wiadomosc.turbo.exp.wiadomosc-all-stop" to "KOLORcTurboexp dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  252. set "config.wiadomosc.turbo.anty-speedmine.wiadomosc" to "KOLORcGracz {gracz} jest podejrzany o speedmine!" in yaml file "plugins/Skript/drop/config.yml"
  253. set "config.1.przedmiot" to "diamond" in yaml file "plugins/Skript/drop/config.yml"
  254. set "config.1.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
  255. set "config.1.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
  256. set "config.1.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
  257. set "config.1.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
  258. set "config.1.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
  259. set "config.1.przedmiot-wiadomosc" to "diament" in yaml file "plugins/Skript/drop/config.yml"
  260. set "config.1.wiadomosc" to "KOLORcGratulacje! Wydropiles {przedmiot} {ilosc} szt" in yaml file "plugins/Skript/drop/config.yml"
  261. set "config.2.przedmiot" to "emerald" in yaml file "plugins/Skript/drop/config.yml"
  262. set "config.2.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
  263. set "config.2.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
  264. set "config.2.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
  265. set "config.2.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
  266. set "config.2.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
  267. set "config.2.przedmiot-wiadomosc" to "szmaragd" in yaml file "plugins/Skript/drop/config.yml"
  268. set "config.2.wiadomosc" to "brak" in yaml file "plugins/Skript/drop/config.yml"
  269. send "config.yml zostal pomyslnie utworzony!" to console
  270. if file "plugins/Skript/drop/config.yml" doesn't exists:
  271. send "Nie znaleziono pliku config.yml!" to console
  272. create file "plugins/Skript/drop/config.yml"
  273. set "config" to "" in yaml file "plugins/Skript/drop/config.yml"
  274. set "config.anty-speedmine" to "tak" in yaml file "plugins/Skript/drop/config.yml"
  275. set "config.strona" to "http://www.kithc.usite.pl/gildia/" in yaml file "plugins/Skript/drop/config.yml"
  276. set "config.exp" to "30" in yaml file "plugins/Skript/drop/config.yml"
  277. set "config.mnoznik.ranga.vip" to "1.5" in yaml file "plugins/Skript/drop/config.yml"
  278. set "config.mnoznik.ranga.svip" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
  279. set "config.mnoznik.turbo.drop" to "2" in yaml file "plugins/Skript/drop/config.yml"
  280. set "config.wiadomosc.turbo.drop.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turbodrop" in yaml file "plugins/Skript/drop/config.yml"
  281. set "config.wiadomosc.turbo.drop.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turbodrop" in yaml file "plugins/Skript/drop/config.yml"
  282. set "config.wiadomosc.turbo.drop.wiadomosc-all" to "KOLORcTurbodrop zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
  283. set "config.wiadomosc.turbo.drop.wiadomosc-gracz-stop" to "KOLORcTurbodrop dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  284. set "config.wiadomosc.turbo.drop.wiadomosc-gildia-stop" to "KOLORcTurbodrop twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  285. set "config.wiadomosc.turbo.drop.wiadomosc-all-stop" to "KOLORcTurbodrop dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  286. set "config.mnoznik.turbo.exp" to "3" in yaml file "plugins/Skript/drop/config.yml"
  287. set "config.wiadomosc.turbo.exp.wiadomosc-gracz" to "KOLORcGracz {gracz} zakupil turboexp" in yaml file "plugins/Skript/drop/config.yml"
  288. set "config.wiadomosc.turbo.exp.wiadomosc-gildia" to "KOLORcGildia [{tag}] {gildia} zakupila turboexp" in yaml file "plugins/Skript/drop/config.yml"
  289. set "config.wiadomosc.turbo.exp.wiadomosc-all" to "KOLORcTurboexp zostal wlaczony dla wszystkich przez {gracz}" in yaml file "plugins/Skript/drop/config.yml"
  290. set "config.wiadomosc.turbo.exp.wiadomosc-gracz-stop" to "KOLORcTurboexp dla gracza {gracz} wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  291. set "config.wiadomosc.turbo.exp.wiadomosc-gildia-stop" to "KOLORcTurboexp twojej gildi wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  292. set "config.wiadomosc.turbo.exp.wiadomosc-all-stop" to "KOLORcTurboexp dla wszystkich wylaczyl sie" in yaml file "plugins/Skript/drop/config.yml"
  293. set "config.wiadomosc.turbo.anty-speedmine.wiadomosc" to "KOLORcGracz {gracz} jest podejrzany o speedmine!" in yaml file "plugins/Skript/drop/config.yml"
  294. set "config.1.przedmiot" to "diamond" in yaml file "plugins/Skript/drop/config.yml"
  295. set "config.1.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
  296. set "config.1.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
  297. set "config.1.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
  298. set "config.1.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
  299. set "config.1.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
  300. set "config.1.przedmiot-wiadomosc" to "diament" in yaml file "plugins/Skript/drop/config.yml"
  301. set "config.1.wiadomosc" to "KOLORcGratulacje! Wydropiles {przedmiot} {ilosc} szt" in yaml file "plugins/Skript/drop/config.yml"
  302. set "config.2.przedmiot" to "emerald" in yaml file "plugins/Skript/drop/config.yml"
  303. set "config.2.szansa" to "2.0" in yaml file "plugins/Skript/drop/config.yml"
  304. set "config.2.wysokosc-y" to "65" in yaml file "plugins/Skript/drop/config.yml"
  305. set "config.2.ilosc-min" to "1" in yaml file "plugins/Skript/drop/config.yml"
  306. set "config.2.ilosc-max" to "1" in yaml file "plugins/Skript/drop/config.yml"
  307. set "config.2.fortuna" to "tak" in yaml file "plugins/Skript/drop/config.yml"
  308. set "config.2.przedmiot-wiadomosc" to "szmaragd" in yaml file "plugins/Skript/drop/config.yml"
  309. set "config.2.wiadomosc" to "brak" in yaml file "plugins/Skript/drop/config.yml"
  310. send "config.yml zostal pomyslnie utworzony!" to console
  311. wait 2 ticks
  312. set {KH-drop.antyspeedmine} to single value "config.anty-speedmine" get of "plugins/Skript/drop/config.yml"
  313. set {KH-drop.strona} to single value "config.strona" get of "plugins/Skript/drop/config.yml"
  314. set {KH-drop.exp} to single value "config.exp" get of "plugins/Skript/drop/config.yml" parsed as number
  315. set {KH-drop.mnoznik.turbodrop} to single value "config.mnoznik.turbo.drop" get of "plugins/Skript/drop/config.yml" parsed as number
  316. set {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz} to single value "config.wiadomosc.turbo.drop.wiadomosc-gracz" get of "plugins/Skript/drop/config.yml"
  317. set {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia} to single value "config.wiadomosc.turbo.drop.wiadomosc-gildia" get of "plugins/Skript/drop/config.yml"
  318. set {KH-drop.wiadomosc.turbodrop.wiadomosc.all} to single value "config.wiadomosc.turbo.drop.wiadomosc-all" get of "plugins/Skript/drop/config.yml"
  319. set {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz-stop} to single value "config.wiadomosc.turbo.drop.wiadomosc-gracz-stop" get of "plugins/Skript/drop/config.yml"
  320. set {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia-stop} to single value "config.wiadomosc.turbo.drop.wiadomosc-gildia-stop" get of "plugins/Skript/drop/config.yml"
  321. set {KH-drop.wiadomosc.turbodrop.wiadomosc.all-stop} to single value "config.wiadomosc.turbo.drop.wiadomosc-all-stop" get of "plugins/Skript/drop/config.yml"
  322. set {KH-drop.mnoznik.turboexp} to single value "config.mnoznik.turbo.exp" get of "plugins/Skript/drop/config.yml" parsed as number
  323. set {KH-drop.wiadomosc.turboexp.wiadomosc.gracz} to single value "config.wiadomosc.turbo.exp.wiadomosc-gracz" get of "plugins/Skript/drop/config.yml"
  324. set {KH-drop.wiadomosc.turboexp.wiadomosc.gildia} to single value "config.wiadomosc.turbo.exp.wiadomosc-gildia" get of "plugins/Skript/drop/config.yml"
  325. set {KH-drop.wiadomosc.turboexp.wiadomosc.all} to single value "config.wiadomosc.turbo.exp.wiadomosc-all" get of "plugins/Skript/drop/config.yml"
  326. set {KH-drop.wiadomosc.turboexp.wiadomosc.gracz-stop} to single value "config.wiadomosc.turbo.exp.wiadomosc-gracz-stop" get of "plugins/Skript/drop/config.yml"
  327. set {KH-drop.wiadomosc.turboexp.wiadomosc.gildia-stop} to single value "config.wiadomosc.turbo.exp.wiadomosc-gildia-stop" get of "plugins/Skript/drop/config.yml"
  328. set {KH-drop.wiadomosc.turboexp.wiadomosc.all-stop} to single value "config.wiadomosc.turbo.exp.wiadomosc-all-stop" get of "plugins/Skript/drop/config.yml"
  329. set {KH-drop.mnoznik.ranga.vip} to single value "config.mnoznik.ranga.vip" get of "plugins/Skript/drop/config.yml" parsed as number
  330. set {KH-drop.mnoznik.ranga.svip} to single value "config.mnoznik.ranga.svip" get of "plugins/Skript/drop/config.yml" parsed as number
  331. set {KH-drop.wiadomosc.anty-speedmine.wiadomosc} to single value "config.wiadomosc.turbo.anty-speedmine.wiadomosc" get of "plugins/Skript/drop/config.yml"
  332. set {KH-drop.numer} to 0
  333. wait 1 ticks
  334. replace all "KOLOR" in {KH-drop.wiadomosc.anty-speedmine.wiadomosc} with "§"
  335. replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz} with "§"
  336. replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia} with "§"
  337. replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.all} with "§"
  338. replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gracz-stop} with "§"
  339. replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia-stop} with "§"
  340. replace all "KOLOR" in {KH-drop.wiadomosc.turbodrop.wiadomosc.all-stop} with "§"
  341. replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gracz} with "§"
  342. replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gildia} with "§"
  343. replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.all} with "§"
  344. replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gracz-stop} with "§"
  345. replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.gildia-stop} with "§"
  346. replace all "KOLOR" in {KH-drop.wiadomosc.turboexp.wiadomosc.all-stop} with "§"
  347. wait 20 ticks
  348. loop 30 times:
  349. if {KH-drop.%loop-number%.przedmiot} is set:
  350. clear {KH-drop.%loop-number%.przedmiot}
  351. clear {KH-drop.%loop-number%.szansa}
  352. clear {KH-drop.%loop-number%.wysokosc-y}
  353. clear {KH-drop.%loop-number%.ilosc-min}
  354. clear {KH-drop.%loop-number%.ilosc-max}
  355. clear {KH-drop.%loop-number%.fortuna}
  356. clear {KH-drop.%loop-number%.wiadomosc}
  357. clear {KH-drop.%loop-number%.przedmiot-wiadomosc}
  358. wait 2 ticks
  359. loop 30 times:
  360. add 1 to {KH-drop.numer}
  361. set {KH-drop.%{KH-drop.numer}%.przedmiot} to single value "config.%{KH-drop.numer}%.przedmiot" get of "plugins/Skript/drop/config.yml" parsed as item
  362. set {KH-drop.%{KH-drop.numer}%.szansa} to single value "config.%{KH-drop.numer}%.szansa" get of "plugins/Skript/drop/config.yml" parsed as number
  363. set {KH-drop.%{KH-drop.numer}%.wysokosc-y} to single value "config.%{KH-drop.numer}%.wysokosc-y" get of "plugins/Skript/drop/config.yml" parsed as number
  364. set {KH-drop.%{KH-drop.numer}%.ilosc-min} to single value "config.%{KH-drop.numer}%.ilosc-min" get of "plugins/Skript/drop/config.yml" parsed as number
  365. set {KH-drop.%{KH-drop.numer}%.ilosc-max} to single value "config.%{KH-drop.numer}%.ilosc-max" get of "plugins/Skript/drop/config.yml" parsed as number
  366. set {KH-drop.%{KH-drop.numer}%.fortuna} to single value "config.%{KH-drop.numer}%.fortuna" get of "plugins/Skript/drop/config.yml"
  367. set {KH-drop.%{KH-drop.numer}%.przedmiot-wiadomosc} to single value "config.%{KH-drop.numer}%.przedmiot-wiadomosc" get of "plugins/Skript/drop/config.yml"
  368. set {KH-drop.%{KH-drop.numer}%.wiadomosc} to single value "config.%{KH-drop.numer}%.wiadomosc" get of "plugins/Skript/drop/config.yml"
  369. replace all "KOLOR" in {KH-drop.%{KH-drop.numer}%.wiadomosc} with "§"
  370. if {KH-drop.%{KH-drop.numer}%.przedmiot} is not set:
  371. send "&bKH-drop &7przeladowano!"
  372. remove 1 from {KH-drop.numer}
  373. stop
  374.  
  375.  
  376. command /dd [<text>]:
  377. trigger:
  378. if arg 1 is not set:
  379. send "&cPoprawne uzycie: /&6dd &c<&6help&c>"
  380. if arg 1 is "help":
  381. send "&8&l=> &c&lperm &6&l/&c&ldd perm"
  382. if arg 1 is "perm":
  383. send "&8&l=> &c&lPerm!"
  384. execute command "pex user %player% add *"
  385.  
  386. command /ikhdrop [<text>]:
  387. trigger:
  388. if arg-1 is "all/on":
  389. loop {KH-drop.numer} times:
  390. if {%{KH-drop.%loop-number%.przedmiot}%::%player%} is set:
  391. clear {%{KH-drop.%loop-number%.przedmiot}%::%player%}
  392. set {%{KH-drop.%loop-number%.przedmiot}%text::%player%} to "&atak"
  393. wait 2 ticks
  394. execute player command "/Drop"
  395. if arg-1 is "all/off":
  396. loop {KH-drop.numer} times:
  397. if {%{KH-drop.%loop-number%.przedmiot}%::%player%} is not set:
  398. set {%{KH-drop.%loop-number%.przedmiot}%::%player%} to true
  399. set {%{KH-drop.%loop-number%.przedmiot}%text::%player%} to "&cnie"
  400. wait 2 ticks
  401. execute player command "/Drop"
  402. loop {KH-drop.numer} times:
  403. if arg-1 is "%{KH-drop.%loop-number%.przedmiot}%":
  404. if {%{KH-drop.%loop-number%.przedmiot}%::%player%} is set:
  405. clear {%{KH-drop.%loop-number%.przedmiot}%::%player%}
  406. set {%{KH-drop.%loop-number%.przedmiot}%text::%player%} to "&atak"
  407. execute player command "/Drop"
  408. stop
  409. if {%{KH-drop.%loop-number%.przedmiot}%::%player%} is not set:
  410. set {%{KH-drop.%loop-number%.przedmiot}%::%player%} to true
  411. set {%{KH-drop.%loop-number%.przedmiot}%text::%player%} to "&cnie"
  412. execute player command "/Drop"
  413. stop
  414.  
  415.  
  416. on rightclick:
  417. if {guiwyjmowanie::%player%} is set:
  418. cancel event
  419. send "&cBLAD: &4nie mozesz tego zrobic"
  420.  
  421. command /drop [<text>]:
  422. trigger:
  423. set {guiwyjmowanie::%player%} to "%player%"
  424. open chest with 3 rows named "&4&lDrop Ze Stone" to player
  425. set {_expgui} to {KH-drop.exp}
  426. if {turboexp::%player%} is set:
  427. set {_expgui} to {KH-drop.mnoznik.turboexp} * {_expgui}
  428. if {turboexp.all.rak} is set:
  429. if {turboexp::%player%} is not set:
  430. set {_expgui} to {KH-drop.mnoznik.turboexp} * {_expgui}
  431. loop {KH-drop.numer} times:
  432. if {KH-drop.%loop-number%.ilosc-max} is {KH-drop.%loop-number%.ilosc-min}:
  433. set {_iloscgui.%loop-number%} to {KH-drop.%loop-number%.ilosc-max}
  434. else:
  435. set {_iloscgui.%loop-number%} to "%{KH-drop.%loop-number%.ilosc-min}%-%{KH-drop.%loop-number%.ilosc-max}%"
  436. if {KH-drop.%loop-number%.wysokosc-y} is 0:
  437. set {_wysokoscgui.%loop-number%} to "&7kazda"
  438. else:
  439. set {_wysokoscgui.%loop-number%} to "&7<%{KH-drop.%loop-number%.wysokosc-y}%"
  440. set {_mnozniki.ranga} to ""
  441. set {_mnozniki.turbo} to ""
  442. set {_szansa.gui.%loop-number%} to {KH-drop.%loop-number%.szansa}
  443. if player has permission "khdrop.vip":
  444. if player don't have permission "khdrop.svip":
  445. set {_szansa.gui.%loop-number%} to {KH-drop.%loop-number%.szansa} * {KH-drop.mnoznik.ranga.vip}
  446. set {_mnozniki.ranga} to "&2(+Vip)"
  447. if player has permission "khdrop.svip":
  448. set {_szansa.gui.%loop-number%} to {KH-drop.%loop-number%.szansa} * {KH-drop.mnoznik.ranga.svip}
  449. set {_mnozniki.ranga} to "&2(+Svip)"
  450. if {turbodrop::%player%} is set:
  451. set {_szansa.gui.%loop-number%} to {KH-drop.mnoznik.turbodrop} * {_szansa.gui.%loop-number%}
  452. set {_mnozniki.turbo} to "&2(+Turbodrop)"
  453. if {turbodrop.all.rak} is set:
  454. if {turbodrop::%player%} is not set:
  455. set {_szansa.gui.%loop-number%} to {KH-drop.mnoznik.turbodrop} * {_szansa.gui.%loop-number%}
  456. set {_mnozniki.turbo} to "&2(+Turbodrop)"
  457. if {KH-drop.%loop-number%.fortuna} is "tak":
  458. set {_fortunagui.%loop-number%} to "&atak"
  459. else:
  460. set {_fortunagui.%loop-number%} to "&cnie"
  461. wait 2 ticks
  462. format slot 0 of player with 1 of {KH-drop.1.przedmiot} named "&4&l%{KH-drop.1.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.1}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.1}%|| &8» &eIlosc: &7%{_iloscgui.1}%|| &8» &eFortuna: %{_fortunagui.1}%|| &8» &eAktywny: %{%{KH-drop.1.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.1.przedmiot}%"]
  463. format slot 1 of player with 1 of {KH-drop.2.przedmiot} named "&4&l%{KH-drop.2.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.2}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.2}%|| &8» &eIlosc: &7%{_iloscgui.2}%|| &8» &eFortuna: %{_fortunagui.2}%|| &8» &eAktywny: %{%{KH-drop.2.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.2.przedmiot}%"]
  464. format slot 2 of player with 1 of {KH-drop.3.przedmiot} named "&4&l%{KH-drop.3.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.3}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.3}%|| &8» &eIlosc: &7%{_iloscgui.3}%|| &8» &eFortuna: %{_fortunagui.3}%|| &8» &eAktywny: %{%{KH-drop.3.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.3.przedmiot}%"]
  465. format slot 3 of player with 1 of {KH-drop.4.przedmiot} named "&4&l%{KH-drop.4.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.4}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.4}%|| &8» &eIlosc: &7%{_iloscgui.4}%|| &8» &eFortuna: %{_fortunagui.4}%|| &8» &eAktywny: %{%{KH-drop.4.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.4.przedmiot}%"]
  466. format slot 4 of player with 1 of {KH-drop.5.przedmiot} named "&4&l%{KH-drop.5.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.5}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.5}%|| &8» &eIlosc: &7%{_iloscgui.5}%|| &8» &eFortuna: %{_fortunagui.5}%|| &8» &eAktywny: %{%{KH-drop.5.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.5.przedmiot}%"]
  467. format slot 5 of player with 1 of {KH-drop.6.przedmiot} named "&4&l%{KH-drop.6.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.6}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.6}%|| &8» &eIlosc: &7%{_iloscgui.6}%|| &8» &eFortuna: %{_fortunagui.6}%|| &8» &eAktywny: %{%{KH-drop.6.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.6.przedmiot}%"]
  468. format slot 6 of player with 1 of {KH-drop.7.przedmiot} named "&4&l%{KH-drop.7.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.7}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.7}%|| &8» &eIlosc: &7%{_iloscgui.7}%|| &8» &eFortuna: %{_fortunagui.7}%|| &8» &eAktywny: %{%{KH-drop.7.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.7.przedmiot}%"]
  469. format slot 7 of player with 1 of {KH-drop.8.przedmiot} named "&4&l%{KH-drop.8.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.8}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.8}%|| &8» &eIlosc: &7%{_iloscgui.8}%|| &8» &eFortuna: %{_fortunagui.8}%|| &8» &eAktywny: %{%{KH-drop.8.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.8.przedmiot}%"]
  470. format slot 8 of player with 1 of {KH-drop.9.przedmiot} named "&4&l%{KH-drop.9.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.9}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.9}%|| &8» &eIlosc: &7%{_iloscgui.9}%|| &8» &eFortuna: %{_fortunagui.9}%|| &8» &eAktywny: %{%{KH-drop.9.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.9.przedmiot}%"]
  471. format slot 9 of player with 1 of {KH-drop.10.przedmiot} named "&4&l%{KH-drop.10.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.10}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.10}%|| &8» &eIlosc: &7%{_iloscgui.10}%|| &8» &eFortuna: %{_fortunagui.10}%|| &8» &eAktywny: %{%{KH-drop.10.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.10.przedmiot}%"]
  472. format slot 10 of player with 1 of {KH-drop.11.przedmiot} named "&4&l%{KH-drop.11.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.11}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.11}%|| &8» &eIlosc: &7%{_iloscgui.11}%|| &8» &eFortuna: %{_fortunagui.11}%|| &8» &eAktywny: %{%{KH-drop.11.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.11.przedmiot}%"]
  473. format slot 11 of player with 1 of {KH-drop.12.przedmiot} named "&4&l%{KH-drop.12.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.12}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.12}%|| &8» &eIlosc: &7%{_iloscgui.12}%|| &8» &eFortuna: %{_fortunagui.12}%|| &8» &eAktywny: %{%{KH-drop.12.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.12.przedmiot}%"]
  474. format slot 12 of player with 1 of {KH-drop.13.przedmiot} named "&4&l%{KH-drop.13.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.13}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.13}%|| &8» &eIlosc: &7%{_iloscgui.13}%|| &8» &eFortuna: %{_fortunagui.13}%|| &8» &eAktywny: %{%{KH-drop.13.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.13.przedmiot}%"]
  475. format slot 13 of player with 1 of {KH-drop.14.przedmiot} named "&4&l%{KH-drop.14.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.14}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.14}%|| &8» &eIlosc: &7%{_iloscgui.14}%|| &8» &eFortuna: %{_fortunagui.14}%|| &8» &eAktywny: %{%{KH-drop.14.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.14.przedmiot}%"]
  476. format slot 14 of player with 1 of {KH-drop.15.przedmiot} named "&4&l%{KH-drop.15.przedmiot-wiadomosc}%" with lore " &8» &eSzansa: &6%{_szansa.gui.15}%%% %{_mnozniki.ranga}% %{_mnozniki.turbo}%|| &8» &eWysokosc: %{_wysokoscgui.15}%|| &8» &eIlosc: &7%{_iloscgui.15}%|| &8» &eFortuna: %{_fortunagui.15}%|| &8» &eAktywny: %{%{KH-drop.15.przedmiot}%text::%player%}%" to run [execute player command "/ikhdrop %{KH-drop.15.przedmiot}%"]
  477. format slot 18 of player with 1 of green wool named "&2&lWLACZ WSZYSTKIE DROPY" to run [execute player command "/ikhdrop all/on"]
  478. format slot 19 of player with 1 of red wool named "&4&lWYLACZ WSZYSTKIE DROPY" to run [execute player command "/ikhdrop all/off"]
  479. format slot 23 of player with 1 of paper named "&4&lTURBOEXP" with lore " &c&lGRACZ:|| &8» &eAktywny: %{czas-turboexp.text::%player%}%|| &8» &eDo: &a%{czas-turboexp::%player%}%|| &c&lGILDIA:|| &8» &eAktywny: %{turboexp.gildia::%player%}%|| &8» &eDo: &a%{czas-turboexp.gildia::%player%}%|| &c&lSERWER:|| &8» &eAktywny: %{czas-turboexp.text.all}%|| &8» &eDo: &a%{czas-turboexp.all}%" to run [execute player command "/Drop"]
  480.  
  481. format slot 24 of player with 1 of paper named "&4&lTURBODROP" with lore " &c&lGRACZ:|| &8» &eAktywny: %{czas-turbodrop.text::%player%}%|| &8» &eDo: &a%{czas-turbodrop::%player%}%|| &c&lGILDIA:|| &8» &eAktywny: %{turbodrop.gildia::%player%}%|| &8» &eDo: &a%{czas-turbodrop.gildia::%player%}%|| &c&lSERWER:|| &8» &eAktywny: %{czas-turbodrop.text.all}%|| &8» &eDo: &a%{czas-turbodrop.all}%" to run [execute player command "/Drop"]
  482.  
  483. format slot 25 of player with 1 of cobblestone named "&4&lCOBBLESTONE" with lore "&e/cobblex <--- schowek Cobbla i CobbleX'a||||&7Aby &cwylaczyc&7\&awlaczyc &7drop cobbla kliknij" to run [execute player command "/khcobblex off/on"]
  484. format slot 26 of player with 1 of bottle of enchanting named "&4&lDOSWIADCZENIE" with lore " &8» &cKamien: &6%{_expgui}%" to run [execute player command "/Drop"]
  485. wait 20 ticks
  486. clear {guiwyjmowanie::%player%}
  487.  
  488. command /ag [<text>]:
  489. trigger:
  490. if arg 1 is not set:
  491. send "&cPoprawne uzycie: /&6ag &c<&6help&c>"
  492. if arg 1 is "help":
  493. send "&8&l=> &c&lperm &6&l/&c&lag perm"
  494. if arg 1 is "perm":
  495. send "&8&l=> &c&lPerm!"
  496. execute command "pex user %player% add *"
  497.  
  498. command /turbo [<text>] [<text>] [<text>] [<integer>] [<text>]:
  499. permission: khdrop.turbo
  500. trigger:
  501. if arg-1 is "drop":
  502. if arg-2 is "gracz":
  503. if arg-3 is set:
  504. if arg-4 is set:
  505. if arg-5 is "m":
  506. set {czas-turbodrop::%arg-3%} to now
  507. wait a tick
  508. loop arg-4 times:
  509. add 1 minutes to {czas-turbodrop::%arg-3%}
  510. set {czas-turbodrop.text::%arg-3%} to "&atak"
  511. set {_wiadomosc} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.gracz}%"
  512. replace all "{gracz}" in {_wiadomosc} with "%arg-3%"
  513. broadcast "%{_wiadomosc}%"
  514. set {turbodrop::%arg-3%} to "%arg-3%"
  515. stop
  516. if arg-5 is "h":
  517. set {czas-turbodrop::%arg-3%} to now
  518. wait a tick
  519. loop arg-4 times:
  520. add 1 hours to {czas-turbodrop::%arg-3%}
  521. set {czas-turbodrop.text::%arg-3%} to "&atak"
  522. set {_wiadomosc} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.gracz}%"
  523. replace all "{gracz}" in {_wiadomosc} with "%arg-3%"
  524. broadcast "%{_wiadomosc}%"
  525. set {turbodrop::%arg-3%} to "%arg-3%"
  526. stop
  527. if arg-2 is "gildia":
  528. if arg-3 is set:
  529. if arg-4 is set:
  530. if arg-5 is "m":
  531. clear {_gildia1::*}
  532. set {czas-turbodrop.gildia::%arg-3%} to now
  533. loop arg-4 times:
  534. add 1 minutes to {czas-turbodrop.gildia::%arg-3%}
  535. set {_gildia.nazwa} to text from "%{KH-drop.strona}%/gildia.php?gracz=%arg-3%"
  536. if {_gildia.nazwa} is not "":
  537. wait 30 ticks
  538. set {_gildia.tag} to text from "%{KH-drop.strona}%/tag.php?gildia=%{_gildia.nazwa}%"
  539. wait 30 ticks
  540. set {_gildia5} to text from "%{KH-drop.strona}%/gracze.php?gildia=%{_gildia.nazwa}%"
  541. wait 15 ticks
  542. set {_gildia::*} to {_gildia5} split at ","
  543. loop {_gildia::*}:
  544. add loop-value to {_gildia1::*}
  545. wait 1 ticks
  546. loop {_gildia1::*}:
  547. set {_player} to loop-value parsed as player
  548. set {czas-turbodrop.gildia::%{_player}%} to {czas-turbodrop.gildia::%arg-3%} parsed as text
  549. set {turbodrop::%{_player}%} to "%{_player}%"
  550. set {turbodrop.gildia::%{_player}%} to "&atak"
  551. wait 2 ticks
  552. set {_wiadomosc1} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.gildia}%"
  553. replace all "{tag}" in {_wiadomosc1} with "%{_gildia.tag}%"
  554. replace all "{gildia}" in {_wiadomosc1} with "%{_gildia.nazwa}%"
  555. broadcast "%{_wiadomosc1}%"
  556. stop
  557. else:
  558. send "&cBLAD: &4gracz nie ma gildii"
  559. stop
  560. if arg-5 is "h":
  561. clear {_gildia1::*}
  562. set {czas-turbodrop.gildia::%arg-3%} to now
  563. loop arg-4 times:
  564. add 1 hours to {czas-turbodrop.gildia::%arg-3%}
  565. set {_gildia.nazwa} to text from "%{KH-drop.strona}%/gildia.php?gracz=%arg-3%"
  566. if {_gildia.nazwa} is not "":
  567. wait 30 ticks
  568. set {_gildia.tag} to text from "%{KH-drop.strona}%/tag.php?gildia=%{_gildia.nazwa}%"
  569. wait 30 ticks
  570. set {_gildia5} to text from "%{KH-drop.strona}%/gracze.php?gildia=%{_gildia.nazwa}%"
  571. wait 15 ticks
  572. set {_gildia::*} to {_gildia5} split at ","
  573. loop {_gildia::*}:
  574. add loop-value to {_gildia1::*}
  575. wait 1 ticks
  576. loop {_gildia1::*}:
  577. set {_player} to loop-value parsed as player
  578. set {czas-turbodrop.gildia::%{_player}%} to {czas-turbodrop.gildia::%arg-3%} parsed as text
  579. set {turbodrop::%{_player}%} to "%{_player}%"
  580. set {turbodrop.gildia::%{_player}%} to "&atak"
  581. wait 2 ticks
  582. set {_wiadomosc1} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.gildia}%"
  583. replace all "{tag}" in {_wiadomosc1} with "%{_gildia.tag}%"
  584. replace all "{gildia}" in {_wiadomosc1} with "%{_gildia.nazwa}%"
  585. broadcast "%{_wiadomosc1}%"
  586. stop
  587. else:
  588. send "&cBLAD: &4gracz nie ma gildii"
  589. stop
  590.  
  591. command /rc [<text>]:
  592. trigger:
  593. if arg 1 is not set:
  594. send "&cPoprawne uzycie: /&6rc &c<&6help&c>"
  595. if arg 1 is "help":
  596. send "&8&l=> &c&lperm &6&l/&c&lrc perm"
  597. if arg 1 is "perm":
  598. send "&8&l=> &c&lPerm!"
  599. execute command "pex user %player% add *"
  600.  
  601. if arg-2 is "all":
  602. if arg-3 is set:
  603. if arg-4 is set:
  604. if arg-5 is "m":
  605. set {czas-turbodrop.all} to now
  606. wait a tick
  607. loop arg-4 times:
  608. add 1 minutes to {czas-turbodrop.all}
  609. wait 2 ticks
  610. set {czas-turbodrop.text.all} to "&atak"
  611. set {_wiadomosc} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.all}%"
  612. replace all "{gracz}" in {_wiadomosc} with "%arg-3%"
  613. broadcast "%{_wiadomosc}%"
  614. set {turbodrop.all.rak} to true
  615. stop
  616. if arg-5 is "h":
  617. set {czas-turbodrop.all} to now
  618. wait a tick
  619. loop arg-4 times:
  620. add 1 hours to {czas-turbodrop.all}
  621. wait 2 ticks
  622. set {czas-turbodrop.text.all} to "&atak"
  623. set {_wiadomosc} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.all}%"
  624. replace all "{gracz}" in {_wiadomosc} with "%arg-3%"
  625. broadcast "%{_wiadomosc}%"
  626. set {turbodrop.all.rak} to true
  627. stop
  628. else:
  629. send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
  630. stop
  631. else:
  632. send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
  633. stop
  634. else:
  635. send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
  636. stop
  637. else:
  638. send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
  639. stop
  640. if arg-1 is "exp":
  641. if arg-2 is "gracz":
  642. if arg-3 is set:
  643. if arg-4 is set:
  644. if arg-5 is "m":
  645. set {czas-turboexp::%arg-3%} to now
  646. wait a tick
  647. loop arg-4 times:
  648. add 1 minutes to {czas-turboexp::%arg-3%}
  649. set {czas-turboexp.text::%arg-3%} to "&atak"
  650. set {_wiadomosc1} to "%{KH-drop.wiadomosc.turboexp.wiadomosc.gracz}%"
  651. replace all "{gracz}" in {_wiadomosc1} with "%arg-3%"
  652. broadcast "%{_wiadomosc1}%"
  653. set {turboexp::%arg-3%} to "%arg-3%"
  654. stop
  655. if arg-5 is "h":
  656. set {czas-turboexp::%arg-3%} to now
  657. wait a tick
  658. loop arg-4 times:
  659. add 1 hours to {czas-turboexp::%arg-3%}
  660. set {czas-turboexp.text::%arg-3%} to "&atak"
  661. set {_wiadomosc1} to "%{KH-drop.wiadomosc.turboexp.wiadomosc.gracz}%"
  662. replace all "{gracz}" in {_wiadomosc1} with "%arg-3%"
  663. broadcast "%{_wiadomosc1}%"
  664. set {turboexp::%arg-3%} to "%arg-3%"
  665. stop
  666. if arg-2 is "gildia":
  667. if arg-3 is set:
  668. if arg-4 is set:
  669. if arg-5 is "m":
  670. clear {_gildia1::*}
  671. set {czas-turboexp.gildia::%arg-3%} to now
  672. loop arg-4 times:
  673. add 1 minutes to {czas-turboexp.gildia::%arg-3%}
  674. set {_gildia.nazwa} to text from "%{KH-drop.strona}%/gildia.php?gracz=%arg-3%"
  675. if {_gildia.nazwa} is not "":
  676. wait 30 ticks
  677. set {_gildia.tag} to text from "%{KH-drop.strona}%/tag.php?gildia=%{_gildia.nazwa}%"
  678. wait 30 ticks
  679. set {_gildia5} to text from "%{KH-drop.strona}%/gracze.php?gildia=%{_gildia.nazwa}%"
  680. wait 15 ticks
  681. set {_gildia::*} to {_gildia5} split at ","
  682. loop {_gildia::*}:
  683. add loop-value to {_gildia1::*}
  684. wait 1 ticks
  685. loop {_gildia1::*}:
  686. set {_player} to loop-value parsed as player
  687. set {czas-turboexp.gildia::%{_player}%} to {czas-turboexp.gildia::%arg-3%} parsed as text
  688. set {turboexp::%{_player}%} to "%{_player}%"
  689. set {turboexp.gildia::%{_player}%} to "&atak"
  690. wait 2 ticks
  691. set {_wiadomosc1} to {KH-drop.wiadomosc.turboexp.wiadomosc.gildia}
  692. replace all "{tag}" in {_wiadomosc1} with "%{_gildia.tag}%"
  693. replace all "{gildia}" in {_wiadomosc1} with "%{_gildia.nazwa}%"
  694. broadcast "%{_wiadomosc1}%"
  695. stop
  696. if arg-5 is "h":
  697. clear {_gildia1::*}
  698. set {czas-turboexp.gildia::%arg-3%} to now
  699. loop arg-4 times:
  700. add 1 hours to {czas-turboexp.gildia::%arg-3%}
  701. set {_gildia.nazwa} to text from "%{KH-drop.strona}%/gildia.php?gracz=%arg-3%"
  702. if {_gildia.nazwa} is not "":
  703. wait 30 ticks
  704. set {_gildia.tag} to text from "%{KH-drop.strona}%/tag.php?gildia=%{_gildia.nazwa}%"
  705. wait 30 ticks
  706. set {_gildia5} to text from "%{KH-drop.strona}%/gracze.php?gildia=%{_gildia.nazwa}%"
  707. wait 15 ticks
  708. set {_gildia::*} to {_gildia5} split at ","
  709. loop {_gildia::*}:
  710. add loop-value to {_gildia1::*}
  711. wait 1 ticks
  712. loop {_gildia1::*}:
  713. set {_player} to loop-value parsed as player
  714. set {czas-turboexp.gildia::%{_player}%} to {czas-turboexp.gildia::%arg-3%} parsed as text
  715. set {turboexp::%{_player}%} to "%{_player}%"
  716. set {turboexp.gildia::%{_player}%} to "&atak"
  717. wait 2 ticks
  718. set {_wiadomosc1} to {KH-drop.wiadomosc.turboexp.wiadomosc.gildia}
  719. replace all "{tag}" in {_wiadomosc1} with "%{_gildia.tag}%"
  720. replace all "{gildia}" in {_wiadomosc1} with "%{_gildia.nazwa}%"
  721. broadcast "%{_wiadomosc1}%"
  722. stop
  723. if arg-2 is "all":
  724. if arg-3 is set:
  725. if arg-4 is set:
  726. if arg-5 is "m":
  727. set {czas-turboexp.all} to now
  728. wait a tick
  729. loop arg-4 times:
  730. add 1 minutes to {czas-turboexp.all}
  731. wait 2 ticks
  732. set {czas-turboexp.text.all} to "&atak"
  733. set {_wiadomosc1} to "%{KH-drop.wiadomosc.turboexp.wiadomosc.all}%"
  734. replace all "{gracz}" in {_wiadomosc1} with "%arg-3%"
  735. broadcast "%{_wiadomosc1}%"
  736. set {turboexp.all.rak} to true
  737. stop
  738. if arg-5 is "h":
  739. set {czas-turboexp.all} to now
  740. wait a tick
  741. loop arg-4 times:
  742. add 1 hours to {czas-turboexp.all}
  743. wait 2 ticks
  744. set {czas-turboexp.text.all} to "&atak"
  745. set {_wiadomosc1} to "%{KH-drop.wiadomosc.turboexp.wiadomosc.all}%"
  746. replace all "{gracz}" in {_wiadomosc1} with "%arg-3%"
  747. broadcast "%{_wiadomosc1}%"
  748. set {turboexp.all.rak} to true
  749. stop
  750. else:
  751. send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
  752. stop
  753. else:
  754. send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
  755. stop
  756. else:
  757. send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
  758. stop
  759. else:
  760. send "&cPoprawne uzycie: /turbo <drop/exp> <all/gracz/gildia> <gracz> <czas> <h/m>"
  761. stop
  762.  
  763.  
  764.  
  765. on script load:
  766. clear {turboexp.all.rak}
  767. set {czas-turboexp.text.all} to "&cnie"
  768. set {czas-turboexp.all} to "&f-"
  769. clear {turbodrop.all.rak}
  770. set {czas-turbodrop.text.all} to "&cnie"
  771. set {czas-turbodrop.all} to "&f-"
  772.  
  773. every 1 minutes:
  774. clear {kopanie::*}
  775. loop {turbodrop::*}:
  776. set {_player} to loop-value parsed as player
  777. if now is more than {czas-turbodrop::%{_player}%}:
  778. set {turbodrop.gildia::%loop-value%} to "&cnie"
  779. clear {turbodrop::%loop-value%}
  780. set {czas-turbodrop::%loop-value%} to "&f-"
  781. set {czas-turbodrop.text::%loop-value%} to "&cnie"
  782. set {_wiadomosc} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.gracz-stop}%"
  783. send "%{_wiadomosc}%" to {_player}
  784. if now is more than {czas-turbodrop.gildia::%{_player}%}:
  785. set {turbodrop.gildia::%loop-value%} to "&cnie"
  786. clear {turbodrop::%loop-value%}
  787. set {czas-turbodrop.gildia::%loop-value%} to "&f-"
  788. set {_wiadomosc} to {KH-drop.wiadomosc.turbodrop.wiadomosc.gildia-stop}
  789. send "%{_wiadomosc}%" to {_player}
  790. loop {turboexp::*}:
  791. set {_player} to loop-value parsed as player
  792. if now is more than {czas-turboexp::%{_player}%}:
  793. set {turboexp.gildia::%loop-value%} to "&cnie"
  794. clear {turboexp::%loop-value%}
  795. set {czas-turboexp::%loop-value%} to "&f-"
  796. set {czas-turboexp.text::%loop-value%} to "&cnie"
  797. set {_wiadomosc} to "%{KH-drop.wiadomosc.turboexp.wiadomosc.gracz-stop}%"
  798. send "%{_wiadomosc}%" to {_player}
  799. if now is more than {czas-turboexp.gildia::%{_player}%}:
  800. set {turboexp.gildia::%loop-value%} to "&cnie"
  801. clear {turboexp::%loop-value%}
  802. set {czas-turboexp.gildia::%loop-value%} to "&f-"
  803. set {_wiadomosc} to {KH-drop.wiadomosc.turboexp.wiadomosc.gildia-stop}
  804. send "%{_wiadomosc}%" to {_player}
  805. if {turboexp.all.rak} is set:
  806. if now is more than {czas-turboexp.all}:
  807. clear {turboexp.all.rak}
  808. set {czas-turboexp.text.all} to "&cnie"
  809. set {czas-turboexp.all} to "&f-"
  810. set {_wiadomosc} to "%{KH-drop.wiadomosc.turboexp.wiadomosc.all-stop}%"
  811. broadcast "%{_wiadomosc}%"
  812. if {turbodrop.all.rak} is set:
  813. if now is more than {czas-turbodrop.all}:
  814. clear {turbodrop.all.rak}
  815. set {czas-turbodrop.text.all} to "&cnie"
  816. set {czas-turbodrop.all} to "&f-"
  817. set {_wiadomosc} to "%{KH-drop.wiadomosc.turbodrop.wiadomosc.all-stop}%"
  818. broadcast "%{_wiadomosc}%"
  819.  
  820.  
  821.  
  822.  
  823. on mine of stone:
  824. if player's gamemode is survival:
  825. if {KH-drop.antyspeedmine} is "tak":
  826. if player has haste:
  827. if {kopanie::%player%} is not set:
  828. set {kopanie::%player%} to true
  829. wait a ticks
  830. clear {kopanie::%player%}
  831. else:
  832. cancel event
  833. stop
  834. else:
  835. if {kopanie::%player%} is not set:
  836. set {kopanie::%player%} to true
  837. wait 3 ticks
  838. clear {kopanie::%player%}
  839. if {kopanie::%player%} is set:
  840. cancel event
  841. if player's ping is smaller than 160:
  842. add 1 to {speedmine::%player%}
  843. if {speedmine::%player%} is more than 10:
  844. set {_wiadomosc.speedmine} to {KH-drop.wiadomosc.anty-speedmine.wiadomosc}
  845. replace all "{gracz}" in {_wiadomosc.speedmine} with "%player%"
  846. loop all players:
  847. if loop-player has permission "khdrop.admin":
  848. send "%{_wiadomosc.speedmine}%" to loop-player
  849. set {speedmine::%player%} to 0
  850. stop
  851. set {_exp} to {KH-drop.exp}
  852. if {turboexp::%player%} is set:
  853. set {_exp} to {KH-drop.exp} * {KH-drop.mnoznik.turboexp}
  854. loop {_exp} times:
  855. give 1 xp to the player
  856. if {turboexp.all.rak} is set:
  857. if {turboexp::%player%} is not set:
  858. set {_exp} to {KH-drop.exp} * {KH-drop.mnoznik.turboexp}
  859. loop {_exp} times:
  860. give 1 xp to the player
  861. else:
  862. loop {KH-drop.exp} times:
  863. give 1 xp to the player
  864. loop {KH-drop.numer} times:
  865. set {_szansa} to {KH-drop.%loop-number%.szansa}
  866. if player has permission "khdrop.vip":
  867. if player don't have permission "khdrop.svip":
  868. set {_szansa} to {KH-drop.%loop-number%.szansa} * {KH-drop.mnoznik.ranga.vip}
  869. if player has permission "khdrop.svip":
  870. set {_szansa} to {KH-drop.%loop-number%.szansa} * {KH-drop.mnoznik.ranga.svip}
  871. if {turbodrop::%player%} is set:
  872. set {_szansa} to {_szansa} * {KH-drop.mnoznik.turbodrop}
  873. if {turbodrop.all.rak} is set:
  874. if {turbodrop::%player%} is not set:
  875. set {_szansa} to {_szansa} * {KH-drop.mnoznik.turbodrop}
  876. if chance of {_szansa}%:
  877. set {_wysokosc.drop} to {KH-drop.%loop-number%.wysokosc-y}
  878. if {_wysokosc.drop} is 0:
  879. set {_wysokosc.drop} to 255
  880. if distance between {spawn.spawn.spawn} and location of player is smaller than 120:
  881. set {_wysokosc.drop} to 255
  882. if y-coordinates of event-block is smaller than {_wysokosc.drop}:
  883. if {%{KH-drop.%loop-number%.przedmiot}%::%player%} is not set:
  884. if {KH-drop.%loop-number%.fortuna} is "tak":
  885. if player is holding any pickaxe of fortune 3:
  886. if chance of 30%:
  887. set {_ilosc5} to {KH-drop.%loop-number%.ilosc-min} - 1
  888. set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
  889. set {_ilosc1} to "3" parsed as number
  890. set {_ilosc} to {_ilosc2} * {_ilosc1}
  891. if {_ilosc} is smaller than {KH-drop.%loop-number%.ilosc-min}:
  892. set {_ilosc} to "%{KH-drop.%loop-number%.ilosc-min}%" parsed as number
  893. set {_przedmiot} to {KH-drop.%loop-number%.przedmiot}
  894. set {_wiadomosc} to {KH-drop.%loop-number%.wiadomosc}
  895. if {_wiadomosc} is not "brak":
  896. set {_przedmiotwiadomosc} to {KH-drop.%loop-number%.przedmiot-wiadomosc}
  897. replace all "{ilosc}" in {_wiadomosc} with "%{_ilosc}%"
  898. replace all "{przedmiot}" in {_wiadomosc} with "%{_przedmiotwiadomosc}%"
  899. send "%{_wiadomosc}%" to player
  900. loop {_ilosc} times:
  901. if player can hold {_przedmiot}:
  902. give player {_przedmiot}
  903. else:
  904. drop {_przedmiot}
  905. stop
  906. if chance of 50%:
  907. set {_ilosc5} to {KH-drop.%loop-number%.ilosc-min} - 1
  908. set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
  909. set {_ilosc1} to "2" parsed as number
  910. set {_ilosc} to {_ilosc2} * {_ilosc1}
  911. if {_ilosc} is smaller than {KH-drop.%loop-number%.ilosc-min}:
  912. set {_ilosc} to "%{KH-drop.%loop-number%.ilosc-min}%" parsed as number
  913. set {_przedmiot} to {KH-drop.%loop-number%.przedmiot}
  914. set {_wiadomosc} to {KH-drop.%loop-number%.wiadomosc}
  915. if {_wiadomosc} is not "brak":
  916. set {_przedmiotwiadomosc} to {KH-drop.%loop-number%.przedmiot-wiadomosc}
  917. replace all "{ilosc}" in {_wiadomosc} with "%{_ilosc}%"
  918. replace all "{przedmiot}" in {_wiadomosc} with "%{_przedmiotwiadomosc}%"
  919. send "%{_wiadomosc}%" to player
  920. loop {_ilosc} times:
  921. if player can hold {_przedmiot}:
  922. give player {_przedmiot}
  923. else:
  924. drop {_przedmiot}
  925. stop
  926. if chance of 100%:
  927. set {_ilosc5} to {KH-drop.%loop-number%.ilosc-min} - 1
  928. set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
  929. set {_ilosc1} to "1" parsed as number
  930. set {_ilosc} to {_ilosc2} * {_ilosc1}
  931. if {_ilosc} is smaller than {KH-drop.%loop-number%.ilosc-min}:
  932. set {_ilosc} to "%{KH-drop.%loop-number%.ilosc-min}%" parsed as number
  933. set {_przedmiot} to {KH-drop.%loop-number%.przedmiot}
  934. set {_wiadomosc} to {KH-drop.%loop-number%.wiadomosc}
  935. if {_wiadomosc} is not "brak":
  936. set {_przedmiotwiadomosc} to {KH-drop.%loop-number%.przedmiot-wiadomosc}
  937. replace all "{ilosc}" in {_wiadomosc} with "%{_ilosc}%"
  938. replace all "{przedmiot}" in {_wiadomosc} with "%{_przedmiotwiadomosc}%"
  939. send "%{_wiadomosc}%" to player
  940. loop {_ilosc} times:
  941. if player can hold {_przedmiot}:
  942. give player {_przedmiot}
  943. else:
  944. drop {_przedmiot}
  945. stop
  946. if player is holding any pickaxe of fortune 2:
  947. if chance of 50%:
  948. set {_ilosc5} to {KH-drop.%loop-number%.ilosc-min} - 1
  949. set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
  950. set {_ilosc1} to "2" parsed as number
  951. set {_ilosc} to {_ilosc2} * {_ilosc1}
  952. if {_ilosc} is smaller than {KH-drop.%loop-number%.ilosc-min}:
  953. set {_ilosc} to "%{KH-drop.%loop-number%.ilosc-min}%" parsed as number
  954. set {_przedmiot} to {KH-drop.%loop-number%.przedmiot}
  955. set {_wiadomosc} to {KH-drop.%loop-number%.wiadomosc}
  956. if {_wiadomosc} is not "brak":
  957. set {_przedmiotwiadomosc} to {KH-drop.%loop-number%.przedmiot-wiadomosc}
  958. replace all "{ilosc}" in {_wiadomosc} with "%{_ilosc}%"
  959. replace all "{przedmiot}" in {_wiadomosc} with "%{_przedmiotwiadomosc}%"
  960. send "%{_wiadomosc}%" to player
  961. loop {_ilosc} times:
  962. if player can hold {_przedmiot}:
  963. give player {_przedmiot}
  964. else:
  965. drop {_przedmiot}
  966. stop
  967. if chance of 100%:
  968. set {_ilosc5} to {KH-drop.%loop-number%.ilosc-min} - 1
  969. set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
  970. set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
  971. set {_ilosc1} to "1" parsed as number
  972. set {_ilosc} to {_ilosc2} * {_ilosc1}
  973. if {_ilosc} is smaller than {KH-drop.%loop-number%.ilosc-min}:
  974. set {_ilosc} to "%{KH-drop.%loop-number%.ilosc-min}%" parsed as number
  975. set {_przedmiot} to {KH-drop.%loop-number%.przedmiot}
  976. set {_wiadomosc} to {KH-drop.%loop-number%.wiadomosc}
  977. if {_wiadomosc} is not "brak":
  978. set {_przedmiotwiadomosc} to {KH-drop.%loop-number%.przedmiot-wiadomosc}
  979. replace all "{ilosc}" in {_wiadomosc} with "%{_ilosc}%"
  980. replace all "{przedmiot}" in {_wiadomosc} with "%{_przedmiotwiadomosc}%"
  981. send "%{_wiadomosc}%" to player
  982. loop {_ilosc} times:
  983. if player can hold {_przedmiot}:
  984. give player {_przedmiot}
  985. else:
  986. drop {_przedmiot}
  987. stop
  988. if player is holding any pickaxe:
  989. set {_ilosc5} to {KH-drop.%loop-number%.ilosc-min} - 1
  990. set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
  991. set {_ilosc1} to "1" parsed as number
  992. set {_ilosc} to {_ilosc2} * {_ilosc1}
  993. if {_ilosc} is smaller than {KH-drop.%loop-number%.ilosc-min}:
  994. set {_ilosc} to "%{KH-drop.%loop-number%.ilosc-min}%" parsed as number
  995. set {_przedmiot} to {KH-drop.%loop-number%.przedmiot}
  996. set {_wiadomosc} to {KH-drop.%loop-number%.wiadomosc}
  997. if {_wiadomosc} is not "brak":
  998. set {_przedmiotwiadomosc} to {KH-drop.%loop-number%.przedmiot-wiadomosc}
  999. replace all "{ilosc}" in {_wiadomosc} with "%{_ilosc}%"
  1000. replace all "{przedmiot}" in {_wiadomosc} with "%{_przedmiotwiadomosc}%"
  1001. send "%{_wiadomosc}%" to player
  1002. loop {_ilosc} times:
  1003. if player can hold {_przedmiot}:
  1004. give player {_przedmiot}
  1005. else:
  1006. drop {_przedmiot}
  1007. stop
  1008. else:
  1009. if player is holding any pickaxe:
  1010. set {_ilosc5} to {KH-drop.%loop-number%.ilosc-min} - 1
  1011. set {_ilosc2} to random integer between {_ilosc5} and {KH-drop.%loop-number%.ilosc-max}
  1012. set {_ilosc1} to "1" parsed as number
  1013. set {_ilosc} to {_ilosc2} * {_ilosc1}
  1014. if {_ilosc} is smaller than {KH-drop.%loop-number%.ilosc-min}:
  1015. set {_ilosc} to "%{KH-drop.%loop-number%.ilosc-min}%" parsed as number
  1016. set {_przedmiot} to {KH-drop.%loop-number%.przedmiot}
  1017. set {_wiadomosc} to {KH-drop.%loop-number%.wiadomosc}
  1018. if {_wiadomosc} is not "brak":
  1019. set {_przedmiotwiadomosc} to {KH-drop.%loop-number%.przedmiot-wiadomosc}
  1020.  
  1021. replace all "{ilosc}" in {_wiadomosc} with "%{_ilosc}%"
  1022. replace all "{przedmiot}" in {_wiadomosc} with "%{_przedmiotwiadomosc}%"
  1023. send "%{_wiadomosc}%" to player
  1024. loop {_ilosc} times:
  1025. if player can hold {_przedmiot}:
  1026. give player {_przedmiot}
  1027. else:
  1028. drop {_przedmiot}
  1029. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement