Advertisement
mrkeith782

Untitled

Apr 18th, 2014
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.14 KB | None | 0 0
  1. command /block <text>:
  2. permission: tps.block
  3. usage: /block <block/*> or /bl <block/*>
  4. aliases: /bl
  5. trigger:
  6. arg is "*":
  7. send "<gray>Due to spam filters, this will take approximatly 30 seconds for this to execute."
  8. player has 9 emeralds:
  9. execute player command "/bl e"
  10. wait 3 seconds
  11. player has 4 337:
  12. execute player command "/bl c"
  13. wait 3 seconds
  14. player has 4 snowballs:
  15. execute player command "/bl s"
  16. wait 3 seconds
  17. player has 4 quartz:
  18. execute player command "/bl q"
  19. wait 3 seconds
  20. player has 9 iron ingots:
  21. execute player command "/bl i"
  22. wait 3 seconds
  23. player has 9 diamonds:
  24. execute player command "/bl d"
  25. wait 3 seconds
  26. player has 9 redstone:
  27. execute player command "/bl r"
  28. wait 3 seconds
  29. player has 9 263:
  30. execute player command "/bl cl"
  31. wait 3 seconds
  32. player has 9 lapis:
  33. execute player command "/bl l"
  34. wait 3 seconds
  35. player has 4 glowstone dust:
  36. execute player command "/bl gs"
  37. wait 3 seconds
  38. player has 4 gold ingots:
  39. execute player command "/bl g"
  40. wait 3 seconds
  41. wait 3 seconds
  42. arg is "emerald" or "e":
  43. player does not have 9 emeralds:
  44. send "<red>You need more materials!"
  45. stop trigger
  46. loop 1000 times:
  47. player has 9 emeralds:
  48. remove 9 emeralds from player
  49. give player 1 emerald block
  50. set {_temp} to {_temp}+1
  51. set {_temp2} to {_temp}*9
  52. send "<gray>You traded <green>%{_temp2}% emeralds <gray>for <green>%{_temp}% emerald <gray>blocks!"
  53. arg is "iron" or "i":
  54. player does not have 9 iron ingots:
  55. send "<red>You need more materials!"
  56. stop trigger
  57. loop 1000 times:
  58. player has 9 iron ingots:
  59. remove 9 iron ingots from player
  60. give player 1 iron block
  61. set {_temp} to {_temp}+1
  62. set {_temp2} to {_temp}*9
  63. send "<gray>You traded %{_temp2}% iron ingots for %{_temp}% iron blocks!"
  64. arg is "diamond" or "d":
  65. player does not have 9 diamonds:
  66. send "<red>You need more materials!"
  67. stop trigger
  68. loop 1000 times:
  69. player has 9 diamonds:
  70. remove 9 diamonds from player
  71. give player 1 diamond block
  72. set {_temp} to {_temp}+1
  73. set {_temp2} to {_temp}*9
  74. send "<gray>You traded <aqua>%{_temp2}% diamonds <gray>for <aqua>%{_temp}% diamond <gray>blocks!"
  75. arg is "redstone" or "r":
  76. player does not have 9 redstone:
  77. send "<red>You need more materials!"
  78. stop trigger
  79. loop 1000 times:
  80. player has 9 redstone:
  81. remove 9 redstone from player
  82. give player 1 redstone block
  83. set {_temp} to {_temp}+1
  84. set {_temp2} to {_temp}*9
  85. send "<gray>You traded <light red>%{_temp2}% redstone <gray>for <light red>%{_temp}% redstone <gray>blocks!"
  86. arg is "lapis" or "l":
  87. player does not have 9 lapis:
  88. send "<red>You need more materials!"
  89. stop trigger
  90. loop 1000 times:
  91. player has 9 lapis:
  92. remove 9 lapis from player
  93. give player 1 lapis block
  94. set {_temp} to {_temp}+1
  95. set {_temp2} to {_temp}*9
  96. send "<gray>You traded <blue>%{_temp2}% lapis <gray>for <blue>%{_temp}% lapis <gray>blocks!"
  97. arg is "clay" or "c":
  98. player does not have 4 337:
  99. send "<red>You need more materials!"
  100. stop trigger
  101. loop 1000 times:
  102. player has 4 337:
  103. remove 4 337 from player
  104. give player 1 clay block
  105. set {_temp} to {_temp}+1
  106. set {_temp2} to {_temp}*4
  107. send "<gray>You traded %{_temp2}% clay balls for %{_temp}% clay blocks!"
  108. arg is "snow" or "s":
  109. player does not have 4 snowballs:
  110. send "<red>You need more materials!"
  111. stop trigger
  112. loop 1000 times:
  113. player has 4 snowballs:
  114. remove 4 snowballs from player
  115. give player 1 snow block
  116. set {_temp} to {_temp}+1
  117. set {_temp2} to {_temp}*4
  118. send "<gray>You traded <white>%{_temp2}% snowballs <gray>for <white>%{_temp}% snow <gray>blocks!"
  119. arg is "coal" or "cl":
  120. player does not have 9 263:
  121. send "<red>You need more materials!"
  122. stop trigger
  123. loop 1000 times:
  124. player has 9 263:
  125. remove 9 263 from player
  126. give player 1 coal block
  127. set {_temp} to {_temp}+1
  128. set {_temp2} to {_temp}*9
  129. send "<gray>You traded <black>%{_temp2}% coal <gray>for <blacK>%{_temp}% coal <gray>blocks!"
  130. arg is "gold" or "g":
  131. player does not have 9 gold ingots:
  132. send "<red>You need more materials!"
  133. stop trigger
  134. loop 1000 times:
  135. player has 9 gold ingots:
  136. remove 9 gold ingots from player
  137. give player 1 gold block
  138. set {_temp} to {_temp}+1
  139. set {_temp2} to {_temp}*9
  140. send "<gray>You traded <gold>%{_temp2}% gold ingots <gray>for <gold>%{_temp}% gold <gray>blocks!"
  141. arg is "glowstone" or "gs":
  142. player does not have 4 glowstone dust:
  143. send "<red>You need more materials!"
  144. stop trigger
  145. loop 1000 times:
  146. player has 4 glowstone dust:
  147. remove 4 glowstone dust from player
  148. give player 1 gold block
  149. set {_temp} to {_temp}+1
  150. set {_temp2} to {_temp}*4
  151. send "<gray>You traded <gold>%{_temp2}% glowstone <gray>for <gold>%{_temp}% glowstone <gray>blocks!"
  152. arg is "quartz" or "q":
  153. player does not have 4 406:
  154. send "<red>You need more materials!"
  155. stop trigger
  156. loop 1000 times:
  157. player has 4 406:
  158. remove 4 406 from player
  159. give player 1 quartz block
  160. set {_temp} to {_temp}+1
  161. set {_temp2} to {_temp}*4
  162. send "<gray>You traded <white>%{_temp2}% quartz <gray>for <white>%{_temp}% quartz <gray>blocks!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement