OnMinute10:
query_sql( "SELECT `account_id` from `char` where `online` = '1'", .@account_id);
for(set .@i,0; .@i<getarraysize(.@account_id); .@i++){
attachrid .@account_id[.@i];
If(strcharinfo(3)=="amatsu")mes "Hello and welcome in amatsu";
close2;
detachrid;
end;
}
It's should work. I have wrote it on my mobile phone.
Rynbef~