29.12.2011, 11:20
Hello guys,i've this IRC Command to save all players online stats:
I need it to execute automatically every 10 minutes,instead of executing manually.
How i can?Thanks.
pawn Код:
IRCCMD:saveall(botid, channel[], user[], host[], params[])
{
if(!IRC_IsOp(IRC_EchoConnection[0],EchoChan,user)) return AccessDenied(user);
if(EchoStatus == 0) return 1;
for(new i=0; i<=MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i)) SavePlayer(i);
}
return 1;
}
How i can?Thanks.