# Gerekli eklentiler: skRayFall
on unstore:
if player has 640 of iron ingot:
if {oto.satis::%player%} is true:
remove 640 of iron ingot from player
add 1000 to player's balance
send " &f> &a640 adet demir 1.000TL karşılığında otomatik olarak satıldı!"
on pickup:
if player has 640 of iron ingot:
if {oto.satis::%player%} is true:
remove 640 of iron ingot from player
add 1000 to player's balance
send " &f> &a640 adet demir 1.000TL karşılığında otomatik olarak satıldı!"
on inventory click:
if player has 640 iron ingot:
if {oto.satis::%player%} is true:
remove 640 iron ingot from player
add 1000 to player's balance
send " &f> &a640 adet demir 1.000TL karşılığında otomatik olarak satıldı!"
command /otosat:
aliases: otosatis, otosatış
trigger:
if {oto.satis::%player%} is not set:
set {oto.satis::%player%} to false
if {oto.satis::%player%} is true:
set {oto.satis::%player%} to false
send " &f> &aOto. satış devre dışı bırakıldı!"
else if {oto.satis::%player%} is false:
set {oto.satis::%player%} to true
send " &f> &aOto. satış aktif edildi!"