Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /sell [<text>] [<text>] [<offline player>]:
- permission: skript.sell
- trigger:
- if arg 1 is "stone":
- if arg 2 is "one":
- if arg 3 have 1 cobblestone:
- remove 1 cobblestone from arg-3
- add 1 to {coin.%uuid of arg 3%}
- send "&a丸石を1個売却し、1コイン手に入れました" to arg 3
- else:
- send "&c丸石が足りません" to arg 3
- if arg 2 is "eight":
- if arg 3 have 8 cobblestone:
- remove 8 cobblestone from arg 3
- add 8 to {coin.%uuid of arg 3%}
- send "&a丸石を8個売却し、8コイン手に入れました" to arg 3
- else:
- send "&c丸石が足りません" to arg 3
- if arg 2 is "thirtytwo":
- if arg 3 have 32 cobblestone:
- remove 32 cobblestone from arg 3
- add 32 to {coin.%uuid of arg 3%}
- send "&a丸石を32個売却し、32コイン手に入れました" to arg 3
- else:
- send "&c丸石が足りません" to arg 3
- if arg 2 is "sixtyfour":
- if arg 3 have 64 cobblestone:
- remove 64 cobblestone from arg 3
- add 64 to {coin.%uuid of arg 3%}
- send "&a丸石を64個売却し、64コイン手に入れました" to arg 3
- else:
- send "&c丸石が足りません" to arg 3
- if arg 1 is "coal":
- if arg 2 is "one":
- if arg 3 have 1 coal:
- remove 1 coal from arg 3
- add 5 to {coin.%uuid of arg 3%}
- send "&a石炭を1個売却し、5コイン手に入れました" to arg 3
- else:
- send "&c石炭が足りません" to arg 3
- if arg 2 is "eight":
- if arg 3 have 8 coal:
- remove 8 coal from arg 3
- add 40 to {coin.%uuid of arg 3%}
- send "&a石炭を8個売却し、40コイン手に入れました" to arg 3
- else:
- send "&c石炭が足りません" to arg 3
- if arg 2 is "thirtytwo":
- if arg 3 have 32 coal:
- remove 32 coal from arg 3
- add 160 to {coin.%uuid of arg 3%}
- send "&a石炭を32個売却し、160コイン手に入れました" to arg 3
- else:
- send "&c石炭が足りません" to arg 3
- if arg 2 is "sixtyfour":
- if arg 3 have 64 coal:
- remove 64 coal from arg 3
- add 320 to {coin.%uuid of arg 3%}
- send "&a石炭を64個売却し、320コイン手に入れました" to arg 3
- else:
- send "&c石炭が足りません" to arg 3
- if arg 1 is "coalblock":
- if arg 2 is "one":
- if arg 3 have 1 coal block:
- remove 1 coal block from arg 3
- add 45 to {coin.%uuid of arg 3%}
- send "&a石炭ブロックを1個売却し、45コイン手に入れました" to arg 3
- else:
- send "&c石炭ブロックが足りません" to arg 3
- if arg 2 is "eight":
- if arg 3 have 8 coal block:
- remove 8 coal block from arg 3
- add 360 to {coin.%uuid of arg 3%}
- send "&a石炭ブロックを8個売却し、360コイン手に入れました" to arg 3
- else:
- send "&c石炭ブロックが足りません" to arg 3
- if arg 2 is "thirtytwo":
- if arg 3 have 32 coal block:
- remove 32 coal block from arg 3
- add 1440 to {coin.%uuid of arg 3%}
- send "&a石炭ブロックを32個売却し、1440コイン手に入れました" to arg 3
- else:
- send "&c石炭ブロックが足りません" to arg 3
- if arg 2 is "sixtyfour":
- if arg 3 have 64 coal block:
- remove 64 coal block from arg 3
- add 2880 to {coin.%uuid of arg 3%}
- send "&a石炭ブロックを64個売却し、2880コイン手に入れました" to arg 3
- else:
- send "&c石炭ブロックが足りません" to arg 3
- if arg 1 is "iron":
- if arg 2 is "one":
- if arg 3 have 1 iron ingot:
- remove 1 iron ingot from arg 3
- add 45 to {coin.%uuid of arg 3%}
- send "&a鉄を1個売却し、45コイン手に入れました" to arg 3
- else:
- send "&c鉄が足りません" to arg 3
- if arg 2 is "eight":
- if arg 3 have 8 iron ingot:
- remove 8 iron ingot from arg 3
- add 360 to {coin.%uuid of arg 3%}
- send "&a鉄を8個売却し、360コイン手に入れました" to arg 3
- else:
- send "&c鉄が足りません" to arg 3
- if arg 2 is "thirtytwo":
- if arg 3 have 32 iron ingot:
- remove 32 iron ingot from arg 3
- add 1440 to {coin.%uuid of arg 3%}
- send "&a鉄を32個売却し、1440コイン手に入れました" to arg 3
- else:
- send "&c鉄が足りません" to arg 3
- if arg 2 is "sixtyfour":
- if arg 3 have 64 iron ingot:
- remove 64 iron ingot from arg 3
- add 2880 to {coin.%uuid of arg 3%}
- send "&a鉄を64個売却し、2880コイン手に入れました" to arg 3
- else:
- send "&c鉄が足りません" to arg 3
- if arg 1 is "ironblock":
- if arg 2 is "one":
- if arg 3 have 1 iron block:
- remove 1 iron block from arg 3
- add 180 to {coin.%uuid of arg 3%}
- send "&a鉄ブロックを1個売却し、180コイン手に入れました" to arg 3
- else:
- send "&c鉄ブロックが足りません" to arg 3
- if arg 2 is "eight":
- if arg 3 have 8 iron block:
- remove 8 iron block from arg 3
- add 1440 to {coin.%uuid of arg 3%}
- send "&a鉄ブロックを8個売却し、1440コイン手に入れました" to arg 3
- else:
- send "&c鉄ブロックが足りません" to arg 3
- if arg 2 is "thirtytwo":
- if arg 3 have 32 iron block:
- remove 32 iron block from arg 3
- add 5760 to {coin.%uuid of arg 3%}
- send "&a鉄ブロックを32個売却し、5760コイン手に入れました" to arg 3
- else:
- send "&c鉄ブロックが足りません" to arg 3
- if arg 2 is "sixtyfour":
- if arg 3 have 64 iron block:
- remove 64 iron block from arg 3
- add 11520 to {coin.%uuid of arg 3%}
- send "&a鉄ブロックを64個売却し、11520コイン手に入れました" to arg 3
- else:
- send "&c鉄ブロックが足りません" to arg 3
- if arg 1 is "gold":
- if arg 2 is "one":
- if arg 3 have 1 gold ingot:
- remove 1 gold ingot from arg 3
- add 80 to {coin.%uuid of arg 3%}
- send "&a金を1個売却し、80コイン手に入れました" to arg 3
- else:
- send "&c金が足りません" to arg 3
- if arg 2 is "eight":
- if arg 3 have 8 gold ingot:
- remove 8 gold ingot from arg 3
- add 640 to {coin.%uuid of arg 3%}
- send "&a金を8個売却し、640コイン手に入れました" to arg 3
- else:
- send "&c金が足りません" to arg 3
- if arg 2 is "thirtytwo":
- if arg 3 have 32 gold ingot:
- remove 32 gold ingot from arg 3
- add 2560 to {coin.%uuid of arg 3%}
- send "&a金を32個売却し、2560コイン手に入れました" to arg 3
- else:
- send "&c金が足りません" to arg 3
- if arg 2 is "sixtyfour":
- if arg 3 have 64 gold ingot:
- remove 64 gold ingot from arg 3
- add 5120 to {coin.%uuid of arg 3%}
- send "&a金を64個売却し、5120コイン手に入れました" to arg 3
- else:
- send "&c金が足りません" to arg 3
- if arg 1 is "goldblock":
- if arg 2 is "one":
- if arg 3 have 1 gold block:
- remove 1 gold block from arg 3
- add 720 to {coin.%uuid of arg 3%}
- send "&a金ブロックを1個売却し、720コイン手に入れました" to arg 3
- else:
- send "&c金ブロックが足りません" to arg 3
- if arg 2 is "eight":
- if arg 3 have 8 gold block:
- remove 8 gold block from arg 3
- add 5760 to {coin.%uuid of arg 3%}
- send "&a金ブロックを8個売却し、5760コイン手に入れました" to arg 3
- else:
- send "&c金ブロックが足りません" to arg 3
- if arg 2 is "thirtytwo":
- if arg 3 have 32 gold block:
- remove 32 gold block from arg 3
- add 23040 to {coin.%uuid of arg 3%}
- send "&a金ブロックを32個売却し、23040コイン手に入れました" to arg 3
- else:
- send "&c金ブロックが足りません" to arg 3
- if arg 2 is "sixtyfour":
- if arg 3 have 64 gold block:
- remove 64 gold block from arg 3
- add 46080 to {coin.%uuid of arg 3%}
- send "&a金ブロックを64個売却し、46080コイン手に入れました" to arg 3
- else:
- send "&c金ブロックが足りません" to arg 3
- if arg 1 is "diamond":
- if arg 2 is "one":
- if arg 3 have 1 diamond:
- remove 1 diamond from arg 3
- add 320 to {coin.%uuid of arg 3%}
- send "&aダイヤモンドを1個売却し、320コイン手に入れました" to arg 3
- else:
- send "&cダイヤモンドが足りません" to arg 3
- if arg 2 is "eight":
- if arg 3 have 8 diamond:
- remove 8 diamond from arg 3
- add 2560 to {coin.%uuid of arg 3%}
- send "&aダイヤモンドを8個売却し、2560コイン手に入れました" to arg 3
- else:
- send "&cダイヤモンドが足りません" to arg 3
- if arg 2 is "thirtytwo":
- if arg 3 have 32 diamond:
- remove 32 diamond from arg 3
- add 10240 to {coin.%uuid of arg 3%}
- send "&aダイヤモンドを32個売却し、10240コイン手に入れました" to arg 3
- else:
- send "&cダイヤモンドが足りません" to arg 3
- if arg 2 is "sixtyfour":
- if arg 3 have 64 diamond:
- remove 64 diamond from arg 3
- add 20480 to {coin.%uuid of arg 3%}
- send "&aダイヤモンドを64個売却し、20480コイン手に入れました" to arg 3
- else:
- send "&cダイヤモンドが足りません" to arg 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement