0mustafa
Merhaba, tab menüsünü yönetmek için bir eklenti kullanıyor musun?Merhaba iyi forumlar bir skript istiyorum örneğin 2 dakika boyunca hareketsiz kalınca tabda başında afk yazacak
0mustafa
command /test:
trigger:
set player's tab list name to "&8[AFK] %name of player%"
0mustafa
options:
idleLimit: 5 # Kaç saniye sonra oyuncunun AFK olarak kabul edilmesi gerektiğini ayarlar.
on join:
set {idleCounter::%player%} to 0
delete {afk::%player%}
idleCounter(player)
local function idleCounter(p: player):
while {_p} is online:
if {idleCounter::%{_p}%} is 0:
set tab list name of {_p} to name of {_p}
delete {afk::%{_p}%}
add 1 to {idleCounter::%{_p}%}
if {idleCounter::%{_p}%} >= 5:
if {afk::%{_p}%} isn't true:
set {afk::%{_p}%} to true
set tab list name of {_p} to "<#4f4f4f>[AFK] &r%name of {_p}%"
wait a second
on player move:
set {idleCounter::%player%} to 0
0mustafa
5'i istediğin şekilde ayarlayabilirsin. Saniye cinsinden yaz.hocam süresini hangisiyle ayarlıycam idlelimitdeki 5 mi yoksa Kaç saniye sonra... yı silipmi yapıcam
0mustafa
hocam rengi değiştirmek için hangi satırdaki kodu elleyeceğim
set tab list name of {_p} to "<#4f4f4f>[AFK] &r%name of {_p}%"
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!