function girisyap(p : player):
open virtual hopper with size 1 named "&6Güvenlik Girişi" to {_p}
make gui slot 0, 1, 3 and 4 of {_p} with black glass pane named "&4Yanlış yer :D" to nothing
make gui slot 2 of {_p} with diamond named "&cGüvenliği geçmek için tıkla." to run function girisonay({_p})
function girisonay(p : player):
{giriş1::%{_p}%} is set:
delete {giriş1::%{_p}%}
send "&bGüvenlik kodunuz başarıyla doğrulandı!" to {_p}
on command:
{giriş1::%player%} is set:
command is "login" or "güvenlik":
uncancel event
else:
cancel event
send "&bKomut Yazamasın Güvenliği Geçmelisin &a/güvenlik"
on chat:
{giriş1::%player%} is set:
cancel event
send "&bMesaj Yazamasın Güvenliği Geçmelisin &a/güvenlik"
on join:
wait 5 ticks
set {giriş1::%player%} to 1
send "&bHesabını Doğrula &a/güvenlik asd"
wait 10 seconds
girisyap(player)
on quit:
{giriş1::%player%} is set:
cancel event
delete {giriş1::%player%}
command /güvenlik:
trigger:
girisyap(player)