options:
ss1: true #iconomy
ss2: false #Essentials
ss3: &cKomutu kullana bilmek icin Yetkin yok. #Permissons msg
ss4: &e[&fOTO-SAT&e] #Prefix
on break lapis ore:
if {roocersell.%player%} is set:
if player has 128 lapis lazuli:
remove 128 lapis lazuli from player
send " {@ss4} &c128 &7lapis lazuli Esyasini &c2,000.00 TL &7Karsiliginda sattin!"
if {@ss2} is true:
execute console command "/eco give %player% 2000"
stop
command /otomatik [<text>]:
permission: otosat.vip
permission message:{@ss3}
trigger:
if arg 1 is "acik":
set {roocersell.%player%} to true
send " {@ss4} &aOtomatik lapis satma acildi!"
if arg 1 is "kapat":
delete {roocersell.%player%}
send " {@ss4} &aOtomatik satma kapatildi!"
if arg 1 is not set:
send " "
send " &8&m/-----/&r &eOTOSATIS &8&m\-----\"
send " &aOtomatik satmak icin: &c/otomatik acik"
send " &aOtomatik satmayi kapatmak icin: &c/otomatik kapat"
send " "
send "&3Skript Hakkinda /otomatik help"
if arg 1 is "help":
send "&3skripter : &cRoocer"
send "&3Sorun & Arzada Skype : &cRoocerTR"
send "&3Verisyon &c1.0v"