- Katılım
- 13 Haziran 2021
- Mesajlar
- 18
- Elmaslar
- 1
- Puanlar
- 85
- Yaş
- 22
- Minecraft
- iAmPoyraz
command /c:
trigger:
set {c::%player%} to 1
set {czaman::%player%} to now
on chat:
if {c::%player%} is 1:
set {_c} to difference between {czaman::%player%} and now
if {_c} >= 300 seconds:
set {c::%player%} to 0
delete {czaman::%player%}
else:
cancel event
set {_d} to difference between 300 seconds and {_c}
set {_d} to "%{_d}%"
replace all "and" with "," in {_d}
replace all "minute" and "minutes" with "dakika" in {_d}
replace all "dakikas" with "dakika" in {_d}
replace all "second" and "seconds" with "saniye" in {_d}
replace all "saniyes" with "saniye" in {_d}
send "&e%player%; &7%{_d}% kaldı."
Komutu yeniden kullanmaya çalıştıklarında x dakika x saniye kaldı desin, sohbeti kullandıklarında değil.Buyrun bunu bir deneyin.Kod:command /c: trigger: set {c::%player%} to 1 set {czaman::%player%} to now on chat: if {c::%player%} is 1: set {_c} to difference between {czaman::%player%} and now if {_c} >= 300 seconds: set {c::%player%} to 0 delete {czaman::%player%} else: cancel event set {_d} to difference between 300 seconds and {_c} set {_d} to "%{_d}%" replace all "and" with "," in {_d} replace all "minute" and "minutes" with "dakika" in {_d} replace all "dakikas" with "dakika" in {_d} replace all "second" and "seconds" with "saniye" in {_d} replace all "saniyes" with "saniye" in {_d} send "&e%player%; &7%{_d}% kaldı."
cant understand this expression remaining timeKod:command komut: cooldown: 1 day cooldown message: %remaining-time% süre bekle trigger:
%remaining time% olucak alışkanlıktan dolayı - eklemişim :evet:cant understand this expression remaining time