every 5 second:
loop all players:
{loc::%loop-player%} is set:
{loc::%loop-player%} is loop-player's location:
add 1 to {check::%loop-player%}
else:
delete {check::%loop-player%}
{check::%loop-player%} is higher than 5:
teleport player to {Loc}
set {loc::%loop-player%} to loop-player's location
command /belirle:
trigger:
player is op
set {Loc} to player's location
message "AFK oyuncular buraya ışınlanacak."
Every seconds kullanmadan yapma şansımız yokmu ?Kod:every 5 second: loop all players: {loc::%loop-player%} is set: {loc::%loop-player%} is loop-player's location: add 1 to {check::%loop-player%} else: delete {check::%loop-player%} {check::%loop-player%} is higher than 5: teleport player to {Loc} set {loc::%loop-player%} to loop-player's location command /belirle: trigger: player is op set {Loc} to player's location message "AFK oyuncular buraya ışınlanacak."
/belirle -> AFK odasını belirler.
Çalışıyor mu bir bilgim yok ama kullandığım program çalışıyor demekte.Every seconds kullanmadan yapma şansımız yokmu ?
options:
yer:
30 second not move:
if {hareket::%player%} is true:
set {hareket::%player%} to false
if {hareket::%player%} is false:
execute console command"tp %player% {@yer}"
Hata veriyorÇalışıyor mu bir bilgim yok ama kullandığım program çalışıyor demekte.
Kod:options: yer: 30 second not move: if {hareket::%player%} is true: set {hareket::%player%} to false if {hareket::%player%} is false: execute console command"tp %player% {@yer}"
Can't understand this event: '30 second not move' (deneme.sk, line 1: 30 second not move:')
Biliyordum böyle olabileceğini. Bende şaşırdıydım o evente nasıl onay verdi diye. Biraz daha uğraşayım belki yapabilirim.Hata veriyor
Kod:Can't understand this event: '30 second not move' (deneme.sk, line 1: 30 second not move:')
Every seconds kullanmadan yapma şansımız yokmu ?
on join:
while player is online:
{loc::%player%} is set:
{loc::%player%} is player's location:
add 1 to {check::%player%}
else:
delete {check::%player%}
{check::%player%} is higher than 5:
teleport player to {Loc}
set {loc::%player%} to player's location
wait 5 seconds
command /belirle:
trigger:
player is op
set {Loc} to player's location
message "AFK oyuncular buraya ışınlanacak."
on player stop walking:
set {_stop} to true
while {_stop} is true:
{loc::%player%} is set:
{loc::%player%} is player's location:
add 1 to {check::%player%}
else:
stop
{check::%player%} is higher than 5:
teleport player to {Loc}
set {loc::%player%} to player's location
wait 5 seconds
command /belirle:
trigger:
player is op
set {Loc} to player's location
message "AFK oyuncular buraya ışınlanacak."