I have this script
set .@size, query_sql( "select nombre from asesinoss where exp > 10 order by exp desc limit "+ .top, .@nombre$);
for (set .@c, 0; .@c < .@size; set .@c, .@c + 1)
mes "Top ^FF0000" +(.@c + 1) +"^000000 ^0000FF" + .@nombre$[.@c] +"^000000 ";
message .@nombre$[.@1],"Alguien os busca";
message .@nombre$[.@2],"Alguien os busca";
close;
OnInit: // Script Configuration
set .a, 1; //
set .top, 10; //
end;
}
it works, take a rank of table "asesinoss" with order, but when i want to send a message to all 10 of rank, the message only send to the first of rank, anyone can help me please? thanks!