GamePL7

gTurbo

Sep 9th, 2016
1,274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.80 KB | None | 0 0
  1. Variables:
  2. {Turbo.drop.%player%} = false
  3. {Turbo.drop} = false
  4. Options:
  5. perm: turbo.sk
  6. perm.msg: &cNie mozesz tego zrobic &7(turbo.sk!)
  7. nazwa: turbo
  8. on mine of stone:
  9. If {Turbo.drop.%player%} is "true":
  10. chance of 3.5%:
  11. give diamond to the player
  12. send "&aZnalazles: &cdiament!"
  13. chance of 5.5%:
  14. give emerald to the player
  15. send "&aZnalazles: &cemeralda!"
  16. chance of 7.0%:
  17. give iron ingot to the player
  18. send "&aZnalazles: &czelazo!"
  19. chance of 9.0%:
  20. give gold ingot to the player
  21. send "&aZnalazles: &czloto!"A
  22. chance of 3.0%:
  23. give tnt to the player
  24. send "&aZnalazles: &cTNT!"
  25. chance of 2.1%:
  26. give ender pearl to the player
  27. send "&aZnalazles: &cperle endermana!"
  28. chance of 9.0%:
  29. give redstone to the player
  30. send "&aZnalazles: &cczerwony proszek!"
  31. chance of 1.1%:
  32. give slimeball to the player
  33. send "&aZnalazles: &ckule szlamu!"
  34. chance of 2.5%:
  35. give apple to the player
  36. send "&aZnalazles: &cjablko!"
  37. chance of 6.5%:
  38. give coal to the player
  39. send "&aZnalazles: &cwegiel!"
  40. chance of 6.0%:
  41. give obsidian to the player
  42. send "&aZnalazles: &cobsa!"
  43. chance of 15.5%:
  44. give book to the player
  45. send "&aZnalazles: &cksiazke!"
  46. If {Turbo.drop} is "true":
  47. chance of 3.5%:
  48. give diamond to the player
  49. send "&aZnalazles: &cdiament!"
  50. chance of 5.5%:
  51. give emerald to the player
  52. send "&aZnalazles: &cemeralda!"
  53. chance of 7.0%:
  54. give iron ingot to the player
  55. send "&aZnalazles: &czelazo!"
  56. chance of 9.0%:
  57. give gold ingot to the player
  58. send "&aZnalazles: &czloto!"
  59. chance of 3.0%:
  60. give tnt to the player
  61. send "&aZnalazles: &cTNT!"
  62. chance of 2.1%:
  63. give ender pearl to the player
  64. send "&aZnalazles: &cperle endermana!"
  65. chance of 9.0%:
  66. give redstone to the player
  67. send "&aZnalazles: &cczerwony proszek!"
  68. chance of 1.1%:
  69. give slimeball to the player
  70. send "&aZnalazles: &ckule szlamu!"
  71. chance of 2.5%:
  72. give apple to the player
  73. send "&aZnalazles: &cjablko!"
  74. chance of 6.5%:
  75. give coal to the player
  76. send "&aZnalazles: &cwegiel!"
  77. chance of 6.0%:
  78. give obsidian to the player
  79. send "&aZnalazles: &cobsa!"
  80. chance of 15.5%:
  81. give book to the player
  82. send "&aZnalazles: &cksiazke!"
  83. command /turbodrop [<text>] [<text>] [<text>]:
  84. aliases: /turbo
  85. trigger:
  86. if player has permissions "{@perm}":
  87. if arg 1 is "drop" or "kamien":
  88. if arg 2 is not set:
  89. if arg 3 is not set:
  90. set {Turbo.drop.%player%} to "true"
  91. Send "&aStart turba! Czas: &czawsze"
  92. if arg 2 is set:
  93. if arg 3 is set:
  94. set {turbo.drop.%arg 3%} to "true"
  95. set {_time} to "%arg-2% minutes" parsed as timespan
  96. wait {_time}
  97. set {turbo.drop.%arg 3%} to "false"
  98. send "&aWlaczyles TurboDrop dla %arg 3% na %arg 2% minut/y!"
  99. send "&aDostales TurboDrop na %arg 2% minut!"
  100. if arg 3 is not set:
  101. set {Turbo.drop.%player%} to "true"
  102. Send "&aStart turbo DROP na &c%arg 2% minut/y!"
  103. set {_time2} to "%arg-2% minutes" parsed as timespan
  104. wait {_time2}
  105. set {Turbo.drop.%player%} to "false"
  106. Send "&cKoniec już tego turbodropu"
  107. if arg 1 is "all":
  108. if arg 2 is not set:
  109. send "&aWpisz czas!"
  110. if arg 2 is set:
  111. set {Turbo.drop} to "true"
  112. broadcast "&aWLACZONO TURBO DROP DLA WSZYSTKICH GRACZY NA &c%arg 2% minut&a!"
  113. set {_time4} to "%arg-2% minutes" parsed as timespan
  114. wait {_time4}
  115. set {Turbo.drop} to "false"
  116. broadcast "&cWYLACZONO TURBODROP :("
  117. if arg 1 is "off" or "wylacz":
  118. if {turbo.drop.%player%} is "true":
  119. set {Turbo.drop.%player%} to "false"
  120. send "&aWylaczyles turbo!"
  121. else:
  122. send "&cTurbo nie jest wlaczone!"
  123. if arg 1 is "reload":
  124. execute console command "/sk reload {@nazwa}"
  125. send "&aPomyslnie przeladowano skrypt!"
  126. if arg 1 is "autor":
  127. send "&aTurbo zostalo wykonane przez &cGamePL7&a, dla &7| KrainaPikseli.pl |"
  128. if arg 1 is not set:
  129. send "&7======---- &aTURBO &7----======"
  130. send "&r"
  131. send "&a/turbo drop <czas> <nick>:"
  132. send "&cWlacza turbodrop, bez <czas> i <nick> wlacza dla %player% &7(ciebie)"
  133. send "&cna czas nieokreslony, natomiast gdy wpiszesz <czas>, za tyle - tobie - się wyłączy... Analogicznie,"
  134. send "&cgdy wpiszemy jeszcze <nick> da TurboDrop dla gracza (<nick>) na (<czas>) minut :)"
  135. send "&r"
  136. send "&a/turbo all <czas>:"
  137. send "&cWlacza turbodrop - dla wszystkich graczy na <czas>!"
  138. send "&r"
  139. send "&a/turbo off:"
  140. send "&cWylacza TurboDrop"
  141. send "&r"
  142. send "&a/turbo autor:"
  143. send "&cInformacje o autorze"
  144. send "&r"
  145. send "&a/turbo reload"
  146. send "&cPrzeladowuje skrypt"
  147. send "&r"
  148. send "&7======---- &aTURBO &7----======"
  149. else:
  150. send "&cNie masz permisji!"
  151. stop
Advertisement
Add Comment
Please, Sign In to add comment