Advertisement
taktie0304

Untitled

Jun 1st, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.26 KB | None | 0 0
  1. command /sell [<text>] [<text>] [<offline player>]:
  2. permission: skript.sell
  3. trigger:
  4. if arg 1 is "stone":
  5. if arg 2 is "one":
  6. if arg 3 have 1 cobblestone:
  7. remove 1 cobblestone from arg-3
  8. add 1 to {coin.%uuid of arg 3%}
  9. send "&a丸石を1個売却し、1コイン手に入れました" to arg 3
  10. else:
  11. send "&c丸石が足りません" to arg 3
  12. if arg 2 is "eight":
  13. if arg 3 have 8 cobblestone:
  14. remove 8 cobblestone from arg 3
  15. add 8 to {coin.%uuid of arg 3%}
  16. send "&a丸石を8個売却し、8コイン手に入れました" to arg 3
  17. else:
  18. send "&c丸石が足りません" to arg 3
  19. if arg 2 is "thirtytwo":
  20. if arg 3 have 32 cobblestone:
  21. remove 32 cobblestone from arg 3
  22. add 32 to {coin.%uuid of arg 3%}
  23. send "&a丸石を32個売却し、32コイン手に入れました" to arg 3
  24. else:
  25. send "&c丸石が足りません" to arg 3
  26. if arg 2 is "sixtyfour":
  27. if arg 3 have 64 cobblestone:
  28. remove 64 cobblestone from arg 3
  29. add 64 to {coin.%uuid of arg 3%}
  30. send "&a丸石を64個売却し、64コイン手に入れました" to arg 3
  31. else:
  32. send "&c丸石が足りません" to arg 3
  33. if arg 1 is "coal":
  34. if arg 2 is "one":
  35. if arg 3 have 1 coal:
  36. remove 1 coal from arg 3
  37. add 5 to {coin.%uuid of arg 3%}
  38. send "&a石炭を1個売却し、5コイン手に入れました" to arg 3
  39. else:
  40. send "&c石炭が足りません" to arg 3
  41. if arg 2 is "eight":
  42. if arg 3 have 8 coal:
  43. remove 8 coal from arg 3
  44. add 40 to {coin.%uuid of arg 3%}
  45. send "&a石炭を8個売却し、40コイン手に入れました" to arg 3
  46. else:
  47. send "&c石炭が足りません" to arg 3
  48. if arg 2 is "thirtytwo":
  49. if arg 3 have 32 coal:
  50. remove 32 coal from arg 3
  51. add 160 to {coin.%uuid of arg 3%}
  52. send "&a石炭を32個売却し、160コイン手に入れました" to arg 3
  53. else:
  54. send "&c石炭が足りません" to arg 3
  55. if arg 2 is "sixtyfour":
  56. if arg 3 have 64 coal:
  57. remove 64 coal from arg 3
  58. add 320 to {coin.%uuid of arg 3%}
  59. send "&a石炭を64個売却し、320コイン手に入れました" to arg 3
  60. else:
  61. send "&c石炭が足りません" to arg 3
  62. if arg 1 is "coalblock":
  63. if arg 2 is "one":
  64. if arg 3 have 1 coal block:
  65. remove 1 coal block from arg 3
  66. add 45 to {coin.%uuid of arg 3%}
  67. send "&a石炭ブロックを1個売却し、45コイン手に入れました" to arg 3
  68. else:
  69. send "&c石炭ブロックが足りません" to arg 3
  70. if arg 2 is "eight":
  71. if arg 3 have 8 coal block:
  72. remove 8 coal block from arg 3
  73. add 360 to {coin.%uuid of arg 3%}
  74. send "&a石炭ブロックを8個売却し、360コイン手に入れました" to arg 3
  75. else:
  76. send "&c石炭ブロックが足りません" to arg 3
  77. if arg 2 is "thirtytwo":
  78. if arg 3 have 32 coal block:
  79. remove 32 coal block from arg 3
  80. add 1440 to {coin.%uuid of arg 3%}
  81. send "&a石炭ブロックを32個売却し、1440コイン手に入れました" to arg 3
  82. else:
  83. send "&c石炭ブロックが足りません" to arg 3
  84. if arg 2 is "sixtyfour":
  85. if arg 3 have 64 coal block:
  86. remove 64 coal block from arg 3
  87. add 2880 to {coin.%uuid of arg 3%}
  88. send "&a石炭ブロックを64個売却し、2880コイン手に入れました" to arg 3
  89. else:
  90. send "&c石炭ブロックが足りません" to arg 3
  91. if arg 1 is "iron":
  92. if arg 2 is "one":
  93. if arg 3 have 1 iron ingot:
  94. remove 1 iron ingot from arg 3
  95. add 45 to {coin.%uuid of arg 3%}
  96. send "&a鉄を1個売却し、45コイン手に入れました" to arg 3
  97. else:
  98. send "&c鉄が足りません" to arg 3
  99. if arg 2 is "eight":
  100. if arg 3 have 8 iron ingot:
  101. remove 8 iron ingot from arg 3
  102. add 360 to {coin.%uuid of arg 3%}
  103. send "&a鉄を8個売却し、360コイン手に入れました" to arg 3
  104. else:
  105. send "&c鉄が足りません" to arg 3
  106. if arg 2 is "thirtytwo":
  107. if arg 3 have 32 iron ingot:
  108. remove 32 iron ingot from arg 3
  109. add 1440 to {coin.%uuid of arg 3%}
  110. send "&a鉄を32個売却し、1440コイン手に入れました" to arg 3
  111. else:
  112. send "&c鉄が足りません" to arg 3
  113. if arg 2 is "sixtyfour":
  114. if arg 3 have 64 iron ingot:
  115. remove 64 iron ingot from arg 3
  116. add 2880 to {coin.%uuid of arg 3%}
  117. send "&a鉄を64個売却し、2880コイン手に入れました" to arg 3
  118. else:
  119. send "&c鉄が足りません" to arg 3
  120. if arg 1 is "ironblock":
  121. if arg 2 is "one":
  122. if arg 3 have 1 iron block:
  123. remove 1 iron block from arg 3
  124. add 180 to {coin.%uuid of arg 3%}
  125. send "&a鉄ブロックを1個売却し、180コイン手に入れました" to arg 3
  126. else:
  127. send "&c鉄ブロックが足りません" to arg 3
  128. if arg 2 is "eight":
  129. if arg 3 have 8 iron block:
  130. remove 8 iron block from arg 3
  131. add 1440 to {coin.%uuid of arg 3%}
  132. send "&a鉄ブロックを8個売却し、1440コイン手に入れました" to arg 3
  133. else:
  134. send "&c鉄ブロックが足りません" to arg 3
  135. if arg 2 is "thirtytwo":
  136. if arg 3 have 32 iron block:
  137. remove 32 iron block from arg 3
  138. add 5760 to {coin.%uuid of arg 3%}
  139. send "&a鉄ブロックを32個売却し、5760コイン手に入れました" to arg 3
  140. else:
  141. send "&c鉄ブロックが足りません" to arg 3
  142. if arg 2 is "sixtyfour":
  143. if arg 3 have 64 iron block:
  144. remove 64 iron block from arg 3
  145. add 11520 to {coin.%uuid of arg 3%}
  146. send "&a鉄ブロックを64個売却し、11520コイン手に入れました" to arg 3
  147. else:
  148. send "&c鉄ブロックが足りません" to arg 3
  149. if arg 1 is "gold":
  150. if arg 2 is "one":
  151. if arg 3 have 1 gold ingot:
  152. remove 1 gold ingot from arg 3
  153. add 80 to {coin.%uuid of arg 3%}
  154. send "&a金を1個売却し、80コイン手に入れました" to arg 3
  155. else:
  156. send "&c金が足りません" to arg 3
  157. if arg 2 is "eight":
  158. if arg 3 have 8 gold ingot:
  159. remove 8 gold ingot from arg 3
  160. add 640 to {coin.%uuid of arg 3%}
  161. send "&a金を8個売却し、640コイン手に入れました" to arg 3
  162. else:
  163. send "&c金が足りません" to arg 3
  164. if arg 2 is "thirtytwo":
  165. if arg 3 have 32 gold ingot:
  166. remove 32 gold ingot from arg 3
  167. add 2560 to {coin.%uuid of arg 3%}
  168. send "&a金を32個売却し、2560コイン手に入れました" to arg 3
  169. else:
  170. send "&c金が足りません" to arg 3
  171. if arg 2 is "sixtyfour":
  172. if arg 3 have 64 gold ingot:
  173. remove 64 gold ingot from arg 3
  174. add 5120 to {coin.%uuid of arg 3%}
  175. send "&a金を64個売却し、5120コイン手に入れました" to arg 3
  176. else:
  177. send "&c金が足りません" to arg 3
  178. if arg 1 is "goldblock":
  179. if arg 2 is "one":
  180. if arg 3 have 1 gold block:
  181. remove 1 gold block from arg 3
  182. add 720 to {coin.%uuid of arg 3%}
  183. send "&a金ブロックを1個売却し、720コイン手に入れました" to arg 3
  184. else:
  185. send "&c金ブロックが足りません" to arg 3
  186. if arg 2 is "eight":
  187. if arg 3 have 8 gold block:
  188. remove 8 gold block from arg 3
  189. add 5760 to {coin.%uuid of arg 3%}
  190. send "&a金ブロックを8個売却し、5760コイン手に入れました" to arg 3
  191. else:
  192. send "&c金ブロックが足りません" to arg 3
  193. if arg 2 is "thirtytwo":
  194. if arg 3 have 32 gold block:
  195. remove 32 gold block from arg 3
  196. add 23040 to {coin.%uuid of arg 3%}
  197. send "&a金ブロックを32個売却し、23040コイン手に入れました" to arg 3
  198. else:
  199. send "&c金ブロックが足りません" to arg 3
  200. if arg 2 is "sixtyfour":
  201. if arg 3 have 64 gold block:
  202. remove 64 gold block from arg 3
  203. add 46080 to {coin.%uuid of arg 3%}
  204. send "&a金ブロックを64個売却し、46080コイン手に入れました" to arg 3
  205. else:
  206. send "&c金ブロックが足りません" to arg 3
  207. if arg 1 is "diamond":
  208. if arg 2 is "one":
  209. if arg 3 have 1 diamond:
  210. remove 1 diamond from arg 3
  211. add 320 to {coin.%uuid of arg 3%}
  212. send "&aダイヤモンドを1個売却し、320コイン手に入れました" to arg 3
  213. else:
  214. send "&cダイヤモンドが足りません" to arg 3
  215. if arg 2 is "eight":
  216. if arg 3 have 8 diamond:
  217. remove 8 diamond from arg 3
  218. add 2560 to {coin.%uuid of arg 3%}
  219. send "&aダイヤモンドを8個売却し、2560コイン手に入れました" to arg 3
  220. else:
  221. send "&cダイヤモンドが足りません" to arg 3
  222. if arg 2 is "thirtytwo":
  223. if arg 3 have 32 diamond:
  224. remove 32 diamond from arg 3
  225. add 10240 to {coin.%uuid of arg 3%}
  226. send "&aダイヤモンドを32個売却し、10240コイン手に入れました" to arg 3
  227. else:
  228. send "&cダイヤモンドが足りません" to arg 3
  229. if arg 2 is "sixtyfour":
  230. if arg 3 have 64 diamond:
  231. remove 64 diamond from arg 3
  232. add 20480 to {coin.%uuid of arg 3%}
  233. send "&aダイヤモンドを64個売却し、20480コイン手に入れました" to arg 3
  234. else:
  235. send "&cダイヤモンドが足りません" to arg 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement