actualy there could be problems with shared resources. This is what the critical section object was made for. Openeing a thread for just any plain alias would be nice but i would suggest limiting it. For example only one thread can write to a file or draw to a picwin at a time.

Another solution would be add switches etc.. for the commands and identifiers (like findfile and while) wich can halt mirc. such a switch will cause it to run in a new thread but not just any ole alias could.


Have Fun smile