command /günlüködül:
trigger:
if {gunlukodul::%player%} is not set:
set {gunlukodul::%player%} to now
execute console command "/crate givekey %player% SPKasasi 1"
send "Günlük ödülünü aldın"
else if difference between {gunlukodul::%player%} and now is bigger than 24 hours:
set {gunlukodul::%player%} to now
execute console command "/crate givekey %player% SPKasasi 1"
send "Günlük ödülünü aldın"
else:
set {_x} to "%difference between 24 hours and difference between {gunlukodul::%player%} and now%"
replace all " and " with " " in {_x}
replace all " hours" and " hour" with " saat" in {_x}
replace all " minutes" and " minute" with " dakika" in {_x}
replace all " seconds" and " second" with " saniye" in {_x}
send "Tekrar almak için %{_x}% beklemelisin"