clipsocore
Bir Kömür Göründü Kaptanım!
Merhaba, OtoSat Skriptim Var Fakat Suncuya Girerken *Çok Hızlı Komut Kullanıyorsun Hatası Veriyor* Bu Skript Yüzünden
HATA :
Skripti Devre Dışı Bıraktığım Zaman Hata Vermiyor. Yani Bu Hatanın Sebebi Otosat Skripti !
SKRİPT :
HATA :
Skripti Devre Dışı Bıraktığım Zaman Hata Vermiyor. Yani Bu Hatanın Sebebi Otosat Skripti !
SKRİPT :
Kod:
options:
Tag: &3OtoSat &8»
Demir: 1800
Altın: 2200
Elmas: 7000
Zümrüt: 5000
DemirBlok: 26800
AltınBlok: 26800
ElmasBlok: 64000
ZümrütBlok: 86400
on join:
execute player command "otosat kapat"
command /otosatış [<text>]:
trigger:
if arg 1 is "ac" or "aç":
set {Demir.%player%} to true
set {Altın.%player%} to true
set {Elmas.%player%} to true
set {Zümrüt.%player%} to true
set {DemirBlok.%player%} to true
set {AltınBlok.%player%} to true
set {ElmasBlok.%player%} to true
set {ZümrütBlok.%player%} to true
send "{@Tag} &fOtosat &aAçıldı!"
if arg 1 is "kapa" or "kapat":
set {Demir.%player%} to false
set {Altın.%player%} to false
set {Elmas.%player%} to false
set {Zümrüt.%player%} to false
set {DemirBlok.%player%} to false
set {AltınBlok.%player%} to false
set {ElmasBlok.%player%} to false
set {ZümrütBlok.%player%} to false
send "{@Tag} &fOtosat &cKapatıldı!"
if arg 1 is "bilgi" or "b":
send " "
send " &e-/otosatış &aAç &e- &eOtosat &aAçılır!"
send " &e-/otosatış &cKapat &e- &eOtosat &cKapatılır!"
send " "
every 1 second:
loop all players:
if event-item is iron ingot:
if {Demir.%loop-player%} is true:
if loop-player has 64 iron ingot:
remove 64 iron ingot from loop-player
send "{@Tag} &e64 Tane &7Demir &fSatıldı" to loop-player
execute console command "eco give %loop-player% {@Demir}"
stop
if event-item is gold ingot:
if {Altın.%loop-player%} is true:
if loop-player has 64 gold ingot:
remove 64 gold ingot from loop-player
send "{@Tag} &e64 Tane &eAltın &fSatıldı" to loop-player
execute console command "eco give %loop-player% {@Altın}"
stop
if {Elmas.%loop-player%} is true:
if loop-player has 64 diamond:
remove 64 diamond from loop-player
send "{@Tag} &e64 Tane &bElmas &fSatıldı" to loop-player
execute console command "eco give %loop-player% {@Elmas}"
stop
if {Zümrüt.%loop-player%} is true:
if loop-player has 64 emerald:
remove 64 emerald from loop-player
send "{@Tag} &e64 Tane &aZümrüt &fSatıldı" to loop-player
execute console command "eco give %loop-player% {@Zümrüt}"
stop
if {DemirBlok.%loop-player%} is true:
if loop-player has 64 iron block:
remove 64 iron block from loop-player
send "{@Tag} &e64 Tane &7Demir Blok &fSatıldı" to loop-player
execute console command "eco give %loop-player% {@DemirBlok}"
stop
if {AltınBlok.%loop-player%} is true:
if loop-player has 64 gold block:
remove 64 gold block from loop-player
send "{@Tag} &e64 Tane &eAltın Blok &fSatıldı" to loop-player
execute console command "eco give %loop-player% {@AltınBlok}"
stop
if {ElmasBlok.%loop-player%} is true:
if loop-player has 64 diamond block:
remove 64 diamond block from loop-player
send "{@Tag} &e64 Tane &bElmas Blok &fSatıldı" to loop-player
execute console command "eco give %loop-player% {@ElmasBlok}"
stop
if {ZümrütBlok.%loop-player%} is true:
if loop-player has 64 emerald block:
remove 64 emerald block from loop-player
send "{@Tag} &e64 Tane &aZümrüt Blok &fSatıldı" to loop-player
execute console command "eco give %loop-player% {@ZümrütBlok}"
stop
Moderatör tarafından düzenlendi: