Fabian42

minutes.sh

May 2nd, 2020
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 19.21 KB | None | 0 0
  1.  
  2. for((a=0;a<=23;a++)); do
  3. touch "h_"$a"_m_00_29.mcfunction"
  4. echo "execute if score #minute main matches 00..14 run function clock:h_"$a"_m_00_14" >> "h_"$a"_m_00_29.mcfunction"
  5. echo "execute if score #minute main matches 15..29 run function clock:h_"$a"_m_15_29" >> "h_"$a"_m_00_29.mcfunction"
  6. done
  7. for((a=0;a<=23;a++)); do
  8. touch "h_"$a"_m_00_14.mcfunction"
  9. echo "execute if score #minute main matches 00..07 run function clock:h_"$a"_m_00_07" >> "h_"$a"_m_00_14.mcfunction"
  10. echo "execute if score #minute main matches 08..14 run function clock:h_"$a"_m_08_14" >> "h_"$a"_m_00_14.mcfunction"
  11. done
  12. for((a=0;a<=23;a++)); do
  13. touch "h_"$a"_m_00_07.mcfunction"
  14. echo "execute if score #minute main matches 00..03 run function clock:h_"$a"_m_00_03" >> "h_"$a"_m_00_07.mcfunction"
  15. echo "execute if score #minute main matches 04..07 run function clock:h_"$a"_m_04_07" >> "h_"$a"_m_00_07.mcfunction"
  16. done
  17. for((a=0;a<=23;a++)); do
  18. touch "h_"$a"_m_00_03.mcfunction"
  19. echo "execute if score #minute main matches 00..01 run function clock:h_"$a"_m_00_01" >> "h_"$a"_m_00_03.mcfunction"
  20. echo "execute if score #minute main matches 02..03 run function clock:h_"$a"_m_02_03" >> "h_"$a"_m_00_03.mcfunction"
  21. done
  22. for((a=0;a<=23;a++)); do
  23. touch "h_"$a"_m_00_01.mcfunction"
  24. echo "execute if score #minute main matches 00 run scoreboard objectives modify main displayname {\"text\":\""$a":00\"}" >> "h_"$a"_m_00_01.mcfunction"
  25. echo "execute if score #minute main matches 01 run scoreboard objectives modify main displayname {\"text\":\""$a":01\"}" >> "h_"$a"_m_00_01.mcfunction"
  26. done
  27. for((a=0;a<=23;a++)); do
  28. touch "h_"$a"_m_02_03.mcfunction"
  29. echo "execute if score #minute main matches 02 run scoreboard objectives modify main displayname {\"text\":\""$a":02\"}" >> "h_"$a"_m_02_03.mcfunction"
  30. echo "execute if score #minute main matches 03 run scoreboard objectives modify main displayname {\"text\":\""$a":03\"}" >> "h_"$a"_m_02_03.mcfunction"
  31. done
  32. for((a=0;a<=23;a++)); do
  33. touch "h_"$a"_m_04_07.mcfunction"
  34. echo "execute if score #minute main matches 04..05 run function clock:h_"$a"_m_04_05" >> "h_"$a"_m_04_07.mcfunction"
  35. echo "execute if score #minute main matches 06..07 run function clock:h_"$a"_m_06_07" >> "h_"$a"_m_04_07.mcfunction"
  36. done
  37. for((a=0;a<=23;a++)); do
  38. touch "h_"$a"_m_04_05.mcfunction"
  39. echo "execute if score #minute main matches 04 run scoreboard objectives modify main displayname {\"text\":\""$a":04\"}" >> "h_"$a"_m_04_05.mcfunction"
  40. echo "execute if score #minute main matches 05 run scoreboard objectives modify main displayname {\"text\":\""$a":05\"}" >> "h_"$a"_m_04_05.mcfunction"
  41. done
  42. for((a=0;a<=23;a++)); do
  43. touch "h_"$a"_m_06_07.mcfunction"
  44. echo "execute if score #minute main matches 06 run scoreboard objectives modify main displayname {\"text\":\""$a":06\"}" >> "h_"$a"_m_06_07.mcfunction"
  45. echo "execute if score #minute main matches 07 run scoreboard objectives modify main displayname {\"text\":\""$a":07\"}" >> "h_"$a"_m_06_07.mcfunction"
  46. done
  47. for((a=0;a<=23;a++)); do
  48. touch "h_"$a"_m_08_14.mcfunction"
  49. echo "execute if score #minute main matches 08..11 run function clock:h_"$a"_m_08_11" >> "h_"$a"_m_08_14.mcfunction"
  50. echo "execute if score #minute main matches 12..14 run function clock:h_"$a"_m_12_14" >> "h_"$a"_m_08_14.mcfunction"
  51. done
  52. for((a=0;a<=23;a++)); do
  53. touch "h_"$a"_m_08_11.mcfunction"
  54. echo "execute if score #minute main matches 08..09 run function clock:h_"$a"_m_08_09" >> "h_"$a"_m_08_11.mcfunction"
  55. echo "execute if score #minute main matches 10..11 run function clock:h_"$a"_m_10_11" >> "h_"$a"_m_08_11.mcfunction"
  56. done
  57. for((a=0;a<=23;a++)); do
  58. touch "h_"$a"_m_08_09.mcfunction"
  59. echo "execute if score #minute main matches 08 run scoreboard objectives modify main displayname {\"text\":\""$a":08\"}" >> "h_"$a"_m_08_09.mcfunction"
  60. echo "execute if score #minute main matches 09 run scoreboard objectives modify main displayname {\"text\":\""$a":09\"}" >> "h_"$a"_m_08_09.mcfunction"
  61. done
  62. for((a=0;a<=23;a++)); do
  63. touch "h_"$a"_m_10_11.mcfunction"
  64. echo "execute if score #minute main matches 10 run scoreboard objectives modify main displayname {\"text\":\""$a":10\"}" >> "h_"$a"_m_10_11.mcfunction"
  65. echo "execute if score #minute main matches 11 run scoreboard objectives modify main displayname {\"text\":\""$a":11\"}" >> "h_"$a"_m_10_11.mcfunction"
  66. done
  67. for((a=0;a<=23;a++)); do
  68. touch "h_"$a"_m_12_14.mcfunction"
  69. echo "execute if score #minute main matches 12..13 run function clock:h_"$a"_m_12_13" >> "h_"$a"_m_12_14.mcfunction"
  70. echo "execute if score #minute main matches 14 run scoreboard objectives modify main displayname {\"text\":\""$a":14\"}" >> "h_"$a"_m_12_14.mcfunction"
  71. done
  72. for((a=0;a<=23;a++)); do
  73. touch "h_"$a"_m_12_13.mcfunction"
  74. echo "execute if score #minute main matches 12 run scoreboard objectives modify main displayname {\"text\":\""$a":12\"}" >> "h_"$a"_m_12_13.mcfunction"
  75. echo "execute if score #minute main matches 13 run scoreboard objectives modify main displayname {\"text\":\""$a":13\"}" >> "h_"$a"_m_12_13.mcfunction"
  76. done
  77. for((a=0;a<=23;a++)); do
  78. touch "h_"$a"_m_15_29.mcfunction"
  79. echo "execute if score #minute main matches 15..22 run function clock:h_"$a"_m_15_22" >> "h_"$a"_m_15_29.mcfunction"
  80. echo "execute if score #minute main matches 23..29 run function clock:h_"$a"_m_23_29" >> "h_"$a"_m_15_29.mcfunction"
  81. done
  82. for((a=0;a<=23;a++)); do
  83. touch "h_"$a"_m_15_22.mcfunction"
  84. echo "execute if score #minute main matches 15..18 run function clock:h_"$a"_m_15_18" >> "h_"$a"_m_15_22.mcfunction"
  85. echo "execute if score #minute main matches 19..22 run function clock:h_"$a"_m_19_22" >> "h_"$a"_m_15_22.mcfunction"
  86. done
  87. for((a=0;a<=23;a++)); do
  88. touch "h_"$a"_m_15_18.mcfunction"
  89. echo "execute if score #minute main matches 15..16 run function clock:h_"$a"_m_15_16" >> "h_"$a"_m_15_18.mcfunction"
  90. echo "execute if score #minute main matches 17..18 run function clock:h_"$a"_m_17_18" >> "h_"$a"_m_15_18.mcfunction"
  91. done
  92. for((a=0;a<=23;a++)); do
  93. touch "h_"$a"_m_15_16.mcfunction"
  94. echo "execute if score #minute main matches 15 run scoreboard objectives modify main displayname {\"text\":\""$a":15\"}" >> "h_"$a"_m_15_16.mcfunction"
  95. echo "execute if score #minute main matches 16 run scoreboard objectives modify main displayname {\"text\":\""$a":16\"}" >> "h_"$a"_m_15_16.mcfunction"
  96. done
  97. for((a=0;a<=23;a++)); do
  98. touch "h_"$a"_m_17_18.mcfunction"
  99. echo "execute if score #minute main matches 17 run scoreboard objectives modify main displayname {\"text\":\""$a":17\"}" >> "h_"$a"_m_17_18.mcfunction"
  100. echo "execute if score #minute main matches 18 run scoreboard objectives modify main displayname {\"text\":\""$a":18\"}" >> "h_"$a"_m_17_18.mcfunction"
  101. done
  102. for((a=0;a<=23;a++)); do
  103. touch "h_"$a"_m_19_22.mcfunction"
  104. echo "execute if score #minute main matches 19..20 run function clock:h_"$a"_m_19_20" >> "h_"$a"_m_19_22.mcfunction"
  105. echo "execute if score #minute main matches 21..22 run function clock:h_"$a"_m_21_22" >> "h_"$a"_m_19_22.mcfunction"
  106. done
  107. for((a=0;a<=23;a++)); do
  108. touch "h_"$a"_m_19_20.mcfunction"
  109. echo "execute if score #minute main matches 19 run scoreboard objectives modify main displayname {\"text\":\""$a":19\"}" >> "h_"$a"_m_19_20.mcfunction"
  110. echo "execute if score #minute main matches 20 run scoreboard objectives modify main displayname {\"text\":\""$a":20\"}" >> "h_"$a"_m_19_20.mcfunction"
  111. done
  112. for((a=0;a<=23;a++)); do
  113. touch "h_"$a"_m_21_22.mcfunction"
  114. echo "execute if score #minute main matches 21 run scoreboard objectives modify main displayname {\"text\":\""$a":21\"}" >> "h_"$a"_m_21_22.mcfunction"
  115. echo "execute if score #minute main matches 22 run scoreboard objectives modify main displayname {\"text\":\""$a":22\"}" >> "h_"$a"_m_21_22.mcfunction"
  116. done
  117. for((a=0;a<=23;a++)); do
  118. touch "h_"$a"_m_23_29.mcfunction"
  119. echo "execute if score #minute main matches 23..26 run function clock:h_"$a"_m_23_26" >> "h_"$a"_m_23_29.mcfunction"
  120. echo "execute if score #minute main matches 27..29 run function clock:h_"$a"_m_27_29" >> "h_"$a"_m_23_29.mcfunction"
  121. done
  122. for((a=0;a<=23;a++)); do
  123. touch "h_"$a"_m_23_26.mcfunction"
  124. echo "execute if score #minute main matches 23..24 run function clock:h_"$a"_m_23_24" >> "h_"$a"_m_23_26.mcfunction"
  125. echo "execute if score #minute main matches 25..26 run function clock:h_"$a"_m_25_26" >> "h_"$a"_m_23_26.mcfunction"
  126. done
  127. for((a=0;a<=23;a++)); do
  128. touch "h_"$a"_m_23_24.mcfunction"
  129. echo "execute if score #minute main matches 23 run scoreboard objectives modify main displayname {\"text\":\""$a":23\"}" >> "h_"$a"_m_23_24.mcfunction"
  130. echo "execute if score #minute main matches 24 run scoreboard objectives modify main displayname {\"text\":\""$a":24\"}" >> "h_"$a"_m_23_24.mcfunction"
  131. done
  132. for((a=0;a<=23;a++)); do
  133. touch "h_"$a"_m_25_26.mcfunction"
  134. echo "execute if score #minute main matches 25 run scoreboard objectives modify main displayname {\"text\":\""$a":25\"}" >> "h_"$a"_m_25_26.mcfunction"
  135. echo "execute if score #minute main matches 26 run scoreboard objectives modify main displayname {\"text\":\""$a":26\"}" >> "h_"$a"_m_25_26.mcfunction"
  136. done
  137. for((a=0;a<=23;a++)); do
  138. touch "h_"$a"_m_27_29.mcfunction"
  139. echo "execute if score #minute main matches 27..28 run function clock:h_"$a"_m_27_28" >> "h_"$a"_m_27_29.mcfunction"
  140. echo "execute if score #minute main matches 29 run scoreboard objectives modify main displayname {\"text\":\""$a":29\"}" >> "h_"$a"_m_27_29.mcfunction"
  141. done
  142. for((a=0;a<=23;a++)); do
  143. touch "h_"$a"_m_27_28.mcfunction"
  144. echo "execute if score #minute main matches 27 run scoreboard objectives modify main displayname {\"text\":\""$a":27\"}" >> "h_"$a"_m_27_28.mcfunction"
  145. echo "execute if score #minute main matches 28 run scoreboard objectives modify main displayname {\"text\":\""$a":28\"}" >> "h_"$a"_m_27_28.mcfunction"
  146. done
  147. for((a=0;a<=23;a++)); do
  148. touch "h_"$a"_m_30_59.mcfunction"
  149. echo "execute if score #minute main matches 30..44 run function clock:h_"$a"_m_30_44" >> "h_"$a"_m_30_59.mcfunction"
  150. echo "execute if score #minute main matches 45..59 run function clock:h_"$a"_m_45_59" >> "h_"$a"_m_30_59.mcfunction"
  151. done
  152. for((a=0;a<=23;a++)); do
  153. touch "h_"$a"_m_30_44.mcfunction"
  154. echo "execute if score #minute main matches 30..37 run function clock:h_"$a"_m_30_37" >> "h_"$a"_m_30_44.mcfunction"
  155. echo "execute if score #minute main matches 38..44 run function clock:h_"$a"_m_38_44" >> "h_"$a"_m_30_44.mcfunction"
  156. done
  157. for((a=0;a<=23;a++)); do
  158. touch "h_"$a"_m_30_37.mcfunction"
  159. echo "execute if score #minute main matches 30..33 run function clock:h_"$a"_m_30_33" >> "h_"$a"_m_30_37.mcfunction"
  160. echo "execute if score #minute main matches 34..37 run function clock:h_"$a"_m_34_37" >> "h_"$a"_m_30_37.mcfunction"
  161. done
  162. for((a=0;a<=23;a++)); do
  163. touch "h_"$a"_m_30_33.mcfunction"
  164. echo "execute if score #minute main matches 30..31 run function clock:h_"$a"_m_30_31" >> "h_"$a"_m_30_33.mcfunction"
  165. echo "execute if score #minute main matches 32..33 run function clock:h_"$a"_m_32_33" >> "h_"$a"_m_30_33.mcfunction"
  166. done
  167. for((a=0;a<=23;a++)); do
  168. touch "h_"$a"_m_30_31.mcfunction"
  169. echo "execute if score #minute main matches 30 run scoreboard objectives modify main displayname {\"text\":\""$a":30\"}" >> "h_"$a"_m_30_31.mcfunction"
  170. echo "execute if score #minute main matches 31 run scoreboard objectives modify main displayname {\"text\":\""$a":31\"}" >> "h_"$a"_m_30_31.mcfunction"
  171. done
  172. for((a=0;a<=23;a++)); do
  173. touch "h_"$a"_m_32_33.mcfunction"
  174. echo "execute if score #minute main matches 32 run scoreboard objectives modify main displayname {\"text\":\""$a":32\"}" >> "h_"$a"_m_32_33.mcfunction"
  175. echo "execute if score #minute main matches 33 run scoreboard objectives modify main displayname {\"text\":\""$a":33\"}" >> "h_"$a"_m_32_33.mcfunction"
  176. done
  177. for((a=0;a<=23;a++)); do
  178. touch "h_"$a"_m_34_37.mcfunction"
  179. echo "execute if score #minute main matches 34..35 run function clock:h_"$a"_m_34_35" >> "h_"$a"_m_34_37.mcfunction"
  180. echo "execute if score #minute main matches 36..37 run function clock:h_"$a"_m_36_37" >> "h_"$a"_m_34_37.mcfunction"
  181. done
  182. for((a=0;a<=23;a++)); do
  183. touch "h_"$a"_m_34_35.mcfunction"
  184. echo "execute if score #minute main matches 34 run scoreboard objectives modify main displayname {\"text\":\""$a":34\"}" >> "h_"$a"_m_34_35.mcfunction"
  185. echo "execute if score #minute main matches 35 run scoreboard objectives modify main displayname {\"text\":\""$a":35\"}" >> "h_"$a"_m_34_35.mcfunction"
  186. done
  187. for((a=0;a<=23;a++)); do
  188. touch "h_"$a"_m_36_37.mcfunction"
  189. echo "execute if score #minute main matches 36 run scoreboard objectives modify main displayname {\"text\":\""$a":36\"}" >> "h_"$a"_m_36_37.mcfunction"
  190. echo "execute if score #minute main matches 37 run scoreboard objectives modify main displayname {\"text\":\""$a":37\"}" >> "h_"$a"_m_36_37.mcfunction"
  191. done
  192. for((a=0;a<=23;a++)); do
  193. touch "h_"$a"_m_38_44.mcfunction"
  194. echo "execute if score #minute main matches 38..41 run function clock:h_"$a"_m_38_41" >> "h_"$a"_m_38_44.mcfunction"
  195. echo "execute if score #minute main matches 42..44 run function clock:h_"$a"_m_42_44" >> "h_"$a"_m_38_44.mcfunction"
  196. done
  197. for((a=0;a<=23;a++)); do
  198. touch "h_"$a"_m_38_41.mcfunction"
  199. echo "execute if score #minute main matches 38..39 run function clock:h_"$a"_m_38_39" >> "h_"$a"_m_38_41.mcfunction"
  200. echo "execute if score #minute main matches 40..41 run function clock:h_"$a"_m_40_41" >> "h_"$a"_m_38_41.mcfunction"
  201. done
  202. for((a=0;a<=23;a++)); do
  203. touch "h_"$a"_m_38_39.mcfunction"
  204. echo "execute if score #minute main matches 38 run scoreboard objectives modify main displayname {\"text\":\""$a":38\"}" >> "h_"$a"_m_38_39.mcfunction"
  205. echo "execute if score #minute main matches 39 run scoreboard objectives modify main displayname {\"text\":\""$a":39\"}" >> "h_"$a"_m_38_39.mcfunction"
  206. done
  207. for((a=0;a<=23;a++)); do
  208. touch "h_"$a"_m_40_41.mcfunction"
  209. echo "execute if score #minute main matches 40 run scoreboard objectives modify main displayname {\"text\":\""$a":40\"}" >> "h_"$a"_m_40_41.mcfunction"
  210. echo "execute if score #minute main matches 41 run scoreboard objectives modify main displayname {\"text\":\""$a":41\"}" >> "h_"$a"_m_40_41.mcfunction"
  211. done
  212. for((a=0;a<=23;a++)); do
  213. touch "h_"$a"_m_42_44.mcfunction"
  214. echo "execute if score #minute main matches 42..43 run function clock:h_"$a"_m_42_43" >> "h_"$a"_m_42_44.mcfunction"
  215. echo "execute if score #minute main matches 44 run scoreboard objectives modify main displayname {\"text\":\""$a":44\"}" >> "h_"$a"_m_42_44.mcfunction"
  216. done
  217. for((a=0;a<=23;a++)); do
  218. touch "h_"$a"_m_42_43.mcfunction"
  219. echo "execute if score #minute main matches 42 run scoreboard objectives modify main displayname {\"text\":\""$a":42\"}" >> "h_"$a"_m_42_43.mcfunction"
  220. echo "execute if score #minute main matches 43 run scoreboard objectives modify main displayname {\"text\":\""$a":43\"}" >> "h_"$a"_m_42_43.mcfunction"
  221. done
  222. for((a=0;a<=23;a++)); do
  223. touch "h_"$a"_m_45_59.mcfunction"
  224. echo "execute if score #minute main matches 45..52 run function clock:h_"$a"_m_45_52" >> "h_"$a"_m_45_59.mcfunction"
  225. echo "execute if score #minute main matches 53..59 run function clock:h_"$a"_m_53_59" >> "h_"$a"_m_45_59.mcfunction"
  226. done
  227. for((a=0;a<=23;a++)); do
  228. touch "h_"$a"_m_45_52.mcfunction"
  229. echo "execute if score #minute main matches 45..48 run function clock:h_"$a"_m_45_48" >> "h_"$a"_m_45_52.mcfunction"
  230. echo "execute if score #minute main matches 49..52 run function clock:h_"$a"_m_49_52" >> "h_"$a"_m_45_52.mcfunction"
  231. done
  232. for((a=0;a<=23;a++)); do
  233. touch "h_"$a"_m_45_48.mcfunction"
  234. echo "execute if score #minute main matches 45..46 run function clock:h_"$a"_m_45_46" >> "h_"$a"_m_45_48.mcfunction"
  235. echo "execute if score #minute main matches 47..48 run function clock:h_"$a"_m_47_48" >> "h_"$a"_m_45_48.mcfunction"
  236. done
  237. for((a=0;a<=23;a++)); do
  238. touch "h_"$a"_m_45_46.mcfunction"
  239. echo "execute if score #minute main matches 45 run scoreboard objectives modify main displayname {\"text\":\""$a":45\"}" >> "h_"$a"_m_45_46.mcfunction"
  240. echo "execute if score #minute main matches 46 run scoreboard objectives modify main displayname {\"text\":\""$a":46\"}" >> "h_"$a"_m_45_46.mcfunction"
  241. done
  242. for((a=0;a<=23;a++)); do
  243. touch "h_"$a"_m_47_48.mcfunction"
  244. echo "execute if score #minute main matches 47 run scoreboard objectives modify main displayname {\"text\":\""$a":47\"}" >> "h_"$a"_m_47_48.mcfunction"
  245. echo "execute if score #minute main matches 48 run scoreboard objectives modify main displayname {\"text\":\""$a":48\"}" >> "h_"$a"_m_47_48.mcfunction"
  246. done
  247. for((a=0;a<=23;a++)); do
  248. touch "h_"$a"_m_49_52.mcfunction"
  249. echo "execute if score #minute main matches 49..50 run function clock:h_"$a"_m_49_50" >> "h_"$a"_m_49_52.mcfunction"
  250. echo "execute if score #minute main matches 51..52 run function clock:h_"$a"_m_51_52" >> "h_"$a"_m_49_52.mcfunction"
  251. done
  252. for((a=0;a<=23;a++)); do
  253. touch "h_"$a"_m_49_50.mcfunction"
  254. echo "execute if score #minute main matches 49 run scoreboard objectives modify main displayname {\"text\":\""$a":49\"}" >> "h_"$a"_m_49_50.mcfunction"
  255. echo "execute if score #minute main matches 50 run scoreboard objectives modify main displayname {\"text\":\""$a":50\"}" >> "h_"$a"_m_49_50.mcfunction"
  256. done
  257. for((a=0;a<=23;a++)); do
  258. touch "h_"$a"_m_51_52.mcfunction"
  259. echo "execute if score #minute main matches 51 run scoreboard objectives modify main displayname {\"text\":\""$a":51\"}" >> "h_"$a"_m_51_52.mcfunction"
  260. echo "execute if score #minute main matches 52 run scoreboard objectives modify main displayname {\"text\":\""$a":52\"}" >> "h_"$a"_m_51_52.mcfunction"
  261. done
  262. for((a=0;a<=23;a++)); do
  263. touch "h_"$a"_m_53_59.mcfunction"
  264. echo "execute if score #minute main matches 53..56 run function clock:h_"$a"_m_53_56" >> "h_"$a"_m_53_59.mcfunction"
  265. echo "execute if score #minute main matches 57..59 run function clock:h_"$a"_m_57_59" >> "h_"$a"_m_53_59.mcfunction"
  266. done
  267. for((a=0;a<=23;a++)); do
  268. touch "h_"$a"_m_53_56.mcfunction"
  269. echo "execute if score #minute main matches 53..54 run function clock:h_"$a"_m_53_54" >> "h_"$a"_m_53_56.mcfunction"
  270. echo "execute if score #minute main matches 55..56 run function clock:h_"$a"_m_55_56" >> "h_"$a"_m_53_56.mcfunction"
  271. done
  272. for((a=0;a<=23;a++)); do
  273. touch "h_"$a"_m_53_54.mcfunction"
  274. echo "execute if score #minute main matches 53 run scoreboard objectives modify main displayname {\"text\":\""$a":53\"}" >> "h_"$a"_m_53_54.mcfunction"
  275. echo "execute if score #minute main matches 54 run scoreboard objectives modify main displayname {\"text\":\""$a":54\"}" >> "h_"$a"_m_53_54.mcfunction"
  276. done
  277. for((a=0;a<=23;a++)); do
  278. touch "h_"$a"_m_55_56.mcfunction"
  279. echo "execute if score #minute main matches 55 run scoreboard objectives modify main displayname {\"text\":\""$a":55\"}" >> "h_"$a"_m_55_56.mcfunction"
  280. echo "execute if score #minute main matches 56 run scoreboard objectives modify main displayname {\"text\":\""$a":56\"}" >> "h_"$a"_m_55_56.mcfunction"
  281. done
  282. for((a=0;a<=23;a++)); do
  283. touch "h_"$a"_m_57_59.mcfunction"
  284. echo "execute if score #minute main matches 57..58 run function clock:h_"$a"_m_57_58" >> "h_"$a"_m_57_59.mcfunction"
  285. echo "execute if score #minute main matches 59 run scoreboard objectives modify main displayname {\"text\":\""$a":59\"}" >> "h_"$a"_m_57_59.mcfunction"
  286. done
  287. for((a=0;a<=23;a++)); do
  288. touch "h_"$a"_m_57_58.mcfunction"
  289. echo "execute if score #minute main matches 57 run scoreboard objectives modify main displayname {\"text\":\""$a":57\"}" >> "h_"$a"_m_57_58.mcfunction"
  290. echo "execute if score #minute main matches 58 run scoreboard objectives modify main displayname {\"text\":\""$a":58\"}" >> "h_"$a"_m_57_58.mcfunction"
  291. done
Add Comment
Please, Sign In to add comment