Hello, i got auto banned over status from http://rathena.org/board/topic/70252-anti-cheat-stats/?p=134514
- script Sample -1,{
OnPCLoginEvent:
for( set .@i,13; .@i <=18; set .@i,.@i + 1 )
if( readparam(.@i) > 255 )
set .@OverStat,.@OverStat + 1;
if( .@OverStat ){
mes "You have Over Stats...Cheating..will be blocked.";
sleep2 5000;
atcommand "@block "+strcharinfo(0);
}
end;
}
how to change on login checker to every minute check. I try like this but not work, nubie here
- script autoban -1,{
OnPCLoginEvent:
attachnpctimer ""+strcharinfo(0)+"";
initnpctimer;
end;
OnTimer10000:
for( set .@i,13; .@i <=18; set .@i,.@i + 1 )
if( readparam(.@i) > 249 )
set .@OverStat,.@OverStat + 1;
if( .@OverStat ){
mes "You have Over Stats...Cheating..will be blocked.";
sleep2 5000;
atcommand "@block "+strcharinfo(0);
}
end;
}
thanks advanced