Advertisement
asdasrastrusuisa

check.sk (fixed x4)

Sep 22nd, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.37 KB | None | 0 0
  1. command /storebottle <integer>:
  2. permission: coins.store
  3. usage: &d/storebottle <amount> &f(You can only store coins up to 50 per book in integers of 5!)
  4. trigger:
  5. if arg-1 is greater than 50:
  6. send "&cMust be less than 50"
  7. if {coins.%player%} is greater than or equal to arg-1:
  8. if arg-1 is equal to 5:
  9. remove arg-1 from {coins.player}
  10. give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  11. send "&fYou made a check with &d%arg-1% coins on it"
  12. else:
  13. if arg-1 is greater than or equal to 10:
  14. remove arg-1 from {coins.player}
  15. give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  16. send "&fYou made a check with &d%arg-1% coins on it"
  17. else:
  18. if arg-1 is greater than or equal to 15:
  19. remove arg-1 from {coins.player}
  20. give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  21. send "&fYou made a check with &d%arg-1% coins on it"
  22. else:
  23. if arg-1 is greater than or equal to 20:
  24. remove arg-1 from {coins.player}
  25. give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  26. send "&fYou made a check with &d%arg-1% coins on it"
  27. else:
  28. if arg-1 is greater than or equal to 25:
  29. remove arg-1 from {coins.player}
  30. give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  31. send "&fYou made a check with &d%arg-1% coins on it"
  32. else:
  33. if arg-1 is greater than or equal to 30:
  34. remove arg-1 from {coins.player}
  35. give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  36. send "&fYou made a check with &d%arg-1% coins on it"
  37. else:
  38. if arg-1 is greater than or equal to 35:
  39. remove arg-1 from {coins.player}
  40. give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  41. send "&fYou made a check with &d%arg-1% coins on it"
  42. else:
  43. if arg-1 is greater than or equal to 40:
  44. remove arg-1 from {coins.player}
  45. give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  46. send "&fYou made a check with &d%arg-1% coins on it"
  47. else:
  48. if arg-1 is greater than or equal to 45:
  49. remove arg-1 from {coins.player}
  50. give player book named "&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  51. send "&fYou made a check with &d%arg-1% coins on it"
  52. else:
  53. if arg-1 is greater than or equal to 50:
  54. remove arg-1 from {coins.player}
  55. give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  56. send "&fYou made a check with &d%arg-1% coins on it"
  57. else:
  58. if arg-1 is greater than or equal to 55:
  59. remove arg-1 from {coins.player}
  60. give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  61. send "&fYou made a check with &d%arg-1% coins on it"
  62. else:
  63. if arg-1 is greater than or equal to 60:
  64. remove arg-1 from {coins.player}
  65. give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  66. send "&fYou made a check with &d%arg-1% coins on it"
  67. else:
  68. if arg-1 is greater than or equal to 65:
  69. remove arg-1 from {coins.player}
  70. give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  71. send "&fYou made a check with &d%arg-1% coins on it"
  72. else:
  73. if arg-1 is greater than or equal to 70:
  74. remove arg-1 from {coins.player}
  75. give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  76. send "&fYou made a check with &d%arg-1% coins on it"
  77. else:
  78. if arg-1 is greater than or equal to 75:
  79. remove arg-1 from {coins.player}
  80. give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  81. send "&fYou made a check with &d%arg-1% coins on it"
  82. else:
  83. if arg-1 is greater than or equal to 80:
  84. remove arg-1 from {coins.player}
  85. give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  86. send "&fYou made a check with &d%arg-1% coins on it"
  87. else:
  88. if arg-1 is greater than or equal to 85:
  89. remove arg-1 from {coins.player}
  90. give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  91. send "&fYou made a check with &d%arg-1% coins on it"
  92. else:
  93. if arg-1 is greater than or equal to 90:
  94. remove arg-1 from {coins.player}
  95. give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  96. send "&fYou made a check with &d%arg-1% coins on it"
  97. else:
  98. if arg-1 is greater than or equal to 95:
  99. remove arg-1 from {coins.player}
  100. give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  101. send "&fYou made a check with &d%arg-1% coins on it"
  102. else:
  103. if arg-1 is greater than or equal to 100:
  104. remove arg-1 from {coins.player}
  105. give player book named ""&dCheck" with lore "&fRedeem &d%arg-1%&f coins"
  106. send "&fYou made a check with &d%arg-1% coins on it"
  107.  
  108. else:
  109. send "&cYou do not have enough coins to do that, or amount you want to withdraw is not a multiple of 5!"
  110.  
  111. on right click with book:
  112. if name of player's held item contains "Check":
  113. if lore of player's held item is "5":
  114. add 5 to {coins.player}
  115. send "&dYou have deposited a check"
  116. remove 1 book from player's inventory
  117.  
  118. on right click with book:
  119. if name of player's held item contains "Check":
  120. if lore of player's held item is "10":
  121. add 10 to {coins.player}
  122. send "&dYou have deposited a check"
  123. remove 1 book from player's inventory
  124.  
  125. on right click with book:
  126. if name of player's held item contains "Check":
  127. if lore of player's held item is "15":
  128. add 15 to {coins.player}
  129. send "&dYou have deposited a check"
  130. remove 1 book from player's inventory
  131.  
  132. on right click with book:
  133. if name of player's held item contains "Check":
  134. if lore of player's held item is "20":
  135. add 20 to {coins.player}
  136. send "&dYou have deposited a check"
  137. remove 1 book from player's inventory
  138.  
  139. on right click with book:
  140. if name of player's held item contains "Check":
  141. if lore of player's held item is "25":
  142. add 25 to {coins.player}
  143. send "&dYou have deposited a check"
  144. remove 1 book from player's inventory
  145.  
  146. on right click with book:
  147. if name of player's held item contains "Check":
  148. if lore of player's held item is "30":
  149. add 30 to {coins.player}
  150. send "&dYou have deposited a check"
  151. remove 1 book from player's inventory
  152.  
  153. on right click with book:
  154. if name of player's held item contains "Check":
  155. if lore of player's held item is "35":
  156. add 35 to {coins.player}
  157. send "&dYou have deposited a check"
  158. remove 1 book from player's inventory
  159.  
  160. on right click with book:
  161. if name of player's held item contains "Check":
  162. if lore of player's held item is "40":
  163. add 40 to {coins.player}
  164. send "&dYou have deposited a check"
  165. remove 1 book from player's inventory
  166.  
  167. on right click with book:
  168. if name of player's held item contains "Check":
  169. if lore of player's held item is "45":
  170. add 45 to {coins.player}
  171. send "&dYou have deposited a check"
  172. remove 1 book from player's inventory
  173.  
  174. on right click with book:
  175. if name of player's held item contains "Check":
  176. if lore of player's held item is "50":
  177. add 50 to {coins.player}
  178. send "&dYou have deposited a check"
  179. remove 1 book from player's inventory
  180.  
  181. on right click with book:
  182. if name of player's held item contains "Check":
  183. if lore of player's held item is "55":
  184. add 5 to {coins.player}
  185. send "&dYou have deposited a check"
  186. remove 1 book from player's inventory
  187.  
  188. on right click with book:
  189. if name of player's held item contains "Check":
  190. if lore of player's held item is "60":
  191. add 5 to {coins.player}
  192. send "&dYou have deposited a check"
  193. remove 1 book from player's inventory
  194.  
  195. on right click with book:
  196. if name of player's held item contains "Check":
  197. if lore of player's held item is "65":
  198. add 5 to {coins.player}
  199. send "&dYou have deposited a check"
  200. remove 1 book from player's inventory
  201.  
  202. on right click with book:
  203. if name of player's held item contains "Check":
  204. if lore of player's held item is "70":
  205. add 5 to {coins.player}
  206. send "&dYou have deposited a check"
  207. remove 1 book from player's inventory
  208.  
  209. on right click with book:
  210. if name of player's held item contains "Check":
  211. if lore of player's held item is "75":
  212. add 5 to {coins.player}
  213. send "&dYou have deposited a check"
  214. remove 1 book from player's inventory
  215.  
  216. on right click with book:
  217. if name of player's held item contains "Check":
  218. if lore of player's held item is "80":
  219. add 5 to {coins.player}
  220. send "&dYou have deposited a check"
  221. remove 1 book from player's inventory
  222.  
  223. on right click with book:
  224. if name of player's held item contains "Check":
  225. if lore of player's held item is "85":
  226. add 5 to {coins.player}
  227. send "&dYou have deposited a check"
  228. remove 1 book from player's inventory
  229.  
  230. on right click with book:
  231. if name of player's held item contains "Check":
  232. if lore of player's held item is "90":
  233. add 5 to {coins.player}
  234. send "&dYou have deposited a check"
  235. remove 1 book from player's inventory
  236.  
  237. on right click with book:
  238. if name of player's held item contains "Check":
  239. if lore of player's held item is "95":
  240. add 5 to {coins.player}
  241. send "&dYou have deposited a check"
  242. remove 1 book from player's inventory
  243.  
  244. on right click with book:
  245. if name of player's held item contains "Check":
  246. if lore of player's held item is "100":
  247. add 5 to {coins.player}
  248. send "&dYou have deposited a check"
  249. remove 1 book from player's inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement