Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- bit: &7[&b&lBit&a&lCoin&r&7]&r
- variables:
- {acoin.money} = 10000
- {acoin.buy} = 1000
- {acoin.sell} = 1000
- {acoin.random} = 123
- {acoin.randomremove} = 123
- {acoin.have} = 0
- command /buy [<text>] [<number>]:
- description: BitCoin購入
- trigger:
- if arg 1 is not set:
- send "{@bit}"
- else if arg 1 is "bitcoin":
- if arg 2 is not set:
- send "{@bit} 買うコインの量を設定してください。"
- else if arg 2 is set:
- send "{@bit} あなたは &b&lBit&aCoin &rを &d&l%arg 2% &r枚購入しました。"
- add arg 2 to {acoin.have.%player%}
- loop arg-2 times:
- execute console command "eco take %player% %{acoin.money}%"
- add 900 to {acoin.money}
- command /sell [<text>] [<number>]:
- description: BitCoin売却
- trigger:
- if arg 1 is not set:
- send "{@bit}"
- else if arg 1 is "acoin":
- if arg 2 is not set:
- send "{@bit} 売るコインの量を設定してください。"
- else if arg 2 is set:
- if {acoin.have.%player%} is greater than or equal to arg-2:
- send "{@bit} %arg 2% 枚の BitCoinを、売却しました。"
- remove arg 2 from {acoin.have.%player%}
- loop arg-2 times:
- execute console command "eco give %player% %{acoin.money}%"
- remove 850 from {acoin.money}
- command /check [<text>] [<player>]:
- trigger:
- if arg 1 is not set:
- send "{@bit}"
- else if arg 1 is "bitcoin":
- if arg 2 is not set:
- send "{@bit} あなたのBitCoin: &d&l%{acoin.have.%player%}% 枚"
- else if arg 2 is set:
- player has permission "skript.checkother"
- send "{@bit} %arg 2%のBitCoin: &d&l%{acoin.have.%player%}% 枚"
- else if arg 1 is "balance":
- send "{@bit} 今のBitCoin 1枚の相場: %{acoin.money}%"
- command /setbal [<text>] [<number>]:
- permission: skript.setbal
- trigger:
- if arg 1 is not set:
- send "{@bit}"
- else if arg 1 is "bitcoin":
- if arg 2 is not set:
- send "{@bit} セットしたい相場額を入力してください。"
- else if arg 2 is set:
- set {acoin.money} to arg 2
- send "{@bit} 正常にセットされました。 今の相場は &d&l%{acoin.money}% &rです。"
- command /addbal [<text>] [<number>]:
- permission: skript.addbal
- trigger:
- if arg 1 is not set:
- send "{@bit} 今の仮想通貨: bitcoin"
- else if arg 1 is "bitcoin":
- if arg 2 is not set:
- send "{@bit} 追加したい相場額を入力してください。"
- else if arg 2 is set:
- add arg 2 to {acoin.money}
- send "{@bit} 正常に追加されました。今の相場は &d&l%{acoin.money}% &rです。"
- command /removebal [<text>] [<number>]:
- permission: skript.removebal
- trigger:
- if arg 1 is not set:
- send "{@bit} 今の仮想通貨: bitcoin"
- else if arg 1 is "bitcoin":
- if arg 2 is not set:
- send "{@bit} 減少させたい相場額を入力してください。"
- else if arg 2 is set:
- remove arg 2 from {acoin.money}
- send "{@bit} 正常に減少されました。今の相場は &d&l%{acoin.money}% &rです。"
Add Comment
Please, Sign In to add comment