Pls help my script only works the first time. How I can make it work for the entire time of woe?
- script afkwoe -1,{
OnInit:
.timetocheck = 30; //Seconds after which idle is checked.
.idle_time = 30; //Idle time in seconds, from which one can be warped.
end;
OnPCLoginEvent:
addtimer .timetocheck*1000,strnpcinfo(3)+"::OnCheckAFK";
end;
OnCheckAFK:
if(checkidle() >= .idle_time && getmapflag(strcharinfo (3), mf_gvg)) {
dispbottom "The Police, has detected him as bot because you were in afk a long time during woe";
warp "SavePoint",0,0;
end;
}
addtimer .timetocheck*1000,strnpcinfo(3)+"::OnCheckAFK";
}
Question
OmarAcero
Pls help my script only works the first time. How I can make it work for the entire time of woe?
I solved ty
Edited by OmarAceroLink to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.