Orco
Yay Yok, İskelet Yok
- Katılım
- 2 Aralık 2017
- Mesajlar
- 283
- Elmaslar
- 62
- Puan
- 13.680
- Yaş
- 27
Discord:
orcununal#5644
Fotoğraflar
Hastebin
Değerli ziyaretçimiz, içeriği görebilmek için
şimdi giriş yapın veya kayıt olun.
Kod:
Kod:
[/CENTER]
variables:
{aktifkalma.saniye.%player%} = 0
{aktifkalma.dakika.%player%} = 0
{aktifkalma.saat.%player%} = 0
{aktifkalma.gun.%player%} = 0
on login:
while player is online:
wait 1 second
add 1 to {aktifkalma.saniye.%player%}
if {aktifkalma.saniye.%player%} is bigger than or equal to 60:
remove 60 from {aktifkalma.saniye.%player%}
add 1 to {aktifkalma.dakika.%player%}
if {aktifkalma.dakika.%player%} is bigger than or equal to 60:
remove 60 from {aktifkalma.dakika.%player%}
add 1 to {aktifkalma.saat.%player%}
if {aktifkalma.saat.%player%} is bigger than or equal to 24:
add 1 to {aktifkalma.gun.%player%}
remove 24 from {aktifkalma.saat.%player%}
command /sure [<player>]:
trigger:
if arg-1 is not set:
open chest with 1 rows named "&6&lAktif kalma süren" to player
format slot 0 of player with 160:14 named "&a" to close
format slot 1 of player with 160:14 named "&a" to close
format slot 2 of player with 160:14 named "&a" to close
format slot 3 of player with 160:14 named "&a" to close
format slot 4 of player with compass named "&aAktif Kalma Süreniz:" with lore "&bOnline süreniz:|| &a%{aktifkalma.gun.%player%}% &bGün,|| &a%{aktifkalma.saat.%player%}% &bSaat,|| &a%{aktifkalma.dakika.%player%}% &bDakika,|| &a%{aktifkalma.saniye.%player%}% &bSaniye'dir" to close
format slot 5 of player with 160:14 named "&a" to close
format slot 6 of player with 160:14 named "&a" to close
format slot 7 of player with 160:14 named "&a" to close
format slot 8 of player with 160:14 named "&a" to close
else:
open chest with 1 rows named "&a&l%arg 1% &b&lAktif kalma" to player
format slot 0 of player with 160:14 named "&a" to close
format slot 1 of player with 160:14 named "&a" to close
format slot 2 of player with 160:14 named "&a" to close
format slot 3 of player with 160:14 named "&a" to close
format slot 5 of player with 160:14 named "&a" to close
format slot 6 of player with 160:14 named "&a" to close
format slot 7 of player with 160:14 named "&a" to close
format slot 8 of player with 160:14 named "&a" to close
format slot 4 of player with compass named "&aAktif Kalma Süresi:" with lore "&bOnline süresi:|| &a%{aktifkalma.gun.%arg 1%}% &bGün,|| &a%{aktifkalma.saat.%arg 1%}% &bSaat,|| &a%{aktifkalma.dakika.%arg 1%}% &bDakika,|| &a%{aktifkalma.saniye.%arg 1%}% &bSaniye'dir" to close
on quit:
delete {aktifkalma.saniye.%player%}
