mIRC should include for loops. This is for those who are wondering what the heck a FOR loop is..
for (starting command;condition;ending command) {
command
}
Example:
for (set %x 1;%x <= 16;inc %x) {
echo -a %x
}
The above command is the same as:
set %x 1
while (%x <= 16) {
echo -a %x
inc %x
}