Work in progress. Still not working 100% with mIRC, need to find a way to sleep or wait for the script to complete.