Stasio889

Poprawka - Nie testowana!

Feb 6th, 2014
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.19 KB | None | 0 0
  1. options:
  2. AT1: Drewno1 #nazwa cuboida do regerowania
  3. AT2: Drewno2 #nazwa cuboida do regerowania
  4. AT3: Drewno3 #nazwa cuboida do regerowania
  5. AT4: Drewno4 #nazwa cuboida do regerowania
  6. AT5: Kopalnia1 #nazwa cuboida do regerowania
  7. AT6: Kopalnia2 #nazwa cuboida do regerowania
  8. AT7: Kopalnia3 #nazwa cuboida do regerowania
  9. AT8: Kopalnia4 #nazwa cuboida do regerowania
  10. AT9: Kopalnia5 #nazwa cuboida do regerowania
  11. CZAS1: 9000 #Czas Resetowania
  12. CZAS2: 9000 #Czas Resetowania
  13. CZAS3: 9000 #Czas Resetowania
  14. CZAS4: 9000 #Czas Resetowania
  15. CZAS5: 9000 #Czas Resetowania
  16. CZAS6: 9000 #Czas Resetowania
  17. CZAS7: 9000 #Czas Resetowania
  18. CZAS8: 9000 #Czas Resetowania
  19. CZAS9: 9000 #Czas Resetowania
  20. BLOKAT1: 17 #ID bloku do wypelnienia
  21. BLOKAT2: 17:1 #ID bloku do wypelnienia
  22. BLOKAT3: 17:2 #ID bloku do wypelnienia
  23. BLOKAT4: 17:3 #ID bloku do wypelnienia
  24. BLOKAT5: 1 #ID bloku do wypelnienia
  25. BLOKAT6: 3 #ID bloku do wypelnienia
  26. BLOKAT7: 4 #ID bloku do wypelnienia
  27. BLOKAT8: 16 #ID bloku do wypelnienia
  28. BLOKAT9: 35 #ID bloku do wypelnienia
  29.  
  30. #========================
  31. #1 Godzina = 3600 sekund
  32. #2 Godziny = 7200 sekund
  33. #3 Godziny = 10800 sekund
  34. #4 Godziny = 14400 sekund
  35. #5 Godzin = 18000 sekund
  36. #========================
  37. #30 minut = 1800 sekund
  38. #15 minut = 9000 sekund
  39. #========================
  40.  
  41. every {@CZAS1} seconds:
  42. make console execute command "region select {@AT1}"
  43. wait 1 second
  44. make console execute command "//set {@BLOKAT1}"
  45. wait 1 second
  46. make console execute command "/bc Zresetowano {@AT1}"
  47. every {@CZAS2} seconds:
  48. make console execute command "region select {@AT2}"
  49. wait 1 second
  50. make console execute command "//set {@BLOKAT2}"
  51. wait 1 second
  52. make console execute command "/bc Zresetowano {@AT2}"
  53. every {@CZAS3} seconds:
  54. make console execute command "region select {@AT3}"
  55. wait 1 second
  56. make console execute command "//set {@BLOKAT3}"
  57. wait 1 second
  58. make console execute command "/bc Zresetowano {@AT3}"
  59. every {@CZAS4} seconds:
  60. make console execute command "region select {@AT4}"
  61. wait 1 second
  62. make console execute command "//set {@BLOKAT4}"
  63. wait 1 second
  64. make console execute command "/bc Zresetowano {@AT4}"
  65. every {@CZAS5} seconds:
  66. make console execute command "region select {@AT5}"
  67. wait 1 second
  68. make console execute command "//set {@BLOKAT5}"
  69. wait 1 second
  70. make console execute command "/bc Zresetowano {@AT5}"
  71. every {@CZAS6} seconds:
  72. make console execute command "region select {@AT6}"
  73. wait 1 second
  74. make console execute command "//set {@BLOKAT6}"
  75. wait 1 second
  76. make console execute command "/bc Zresetowano {@AT6}"
  77. every {@CZAS7} seconds:
  78. make console execute command "region select {@AT7}"
  79. wait 1 second
  80. make console execute command "//set {@BLOKAT7}"
  81. wait 1 second
  82. make console execute command "/bc Zresetowano {@AT7}"
  83. every {@CZAS8} seconds:
  84. make console execute command "region select {@AT8}"
  85. wait 1 second
  86. make console execute command "//set {@BLOKAT8}"
  87. wait 1 second
  88. make console execute command "/bc Zresetowano {@AT8}"
  89. every {@CZAS9} seconds:
  90. make console execute command "region select {@AT9}"
  91. wait 1 second
  92. make console execute command "//set {@BLOKAT9}"
  93. wait 1 second
  94. make console execute command "/bc Zresetowano {@AT9}"
  95. command /gReset [<text>]:
  96. trigger:
  97. if argument 1 is "AT1":
  98. execute player command "region select {@AT1}"
  99. wait 1 second
  100. execute player command "//set {@BLOKAT1}"
  101. wait 1 second
  102. execute player command "/bc Zresetowano {@AT1}"
  103. stop
  104. if argument 1 is "AT2":
  105. execute player command "region select {@AT2}"
  106. wait 1 second
  107. execute player command "//set {@BLOKAT2}"
  108. wait 1 second
  109. execute player command "/bc Zresetowano {@AT2}"
  110. stop
  111. if argument 1 is "AT3":
  112. execute player command "region select {@AT3}"
  113. wait 1 second
  114. execute player command "//set {@BLOKAT3}"
  115. wait 1 second
  116. execute player command "/bc Zresetowano {@AT3}"
  117. stop
  118. if argument 1 is "AT4":
  119. execute player command "region select {@AT4}"
  120. wait 1 second
  121. execute player command "//set {@BLOKAT4}"
  122. wait 1 second
  123. execute player command "/bc Zresetowano {@AT4}"
  124. stop
  125. if argument 1 is "AT5":
  126. execute player command "region select {@AT5}"
  127. wait 1 second
  128. execute player command "//set {@BLOKAT5}"
  129. wait 1 second
  130. execute player command "/bc Zresetowano {@AT5}"
  131. stop
  132. if argument 1 is "AT6":
  133. execute player command "region select {@AT6}"
  134. wait 1 second
  135. execute player command "//set {@BLOKAT6}"
  136. wait 1 second
  137. execute player command "/bc Zresetowano {@AT6}"
  138. stop
  139. if argument 1 is "AT7":
  140. execute player command "region select {@AT7}"
  141. wait 1 second
  142. execute player command "//set {@BLOKAT7}"
  143. wait 1 second
  144. execute player command "/bc Zresetowano {@AT7}"
  145. stop
  146. if argument 1 is "AT8":
  147. execute player command "region select {@AT8}"
  148. wait 1 second
  149. execute player command "//set {@BLOKAT8}"
  150. wait 1 second
  151. execute player command "/bc Zresetowano {@AT8}"
  152. stop
  153. if argument 1 is "AT9":
  154. execute player command "region select {@AT9}"
  155. wait 1 second
  156. execute player command "//set {@BLOKAT9}"
  157. wait 1 second
  158. execute player command "/bc Zresetowano {@AT9}"
  159. stop
Advertisement
Add Comment
Please, Sign In to add comment