Advertisement
taktie0304

Untitled

Jun 9th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.12 KB | None | 0 0
  1. command /sell [<text>] [<text>] [<offline player>]:
  2. permission: skript.sell
  3. trigger:
  4. set {player} to arg 3
  5. if arg 1 is "stone":
  6. if arg 2 is "one":
  7. if arg 3 have 1 cobblestone:
  8. remove 1 cobblestone from {player}
  9. add 1 to {coin.%uuid of arg 3%}
  10. send "&a丸石を1個売却し、1コイン手に入れました" to arg 3
  11. else:
  12. send "&c丸石が足りません" to arg 3
  13. if arg 2 is "eight":
  14. if arg 3 have 8 cobblestone:
  15. remove 8 cobblestone from {player}
  16. add 8 to {coin.%uuid of arg 3%}
  17. send "&a丸石を8個売却し、8コイン手に入れました" to arg 3
  18. else:
  19. send "&c丸石が足りません" to arg 3
  20. if arg 2 is "thirtytwo":
  21. if arg 3 have 32 cobblestone:
  22. remove 32 cobblestone from {player}
  23. add 32 to {coin.%uuid of arg 3%}
  24. send "&a丸石を32個売却し、32コイン手に入れました" to arg 3
  25. else:
  26. send "&c丸石が足りません" to arg 3
  27. if arg 2 is "sixtyfour":
  28. if arg 3 have 64 cobblestone:
  29. remove 64 cobblestone from {player}
  30. add 64 to {coin.%uuid of arg 3%}
  31. send "&a丸石を64個売却し、64コイン手に入れました" to arg 3
  32. else:
  33. send "&c丸石が足りません" to arg 3
  34. if arg 1 is "coal":
  35. if arg 2 is "one":
  36. if arg 3 have 1 coal:
  37. remove 1 coal from {player}
  38. add 5 to {coin.%uuid of arg 3%}
  39. send "&a石炭を1個売却し、5コイン手に入れました" to arg 3
  40. else:
  41. send "&c石炭が足りません" to arg 3
  42. if arg 2 is "eight":
  43. if arg 3 have 8 coal:
  44. remove 8 coal from {player}
  45. add 40 to {coin.%uuid of arg 3%}
  46. send "&a石炭を8個売却し、40コイン手に入れました" to arg 3
  47. else:
  48. send "&c石炭が足りません" to arg 3
  49. if arg 2 is "thirtytwo":
  50. if arg 3 have 32 coal:
  51. remove 32 coal from {player}
  52. add 160 to {coin.%uuid of arg 3%}
  53. send "&a石炭を32個売却し、160コイン手に入れました" to arg 3
  54. else:
  55. send "&c石炭が足りません" to arg 3
  56. if arg 2 is "sixtyfour":
  57. if arg 3 have 64 coal:
  58. remove 64 coal from {player}
  59. add 320 to {coin.%uuid of arg 3%}
  60. send "&a石炭を64個売却し、320コイン手に入れました" to arg 3
  61. else:
  62. send "&c石炭が足りません" to arg 3
  63. if arg 1 is "coalore":
  64. if arg 2 is "one":
  65. if arg 3 have 1 coal ore:
  66. remove 1 coal ore from {player}
  67. add 20 to {coin.%uuid of arg 3%}
  68. send "&a石炭鉱石を1個売却し、20コイン手に入れました" to arg 3
  69. else:
  70. send "&c石炭が足りません" to arg 3
  71. if arg 2 is "eight":
  72. if arg 3 have 8 coal ore:
  73. remove 8 coal ore from {player}
  74. add 160 to {coin.%uuid of arg 3%}
  75. send "&a石炭鉱石を8個売却し、160コイン手に入れました" to arg 3
  76. else:
  77. send "&c石炭が足りません" to arg 3
  78. if arg 2 is "thirtytwo":
  79. if arg 3 have 32 coal ore:
  80. remove 32 coal ore from {player}
  81. add 640 to {coin.%uuid of arg 3%}
  82. send "&a石炭鉱石を32個売却し、640コイン手に入れました" to arg 3
  83. else:
  84. send "&c石炭が足りません" to arg 3
  85. if arg 2 is "sixtyfour":
  86. if arg 3 have 64 coal ore:
  87. remove 64 coal ore from {player}
  88. add 1280 to {coin.%uuid of arg 3%}
  89. send "&a石炭鉱石を64個売却し、1280コイン手に入れました" to arg 3
  90. else:
  91. send "&c石炭鉱石が足りません" to arg 3
  92. if arg 1 is "coalblock":
  93. if arg 2 is "one":
  94. if arg 3 have 1 coal block:
  95. remove 1 coal block from {player}
  96. add 45 to {coin.%uuid of arg 3%}
  97. send "&a石炭ブロックを1個売却し、45コイン手に入れました" to arg 3
  98. else:
  99. send "&c石炭ブロックが足りません" to arg 3
  100. if arg 2 is "eight":
  101. if arg 3 have 8 coal block:
  102. remove 8 coal block from {player}
  103. add 360 to {coin.%uuid of arg 3%}
  104. send "&a石炭ブロックを8個売却し、360コイン手に入れました" to arg 3
  105. else:
  106. send "&c石炭ブロックが足りません" to arg 3
  107. if arg 2 is "thirtytwo":
  108. if arg 3 have 32 coal block:
  109. remove 32 coal block from {player}
  110. add 1440 to {coin.%uuid of arg 3%}
  111. send "&a石炭ブロックを32個売却し、1440コイン手に入れました" to arg 3
  112. else:
  113. send "&c石炭ブロックが足りません" to arg 3
  114. if arg 2 is "sixtyfour":
  115. if arg 3 have 64 coal block:
  116. remove 64 coal block from {player}
  117. add 2880 to {coin.%uuid of arg 3%}
  118. send "&a石炭ブロックを64個売却し、2880コイン手に入れました" to arg 3
  119. else:
  120. send "&c石炭ブロックが足りません" to arg 3
  121. if arg 1 is "iron":
  122. if arg 2 is "one":
  123. if arg 3 have 1 iron ingot:
  124. remove 1 iron ingot from {player}
  125. add 45 to {coin.%uuid of arg 3%}
  126. send "&a鉄を1個売却し、45コイン手に入れました" to arg 3
  127. else:
  128. send "&c鉄が足りません" to arg 3
  129. if arg 2 is "eight":
  130. if arg 3 have 8 iron ingot:
  131. remove 8 iron ingot from {player}
  132. add 360 to {coin.%uuid of arg 3%}
  133. send "&a鉄を8個売却し、360コイン手に入れました" to arg 3
  134. else:
  135. send "&c鉄が足りません" to arg 3
  136. if arg 2 is "thirtytwo":
  137. if arg 3 have 32 iron ingot:
  138. remove 32 iron ingot from {player}
  139. add 1440 to {coin.%uuid of arg 3%}
  140. send "&a鉄を32個売却し、1440コイン手に入れました" to arg 3
  141. else:
  142. send "&c鉄が足りません" to arg 3
  143. if arg 2 is "sixtyfour":
  144. if arg 3 have 64 iron ingot:
  145. remove 64 iron ingot from {player}
  146. add 2880 to {coin.%uuid of arg 3%}
  147. send "&a鉄を64個売却し、2880コイン手に入れました" to arg 3
  148. else:
  149. send "&c鉄が足りません" to arg 3
  150. if arg 1 is "ironblock":
  151. if arg 2 is "one":
  152. if arg 3 have 1 iron block:
  153. remove 1 iron block from {player}
  154. add 180 to {coin.%uuid of arg 3%}
  155. send "&a鉄ブロックを1個売却し、180コイン手に入れました" to arg 3
  156. else:
  157. send "&c鉄ブロックが足りません" to arg 3
  158. if arg 2 is "eight":
  159. if arg 3 have 8 iron block:
  160. remove 8 iron block from {player}
  161. add 1440 to {coin.%uuid of arg 3%}
  162. send "&a鉄ブロックを8個売却し、1440コイン手に入れました" to arg 3
  163. else:
  164. send "&c鉄ブロックが足りません" to arg 3
  165. if arg 2 is "thirtytwo":
  166. if arg 3 have 32 iron block:
  167. remove 32 iron block from {player}
  168. add 5760 to {coin.%uuid of arg 3%}
  169. send "&a鉄ブロックを32個売却し、5760コイン手に入れました" to arg 3
  170. else:
  171. send "&c鉄ブロックが足りません" to arg 3
  172. if arg 2 is "sixtyfour":
  173. if arg 3 have 64 iron block:
  174. remove 64 iron block from {player}
  175. add 11520 to {coin.%uuid of arg 3%}
  176. send "&a鉄ブロックを64個売却し、11520コイン手に入れました" to arg 3
  177. else:
  178. send "&c鉄ブロックが足りません" to arg 3
  179. if arg 1 is "gold":
  180. if arg 2 is "one":
  181. if arg 3 have 1 gold ingot:
  182. remove 1 gold ingot from {player}
  183. add 80 to {coin.%uuid of arg 3%}
  184. send "&a金を1個売却し、80コイン手に入れました" to arg 3
  185. else:
  186. send "&c金が足りません" to arg 3
  187. if arg 2 is "eight":
  188. if arg 3 have 8 gold ingot:
  189. remove 8 gold ingot from {player}
  190. add 640 to {coin.%uuid of arg 3%}
  191. send "&a金を8個売却し、640コイン手に入れました" to arg 3
  192. else:
  193. send "&c金が足りません" to arg 3
  194. if arg 2 is "thirtytwo":
  195. if arg 3 have 32 gold ingot:
  196. remove 32 gold ingot from {player}
  197. add 2560 to {coin.%uuid of arg 3%}
  198. send "&a金を32個売却し、2560コイン手に入れました" to arg 3
  199. else:
  200. send "&c金が足りません" to arg 3
  201. if arg 2 is "sixtyfour":
  202. if arg 3 have 64 gold ingot:
  203. remove 64 gold ingot from {player}
  204. add 5120 to {coin.%uuid of arg 3%}
  205. send "&a金を64個売却し、5120コイン手に入れました" to arg 3
  206. else:
  207. send "&c金が足りません" to arg 3
  208. if arg 1 is "goldblock":
  209. if arg 2 is "one":
  210. if arg 3 have 1 gold block:
  211. remove 1 gold block from {player}
  212. add 720 to {coin.%uuid of arg 3%}
  213. send "&a金ブロックを1個売却し、720コイン手に入れました" to arg 3
  214. else:
  215. send "&c金ブロックが足りません" to arg 3
  216. if arg 2 is "eight":
  217. if arg 3 have 8 gold block:
  218. remove 8 gold block from {player}
  219. add 5760 to {coin.%uuid of arg 3%}
  220. send "&a金ブロックを8個売却し、5760コイン手に入れました" to arg 3
  221. else:
  222. send "&c金ブロックが足りません" to arg 3
  223. if arg 2 is "thirtytwo":
  224. if arg 3 have 32 gold block:
  225. remove 32 gold block from {player}
  226. add 23040 to {coin.%uuid of arg 3%}
  227. send "&a金ブロックを32個売却し、23040コイン手に入れました" to arg 3
  228. else:
  229. send "&c金ブロックが足りません" to arg 3
  230. if arg 2 is "sixtyfour":
  231. if arg 3 have 64 gold block:
  232. remove 64 gold block from {player}
  233. add 46080 to {coin.%uuid of arg 3%}
  234. send "&a金ブロックを64個売却し、46080コイン手に入れました" to arg 3
  235. else:
  236. send "&c金ブロックが足りません" to arg 3
  237. if arg 1 is "diamond":
  238. if arg 2 is "one":
  239. if arg 3 have 1 diamond:
  240. remove 1 diamond from {player}
  241. add 320 to {coin.%uuid of arg 3%}
  242. send "&aダイヤモンドを1個売却し、320コイン手に入れました" to arg 3
  243. else:
  244. send "&cダイヤモンドが足りません" to arg 3
  245. if arg 2 is "eight":
  246. if arg 3 have 8 diamond:
  247. remove 8 diamond from {player}
  248. add 2560 to {coin.%uuid of arg 3%}
  249. send "&aダイヤモンドを8個売却し、2560コイン手に入れました" to arg 3
  250. else:
  251. send "&cダイヤモンドが足りません" to arg 3
  252. if arg 2 is "thirtytwo":
  253. if arg 3 have 32 diamond:
  254. remove 32 diamond from {player}
  255. add 10240 to {coin.%uuid of arg 3%}
  256. send "&aダイヤモンドを32個売却し、10240コイン手に入れました" to arg 3
  257. else:
  258. send "&cダイヤモンドが足りません" to arg 3
  259. if arg 2 is "sixtyfour":
  260. if arg 3 have 64 diamond:
  261. remove 64 diamond from {player}
  262. add 20480 to {coin.%uuid of arg 3%}
  263. send "&aダイヤモンドを64個売却し、20480コイン手に入れました" to arg 3
  264. else:
  265. send "&cダイヤモンドが足りません" to arg 3
  266. if arg 1 is "diamondore":
  267. if arg 2 is "one":
  268. if arg 3 have 1 diamond ore:
  269. remove 1 diamond ore from {player}
  270. add 1280 to {coin.%uuid of arg 3%}
  271. send "&aダイヤモンド鉱石を1個売却し、1280コイン手に入れました" to arg 3
  272. else:
  273. send "&cダイヤモンド鉱石が足りません" to arg 3
  274. if arg 2 is "eight":
  275. if arg 3 have 8 diamond ore:
  276. remove 8 diamond ore from {player}
  277. add 10240 to {coin.%uuid of arg 3%}
  278. send "&aダイヤモンド鉱石を8個売却し、10240コイン手に入れました" to arg 3
  279. else:
  280. send "&cダイヤモンド鉱石が足りません" to arg 3
  281. if arg 2 is "thirtytwo":
  282. if arg 3 have 32 diamond ore:
  283. remove 32 diamond ore from {player}
  284. add 40960 to {coin.%uuid of arg 3%}
  285. send "&aダイヤモンドを32個売却し、40960コイン手に入れました" to arg 3
  286. else:
  287. send "&cダイヤモンド鉱石が足りません" to arg 3
  288. if arg 2 is "sixtyfour":
  289. if arg 3 have 64 diamond ore:
  290. remove 64 diamond ore from {player}
  291. add 81920 to {coin.%uuid of arg 3%}
  292. send "&aダイヤモンド鉱石を64個売却し、81920コイン手に入れました" to arg 3
  293. else:
  294. send "&cダイヤモン鉱石ドが足りません" to arg 3
  295. if arg 1 is "emerald":
  296. if arg 2 is "one":
  297. if arg 3 have 1 emerald:
  298. remove 1 emerald from {player}
  299. add 640 to {coin.%uuid of arg 3%}
  300. send "&aエメラルドを1個売却し、640コイン手に入れました" to arg 3
  301. else:
  302. send "&cエメラルドが足りません" to arg 3
  303. if arg 2 is "eight":
  304. if arg 3 have 8 emerald:
  305. remove 8 emerald from {player}
  306. add 5120 to {coin.%uuid of arg 3%}
  307. send "&aエメラルドを8個売却し、5120コイン手に入れました" to arg 3
  308. else:
  309. send "&cエメラルドが足りません" to arg 3
  310. if arg 2 is "thirtytwo":
  311. if arg 3 have 32 emerald:
  312. remove 32 emerald from {player}
  313. add 20480 to {coin.%uuid of arg 3%}
  314. send "&aエメラルドを32個売却し、20480コイン手に入れました" to arg 3
  315. else:
  316. send "&cエメラルドが足りません" to arg 3
  317. if arg 2 is "sixtyfour":
  318. if arg 3 have 64 emerald:
  319. remove 64 emerald from {player}
  320. add 40960 to {coin.%uuid of arg 3%}
  321. send "&aエメラルドを64個売却し、40960コイン手に入れました" to arg 3
  322. else:
  323. send "&cエメラルドが足りません" to arg 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement