Just add a check for the value of a variable to act as a break statement, and then keep appending to that condition for each case and you've got a working select statement (and some ugly, inefficient code).

In any case, yes it can be done and it's not rocket science, but it's not anywhere near as easy to do as the simple shifting of a variable creation and reassignment onto new lines that is required for a for loop to become a while loop.

Anyway, either would be quite nice to have in mIRC I guess.

Spelling mistakes, grammatical errors, and stupid comments are intentional.