Guest User

StoneLvL by TheMrowkaPL

a guest
Feb 12th, 2014
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.23 KB | None | 0 0
  1. #---------------------------#
  2. # ZEZWALAM NA: #
  3. # Zmienianie dropu #
  4. # Treści wiadomośći #
  5. # Punktów za drop #
  6. # Co ile punktów ma być lvl.#
  7. # #
  8. # NIEZEZWALAM NA: #
  9. # Kopiowanie kodu #
  10. # Podszywanie sie pod autora#
  11. # Udostepnianie kodu #
  12. # #
  13. #---------------------------#
  14. # AUTOR SKRYPTU: THEMROWKAPL#
  15. # WERSJA SKRYPTU: v1.0 #
  16. #-----------KOD-------------#
  17.  
  18. Variables:
  19. {punkty.%player%} = 0
  20. on mine stone:
  21. chance of 4%:
  22. drop coal
  23. set {PunktyGracza} to random integer between 1 and 2
  24. add {PunktyGracza} to {punkty.%player%}
  25. send "&eZnalazles: &8Wegiel &b+%{PunktyGracza}%pkt"
  26.  
  27. on mine stone:
  28. chance of 2%:
  29. drop iron ore
  30. set {PunktyGracza} to random integer between 1 and 3
  31. add {PunktyGracza} to {punkty.%player%}
  32. send "&eZnalazles: &8Zelazo &b+%{PunktyGracza}%pkt"
  33.  
  34. on mine stone:
  35. chance of 1.5%:
  36. drop gold ore
  37. set {PunktyGracza} to random integer between 2 and 5
  38. add {PunktyGracza} to {punkty.%player%}
  39. send "&eZnalazles: &8Zloto &b+%{PunktyGracza}%pkt"
  40.  
  41. on mine stone:
  42. chance of 1%:
  43. drop emerald
  44. set {PunktyGracza} to random integer between 7 and 15
  45. add {PunktyGracza} to {punkty.%player%}
  46. send "&eZnalazles: &8Szmaragd &b+%{PunktyGracza}%pkt"
  47.  
  48. on mine stone:
  49. chance of 0.9%:
  50. drop diamond
  51. set {PunktyGracza} to random integer between 7 and 25
  52. add {PunktyGracza} to {punkty.%player%}
  53. send "&eZnalazles: &8Diament &b+%{PunktyGracza}%pkt"
  54.  
  55. command /pktr:
  56. trigger:
  57. send "&4Twoj lvl zostal oczyszczony!"
  58. send "&4Miales &6%{lvl.%player%}% &4lvl"
  59. set {punkty.%player%} to 0
  60. set {lvl.%player%} to 0
  61.  
  62. command /helppkt:
  63. trigger:
  64. send "&6&lHELP"
  65. send "&e&l/pkt - &3Twoj lvl."
  66. send "&e&l/pktr - &3Usuwa caly lvl."
  67. send "&e&l/pktd - &3Drop z kamienia"
  68. send "&e&l/pktl - &3Wzrost lvl."
  69. send "&e&l/pkta - &3Informacje o skrypcie."
  70.  
  71. command /pktd:
  72. trigger:
  73. send "&6&lDROP"
  74. send "&6Wegiel &b4% 1-2pkt"
  75. send "&6Zelazo &b2% 1-3pkt"
  76. send "&6Zloto &b1.5% 2-5pkt"
  77.  
  78. command /pkta:
  79. trigger:
  80. send "&eTworca skryptu: &bTheMrowkaPL"
  81. send "&eWersja skryptu: &b1.1"
  82.  
  83. command /pktl:
  84. trigger:
  85. send "&b1-27lvl pkt wzrastaja o 20"
  86. send "&b28-32lvl pkt wzrataja o 50"
  87. send "&b33-40lvl pkt wzrastaja o 100"
  88.  
  89. command /pkt:
  90. trigger:
  91. send "&a...Loading..."
  92. wait 1 second
  93. send "&bLvL: &e%{lvl.%player%}%"
  94. send "&bPkt: &e%{punkty.%player%}%"
  95.  
  96. on mine stone:
  97. if {punkty.%player%} is greater than 20:
  98. set {lvl.%player%} to 0
  99. if {punkty.%player%} is greater than 40:
  100. set {lvl.%player%} to 1
  101. if {punkty.%player%} is greater than 60:
  102. set {lvl.%player%} to 2
  103. if {punkty.%player%} is greater than 80:
  104. set {lvl.%player%} to 3
  105. if {punkty.%player%} is greater than 100:
  106. set {lvl.%player%} to 4
  107. if {punkty.%player%} is greater than 120:
  108. set {lvl.%player%} to 5
  109. if {punkty.%player%} is greater than 140:
  110. set {lvl.%player%} to 6
  111. if {punkty.%player%} is greater than 160:
  112. set {lvl.%player%} to 7
  113. if {punkty.%player%} is greater than 180:
  114. set {lvl.%player%} to 8
  115. if {punkty.%player%} is greater than 100:
  116. set {lvl.%player%} to 9
  117. if {punkty.%player%} is greater than 110:
  118. set {lvl.%player%} to 10
  119. if {punkty.%player%} is greater than 120:
  120. set {lvl.%player%} to 11
  121. if {punkty.%player%} is greater than 130:
  122. set {lvl.%player%} to 12
  123. if {punkty.%player%} is greater than 140:
  124. set {lvl.%player%} to 13
  125. if {punkty.%player%} is greater than 150:
  126. set {lvl.%player%} to 13
  127. if {punkty.%player%} is greater than 160:
  128. set {lvl.%player%} to 14
  129. if {punkty.%player%} is greater than 170:
  130. set {lvl.%player%} to 15
  131. if {punkty.%player%} is greater than 180:
  132. set {lvl.%player%} to 16
  133. if {punkty.%player%} is greater than 200:
  134. set {lvl.%player%} to 17
  135. if {punkty.%player%} is greater than 220:
  136. set {lvl.%player%} to 18
  137. if {punkty.%player%} is greater than 240:
  138. set {lvl.%player%} to 19
  139. if {punkty.%player%} is greater than 260:
  140. set {lvl.%player%} to 20
  141. if {punkty.%player%} is greater than 280:
  142. set {lvl.%player%} to 21
  143. if {punkty.%player%} is greater than 300:
  144. set {lvl.%player%} to 22
  145. if {punkty.%player%} is greater than 320:
  146. set {lvl.%player%} to 23
  147. if {punkty.%player%} is greater than 340:
  148. set {lvl.%player%} to 24
  149. if {punkty.%player%} is greater than 360:
  150. set {lvl.%player%} to 25
  151. if {punkty.%player%} is greater than 380:
  152. set {lvl.%player%} to 26
  153. if {punkty.%player%} is greater than 400:
  154. set {lvl.%player%} to 27
  155. if {punkty.%player%} is greater than 450:
  156. set {lvl.%player%} to 28
  157. if {punkty.%player%} is greater than 500:
  158. set {lvl.%player%} to 29
  159. if {punkty.%player%} is greater than 550:
  160. set {lvl.%player%} to 30
  161. if {punkty.%player%} is greater than 600:
  162. set {lvl.%player%} to 31
  163. if {punkty.%player%} is greater than 650:
  164. set {lvl.%player%} to 32
  165. if {punkty.%player%} is greater than 700:
  166. set {lvl.%player%} to 33
  167. if {punkty.%player%} is greater than 800:
  168. set {lvl.%player%} to 34
  169. if {punkty.%player%} is greater than 900:
  170. set {lvl.%player%} to 35
  171. if {punkty.%player%} is greater than 1000:
  172. set {lvl.%player%} to 36
  173. if {punkty.%player%} is greater than 1500:
  174. set {lvl.%player%} to 37
  175. if {punkty.%player%} is greater than 2000:
  176. set {lvl.%player%} to 38
  177. if {punkty.%player%} is greater than 2500:
  178. set {lvl.%player%} to 39
  179. if {punkty.%player%} is greater than 3000:
  180. set {lvl.%player%} to 40
  181.  
  182. on chat:
  183. player has permissions "skrypt.prefix":
  184. set player's display name to "&8[%{lvl.%player%}%] &7%player%"
  185. set the player's tablist name to "&8[%{lvl.%player%}%] &7%name of player%"
Advertisement
Add Comment
Please, Sign In to add comment