I suppose that would work, but it's just plain ugly :tongue:

I wrote a semi-advanced chatclient of my own once, not for IRC but for Battle.net and it had to option to run a certain alias in a seperate thread.

Adding that feature was actually quite simple, and made the aliases a lot more powerful. Of course this was partly because the rest of the program was already multithreaded smile

The scripting language didn't have as many features as mIRC, but I'd like to think I did the right thing with the multithreading. Before I added timers I would actually just run an alias with an infinite loop and a sleep statement..