try this
got 6 overstats = ban
any stats over = announce
- script Sample -1,{
OnPCLoginEvent:
for( set .@i,13; .@i <=18; set .@i,.@i + 1 )
if( readparam(.@i) > 255 )
set .@OverStat,.@OverStat + 1;
if( .@OverStat >= 6 ){
mes "You have Over Stats...Cheating..will be blocked.";
sleep2 5000;
atcommand "@block "+strcharinfo(0);
}else if( .@OverStat ){
announce "OMG.."+strcharinfo(0)+" have overstats....",0;
}
end;
}
any stats over = ban
- 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;
}