dodoz012609

Herhor

Feb 4th, 2015
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.51 KB | None | 0 0
  1. command /arena [<text>]:
  2. trigger:
  3. if arg 1 is "1":
  4. if block above player is air:
  5. set {blokn.1} to location at block above player
  6. send "ok"
  7. stop
  8. send "Blok nad toba musi byc powietrzem"
  9. if arg 1 is "2":
  10. if block above player is air:
  11. set {blokn.2} to location at block above player
  12. send "ok"
  13. stop
  14. send "Blok nad toba musi byc powietrzem"
  15. if arg 1 is "3":
  16. if block above player is air:
  17. set {blokn.3} to location at block above player
  18. send "ok"
  19. stop
  20. send "Blok nad toba musi byc powietrzem"
  21. if arg 1 is "4":
  22. if block above player is air:
  23. set {blokn.4} to location at block above player
  24. send "ok"
  25. stop
  26. send "Blok nad toba musi byc powietrzem"
  27. if arg 1 is "5":
  28. if block above player is air:
  29. set {blokn.5} to location at block above player
  30. send "ok"
  31. stop
  32. send "Blok nad toba musi byc powietrzem"
  33. if arg 1 is "6":
  34. if block above player is air:
  35. set {blokn.6} to location at block above player
  36. send "ok"
  37. stop
  38. send "Blok nad toba musi byc powietrzem"
  39. if arg 1 is "7":
  40. if block above player is air:
  41. set {blokn.7} to location at block above player
  42. send "ok"
  43. stop
  44. send "Blok nad toba musi byc powietrzem"
  45. if arg 1 is "8":
  46. if block above player is air:
  47. set {blokn.8} to location at block above player
  48. send "ok"
  49. stop
  50. send "Blok nad toba musi byc powietrzem"
  51. if arg 1 is "9":
  52. if block above player is air:
  53. set {blokn.9} to location at block above player
  54. send "ok"
  55. stop
  56. send "Blok nad toba musi byc powietrzem"
  57. if arg 1 is "10":
  58. if block above player is air:
  59. set {blokn.10} to location at block above player
  60. send "ok"
  61. stop
  62. send "Blok nad toba musi byc powietrzem"
  63. if arg 1 is "11":
  64. if block above player is air:
  65. set {blokn.11} to location at block above player
  66. send "ok"
  67. stop
  68. send "Blok nad toba musi byc powietrzem"
  69. if arg 1 is "12":
  70. if block above player is air:
  71. set {blokn.12} to location at block above player
  72. send "ok"
  73. stop
  74. send "Blok nad toba musi byc powietrzem"
  75. command /start:
  76. trigger:
  77. send "Przygotuj sie! Startujemy za:"
  78. send "5"
  79. wait 1 seconds
  80. send "4"
  81. wait 1 seconds
  82. send "3"
  83. wait 1 seconds
  84. send "2"
  85. wait 1 seconds
  86. send "1"
  87. wait 1 seconds
  88. loop 12 times:
  89. set {wybor} to random integer between 1 and 12
  90. if {wybor} is 1:
  91. set block at {blokn.1} to stone
  92. if {wybor} is 2:
  93. set block at {blokn.2} to stone
  94. if {wybor} is 3:
  95. set block at {blokn.3} to stone
  96. if {wybor} is 4:
  97. set block at {blokn.4} to stone
  98. if {wybor} is 5:
  99. set block at {blokn.5} to stone
  100. if {wybor} is 6:
  101. set block at {blokn.6} to stone
  102. if {wybor} is 7:
  103. set block at {blokn.7} to stone
  104. if {wybor} is 8:
  105. set block at {blokn.8} to stone
  106. if {wybor} is 9:
  107. set block at {blokn.9} to stone
  108. if {wybor} is 10:
  109. set block at {blokn.10} to stone
  110. if {wybor} is 11:
  111. set block at {blokn.11} to stone
  112. if {wybor} is 12:
  113. set block at {blokn.12} to stone
  114. wait 1 seconds
  115. set block at {blokn.1} to air
  116. set block at {blokn.2} to air
  117. set block at {blokn.3} to air
  118. set block at {blokn.4} to air
  119. set block at {blokn.5} to air
  120. set block at {blokn.6} to air
  121. set block at {blokn.7} to air
  122. set block at {blokn.8} to air
  123. set block at {blokn.9} to air
  124. set block at {blokn.10} to air
  125. set block at {blokn.11} to air
  126. set block at {blokn.12} to air
Advertisement
Add Comment
Please, Sign In to add comment