If you made the program yourself you could have it communicate with mIRC using DDE or SendMessage, otherwise you'll just have to poll for updates using a timer.