Check the licence details - distributing the executable with a script is a no-no anyway.

mIRC may only be distributed as the original distribution install file as distributed by mIRC Co. Ltd. The mIRC distribution install file may not be distributed as a part of any package, and may not have files added to it or removed from it, and none of its contents may be modified, decompiled, or reverse engineered.

PastMaster