Theres a dozen FOR scripts but they all lack multi line support. Its been argued by Khaled in the past that a while pretty much covers all your looping needs which is true in a way but a while can be quite annoying.
var %x = 0 , %y = 10
while (%x <= %y) {
..
inc %x
}
is a lot more annoying to type out then
for (%x=0,%y=10;%x <= %y;inc %x) {
..
}
It just looks ALOT better the pure aesthetic reasons are enough for me to want it BAD.
I guess a foreach could work in mIRC. %0 specifies the N parameter
foreach($nick(#,%0)) {
..
}
Where mIRC loops from 1 till $nick(#,0) rather then as long as it doesn't return NULL keeping hash tables in mind. The requirements for a foreachable identifier are simple there's an N parameter if N = 0 return the total amount of items. Which is basically how all mirc identifiers work.
Yes a while can do it all but other loop methods can cater to our scripting needs much more efficiently.