Eh. I don't like suggesting to people that while loops are slow. They really aren't. Bad coding practices like unnecessary loops, are slow, but the actual looping mechanism itself isn't "slow" with respect to any other aspect of mIRC's scripting engine.

Rather than telling people that while loops are slow, tell them that they can find a better solution that doesn't require a loop or doesn't need to loop as much.

Multiple $reads and /writes are slow, so use $fread and /fwrite in while loops.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!