I am not 100% sure for this but the mIRC support DDE read about it may you will find that you need.

Use: /help dde

- Thanks!