- Katılım
- 3 Mayıs 2021
- Mesajlar
- 26
- Elmaslar
- 4
- Puanlar
- 85
- Yaş
- 18
- Minecraft
- xMuratOKR
Kod:
variables:
{borsa::bitcoin} = 5000000000000
{borsa::bitcoin::%player%} = 0
options:
prefix: &6&lSKYBLOCK &8►
command /bitcoin [<text>] [<number>]:
trigger:
if arg 1 is not set:
send "{@prefix} &eHesabında anlık olarak, &d%{borsa::bitcoin::%player%}% &eBitcoin var."
if arg 1 is "çek":
if arg 2 is set:
if arg 2 < {borsa::bitcoin::%player%}:
remove arg 2 from {borsa::bitcoin::%player%}
set {_sonuç::%player%} to arg 2 * {borsa::bitcoin}
execute console command "eco give %player% %{_sonuç::%player%}%"
else if arg 2 = {borsa::bitcoin::%player%}:
remove arg 2 from {borsa::bitcoin::%player%}
set {_sonuç::%player%} to arg 2 * {borsa::bitcoin}
execute console command "eco give %player% %{_sonuç::%player%}%"
else:
send "{@prefix} &eMaalesef, hesabında yeterince Bitcoin yok!"
if arg 1 is "yatır":
if arg 2 is set:
if player's balance is bigger than or equal to arg-2:
execute console command "eco take %player% %arg-2%"
set {_sonuç::%player%} to arg 2 / {borsa::bitcoin}
add {_sonuç::%player%} to {borsa::bitcoin::%player%}
send "{@prefix} &eHesabına, &d%{borsa::bitcoin::%player%}% &eBitcoin bulunuyor.."
else:
send "{@prefix} &eMaalesef, yeterince paran yok."
command /bitcoinver [<player>] [<int>]:
permission: btc.admin
trigger:
arg-1 is set:
if arg-2 is set:
add arg-2 to {borsa::bitcoin::%arg 1%}
send "&6&lSKYBLOCK &8► &d%arg-1% &eadlı oyuncunun hesabına &d%arg-2% &ebitcoin eklediniz."
else:
send "&eLütfen bitcoin miktarı giriniz."
else:
send "&eLütfen oyuncu ismi giriniz."
command /borsadminn [<text>] [<number>]:
permission: op
trigger:
if arg 1 is "bitcoin":
if arg 2 is set:
set {borsa::bitcoin} to arg 2
send "{@prefix} &eBitcoin anlık olarak; &d%{borsa::bitcoin}%TL"
every 90 minute:
set {borsa::bitcoin} to a random integer between 3000000 and 8000000
broadcast "{@prefix} &eBitcoin'in borsa değeri, &d%{borsa::bitcoin}%TL &eolmuştur."
merhaba bu skripti kullanıyorum /bitcoin yatır 200 diyince olmuyor yardım edermisiniz