CusT

Untitled

Aug 13th, 2014
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.25 KB | None | 0 0
  1. variables:
  2. {Levelos.%player%} = 1
  3. {Kopalniacze.%player%} = 0
  4. {Wiadomosci.%player%} = true
  5.  
  6.  
  7. options:
  8. PunktyMin: 1
  9. PunktyMAX: 10
  10. Poziom2: 70
  11. Poziom3: 300
  12. Poziom4: 1000
  13. Poziom5: 1500
  14. Poziom6: 2000
  15. Poziom7: 2500
  16. Poziom8: 3000
  17. Poziom9: 3500
  18. Poziom10: 4000
  19. Poziom11: 4500
  20. Poziom12: 5000
  21. Poziom13: 5500
  22. Poziom14: 6000
  23. Poziom15: 6500
  24. Poziom16: 7000
  25. Poziom17: 8000
  26. Poziom18: 9000
  27. Poziom19: 10000
  28. Poziom20: 11000
  29. Poziom21: 12000
  30. Poziom22: 13000
  31. Poziom23: 14000
  32. Poziom24: 15000
  33. Poziom25: 16000
  34. Poziom26: 17000
  35. Poziom27: 18000
  36. Poziom28: 19000
  37. Poziom29: 20000
  38. Poziom30: 25000
  39.  
  40. on command "g zaloz":
  41. if {Levelos.%player%} isn't 15:
  42. send "&aMusisz miec 15 level kopania !"
  43. cancel event
  44.  
  45. on chat:
  46. set the player's display name to "&2[&8%{Levelos.%player%}%&2] &r%display name of player%"
  47.  
  48. every 5 minutes:
  49. broadcast "&7Wkurzaja cie wiadomosci o otrzymaniu punktow kopania na chat ? Wpisz /wiadomosci on/off aby wylaczyc !"
  50.  
  51. command /wiadomosci [<text>]:
  52. trigger:
  53. arg 1 is not set:
  54. send "&cWpisz /Wiadomosci ON/OFF"
  55. arg 1 is "on":
  56. send "&aWiadomosci wlaczone !"
  57. set {Wiadomosci.%player%} to true
  58. arg 1 is "off":
  59. send "&cWiadomosci wylaczone !"
  60. set {Wiadomosci.%player%} to false
  61.  
  62. command /Poziom:
  63. trigger:
  64. send "&e==================="
  65. send "&7Twoje punkty: &2%{Kopalniacze.%player%}%"
  66. send "&7Twoj poziom: &2%{Levelos.%player%}%"
  67. if {Levelos.%player%} is 1:
  68. send "&7Punkty potrzebne na 2 poziom: &2{@Poziom2}"
  69. send "&e==================="
  70. stop
  71. if {Levelos.%player%} is 2:
  72. send "&7Punkty potrzebne na 3 poziom: &2{@Poziom3}"
  73. send "&e==================="
  74. stop
  75. if {Levelos.%player%} is 3:
  76. send "&7Punkty potrzebne na 4 poziom: &2{@Poziom4}"
  77. send "&e==================="
  78. stop
  79. if {Levelos.%player%} is 4:
  80. send "&7Punkty potrzebne na 5 poziom: &2{@Poziom5}"
  81. send "&e==================="
  82. stop
  83. if {Levelos.%player%} is 5:
  84. send "&7Punkty potrzebne na 6 poziom: &2{@Poziom6}"
  85. send "&e==================="
  86. stop
  87. if {Levelos.%player%} is 6:
  88. send "&7Punkty potrzebne na 7 poziom: &2{@Poziom7}"
  89. send "&e==================="
  90. stop
  91. if {Levelos.%player%} is 7:
  92. send "&7Punkty potrzebne na 8 poziom: &2{@Poziom8}"
  93. send "&e==================="
  94. stop
  95. if {Levelos.%player%} is 8:
  96. send "&7Punkty potrzebne na 9 poziom: &2{@Poziom9}"
  97. send "&e==================="
  98. stop
  99. if {Levelos.%player%} is 9:
  100. send "&7Punkty potrzebne na 10 poziom: &2{@Poziom10}"
  101. send "&e==================="
  102. stop
  103. if {Levelos.%player%} is 10:
  104. send "&7Punkty potrzebne na 11 poziom: &2{@Poziom11}"
  105. send "&e==================="
  106. stop
  107. if {Levelos.%player%} is 11:
  108. send "&7Punkty potrzebne na 12 poziom: &2{@Poziom12}"
  109. send "&e==================="
  110. stop
  111. if {Levelos.%player%} is 12:
  112. send "&7Punkty potrzebne na 13 poziom: &2{@Poziom13}"
  113. send "&e==================="
  114. stop
  115. if {Levelos.%player%} is 13:
  116. send "&7Punkty potrzebne na 14 poziom: &2{@Poziom14}"
  117. send "&e==================="
  118. stop
  119. if {Levelos.%player%} is 14:
  120. send "&7Punkty potrzebne na 15 poziom: &2{@Poziom15}"
  121. send "&e==================="
  122. stop
  123. if {Levelos.%player%} is 15:
  124. send "&7Punkty potrzebne na 16 poziom: &2{@Poziom16}"
  125. send "&e==================="
  126. stop
  127. if {Levelos.%player%} is 16:
  128. send "&7Punkty potrzebne na 17 poziom: &2{@Poziom17}"
  129. send "&e==================="
  130. stop
  131. if {Levelos.%player%} is 17:
  132. send "&7Punkty potrzebne na 18 poziom: &2{@Poziom18}"
  133. send "&e==================="
  134. stop
  135. if {Levelos.%player%} is 18:
  136. send "&7Punkty potrzebne na 19 poziom: &2{@Poziom19}"
  137. send "&e==================="
  138. stop
  139. if {Levelos.%player%} is 19:
  140. send "&7Punkty potrzebne na 20 poziom: &2{@Poziom20}"
  141. send "&e==================="
  142. stop
  143. if {Levelos.%player%} is 20:
  144. send "&7Punkty potrzebne na 21 poziom: &2{@Poziom21}"
  145. send "&e==================="
  146. stop
  147. if {Levelos.%player%} is 21:
  148. send "&7Punkty potrzebne na 22 poziom: &2{@Poziom22}"
  149. send "&e==================="
  150. stop
  151. if {Levelos.%player%} is 22:
  152. send "&7Punkty potrzebne na 23 poziom: &2{@Poziom23}"
  153. send "&e==================="
  154. stop
  155. if {Levelos.%player%} is 23:
  156. send "&7Punkty potrzebne na 24 poziom: &2{@Poziom24}"
  157. send "&e==================="
  158. stop
  159. if {Levelos.%player%} is 24:
  160. send "&7Punkty potrzebne na 25 poziom: &2{@Poziom25}"
  161. send "&e==================="
  162. stop
  163. if {Levelos.%player%} is 25:
  164. send "&7Punkty potrzebne na 26 poziom: &2{@Poziom26}"
  165. send "&e==================="
  166. stop
  167. if {Levelos.%player%} is 26:
  168. send "&7Punkty potrzebne na 27 poziom: &2{@Poziom27}"
  169. send "&e==================="
  170. stop
  171. if {Levelos.%player%} is 27:
  172. send "&7Punkty potrzebne na 28 poziom: &2{@Poziom28}"
  173. send "&e==================="
  174. stop
  175. if {Levelos.%player%} is 28:
  176. send "&7Punkty potrzebne na 29 poziom: &2{@Poziom29}"
  177. send "&e==================="
  178. stop
  179. if {Levelos.%player%} is 29:
  180. send "&7Punkty potrzebne na 30 poziom: &2{@Poziom30}"
  181. send "&e==================="
  182. stop
  183. if {Levelos.%player%} is 30:
  184. send "&7Maksymalny poziom osiagniety"
  185. send "&e==================="
  186. stop
  187.  
  188. on mine stone:
  189. set {PunktyGracza} to random integer between {@PunktyMin} and {@PunktyMAX}
  190. add {PunktyGracza} to {Kopalniacze.%player%}
  191. if {Wiadomosci.%player%} is true:
  192. send "&aOtrzymales &7(%{PunktyGracza}%) &apunktow"
  193.  
  194. on mine stone:
  195. if {Kopalniacze.%player%} is greater than {@Poziom2}:
  196. if {Levelos.%player%} is 1:
  197. set {Levelos.%player%} to 2
  198. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  199. execute console command "playsound random.pop %player%"
  200. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  201. if {Kopalniacze.%player%} is greater than {@Poziom3}:
  202. if {Levelos.%player%} is 2:
  203. set {Levelos.%player%} to 3
  204. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  205. execute console command "playsound random.pop %player%"
  206. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  207. if {Kopalniacze.%player%} is greater than {@Poziom4}:
  208. if {Levelos.%player%} is 3:
  209. set {Levelos.%player%} to 4
  210. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  211. execute console command "playsound random.pop %player%"
  212. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  213. if {Kopalniacze.%player%} is greater than {@Poziom5}:
  214. if {Levelos.%player%} is 4:
  215. set {Levelos.%player%} to 5
  216. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  217. execute console command "playsound random.pop %player%"
  218. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  219. if {Kopalniacze.%player%} is greater than {@Poziom6}:
  220. if {Levelos.%player%} is 5:
  221. set {Levelos.%player%} to 6
  222. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  223. execute console command "playsound random.pop %player%"
  224. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  225. if {Kopalniacze.%player%} is greater than {@Poziom7}:
  226. if {Levelos.%player%} is 6:
  227. set {Levelos.%player%} to 7
  228. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  229. execute console command "playsound random.pop %player%"
  230. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  231. if {Kopalniacze.%player%} is greater than {@Poziom8}:
  232. if {Levelos.%player%} is 7:
  233. set {Levelos.%player%} to 8
  234. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  235. execute console command "playsound random.pop %player%"
  236. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  237. if {Kopalniacze.%player%} is greater than {@Poziom9}:
  238. if {Levelos.%player%} is 8:
  239. set {Levelos.%player%} to 9
  240. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  241. execute console command "playsound random.pop %player%"
  242. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  243. if {Kopalniacze.%player%} is greater than {@Poziom10}:
  244. if {Levelos.%player%} is 9:
  245. set {Levelos.%player%} to 10
  246. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  247. execute console command "playsound random.pop %player%"
  248. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  249. if {Kopalniacze.%player%} is greater than {@Poziom11}:
  250. if {Levelos.%player%} is 10:
  251. set {Levelos.%player%} to 11
  252. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  253. execute console command "playsound random.pop %player%"
  254. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  255. if {Kopalniacze.%player%} is greater than {@Poziom12}:
  256. if {Levelos.%player%} is 11:
  257. set {Levelos.%player%} to 12
  258. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  259. execute console command "playsound random.pop %player%"
  260. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  261. if {Kopalniacze.%player%} is greater than {@Poziom13}:
  262. if {Levelos.%player%} is 12:
  263. set {Levelos.%player%} to 13
  264. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  265. execute console command "playsound random.pop %player%"
  266. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  267. if {Kopalniacze.%player%} is greater than {@Poziom14}:
  268. if {Levelos.%player%} is 13:
  269. set {Levelos.%player%} to 14
  270. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  271. execute console command "playsound random.pop %player%"
  272. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  273. if {Kopalniacze.%player%} is greater than {@Poziom15}:
  274. if {Levelos.%player%} is 14:
  275. set {Levelos.%player%} to 15
  276. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  277. execute console command "playsound random.pop %player%"
  278. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  279. if {Kopalniacze.%player%} is greater than {@Poziom16}:
  280. if {Levelos.%player%} is 15:
  281. set {Levelos.%player%} to 16
  282. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  283. execute console command "playsound random.pop %player%"
  284. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  285. if {Kopalniacze.%player%} is greater than {@Poziom17}:
  286. if {Levelos.%player%} is 16:
  287. set {Levelos.%player%} to 17
  288. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  289. execute console command "playsound random.pop %player%"
  290. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  291. if {Kopalniacze.%player%} is greater than {@Poziom18}:
  292. if {Levelos.%player%} is 17:
  293. set {Levelos.%player%} to 18
  294. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  295. execute console command "playsound random.pop %player%"
  296. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  297. if {Kopalniacze.%player%} is greater than {@Poziom19}:
  298. if {Levelos.%player%} is 18:
  299. set {Levelos.%player%} to 19
  300. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  301. execute console command "playsound random.pop %player%"
  302. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  303. if {Kopalniacze.%player%} is greater than {@Poziom20}:
  304. if {Levelos.%player%} is 19:
  305. set {Levelos.%player%} to 20
  306. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  307. execute console command "playsound random.pop %player%"
  308. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  309. if {Kopalniacze.%player%} is greater than {@Poziom21}:
  310. if {Levelos.%player%} is 20:
  311. set {Levelos.%player%} to 21
  312. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  313. execute console command "playsound random.pop %player%"
  314. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  315. if {Kopalniacze.%player%} is greater than {@Poziom22}:
  316. if {Levelos.%player%} is 21:
  317. set {Levelos.%player%} to 22
  318. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  319. execute console command "playsound random.pop %player%"
  320. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  321. if {Kopalniacze.%player%} is greater than {@Poziom23}:
  322. if {Levelos.%player%} is 22:
  323. set {Levelos.%player%} to 23
  324. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  325. execute console command "playsound random.pop %player%"
  326. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  327. if {Kopalniacze.%player%} is greater than {@Poziom24}:
  328. if {Levelos.%player%} is 23:
  329. set {Levelos.%player%} to 24
  330. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  331. execute console command "playsound random.pop %player%"
  332. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  333. if {Kopalniacze.%player%} is greater than {@Poziom25}:
  334. if {Levelos.%player%} is 24:
  335. set {Levelos.%player%} to 25
  336. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  337. execute console command "playsound random.pop %player%"
  338. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  339. if {Kopalniacze.%player%} is greater than {@Poziom26}:
  340. if {Levelos.%player%} is 25:
  341. set {Levelos.%player%} to 26
  342. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  343. execute console command "playsound random.pop %player%"
  344. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  345. if {Kopalniacze.%player%} is greater than {@Poziom27}:
  346. if {Levelos.%player%} is 26:
  347. set {Levelos.%player%} to 27
  348. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  349. execute console command "playsound random.pop %player%"
  350. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  351. if {Kopalniacze.%player%} is greater than {@Poziom28}:
  352. if {Levelos.%player%} is 27:
  353. set {Levelos.%player%} to 28
  354. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  355. execute console command "playsound random.pop %player%"
  356. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  357. if {Kopalniacze.%player%} is greater than {@Poziom29}:
  358. if {Levelos.%player%} is 28:
  359. set {Levelos.%player%} to 29
  360. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  361. execute console command "playsound random.pop %player%"
  362. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
  363. if {Kopalniacze.%player%} is greater than {@Poziom30}:
  364. if {Levelos.%player%} is 29:
  365. set {Levelos.%player%} to 30
  366. send "&aAwansowales na %{Levelos.%player%}% poziom !"
  367. execute console command "playsound random.pop %player%"
  368. broadcast "&aGracz &7%player%&a Awansowal na &7%{Levelos.%player%}% &aPoziom kopania"
Advertisement
Add Comment
Please, Sign In to add comment