I think mIRC should support foor loops. I think they are pretty slick, and cleaner then having to use while loop all the time.

For example, in c/c++:

for (int i = 0; i < 5; i++)
{
bleh;
}

Well in mIRC:

for (int %i = 0,%i < 5,inc %i) { bleh }