you need to be using mIRC version 6.34 or 6.35 for this script to work correctly.
press ALT + R to open the mIRC's script editor function. the script is to be copy and pasted into a fresh remote file. if the remotes page is empty, then transfer it direct.
if there is a remote there already.... click file, new. that will create a new blank remote page for you to paste into :)