why not just do

Code:
if ($1 == 001) { echo -a we got 001 }
elseif ($1 == 002) { echo -a we got 002 }


Anyone who says "but that's so much more code!" probably also believes in Santa Claus. It only starts becoming "more" after 10 cases at least, and anything more than 10 cases shouldn't even be a case switch anymore in mIRC-- there are many better ways to code a decision list for large decision item lists.



- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"