The $$ is halting the script from processing when
cancel is clicked .. try using one $ instead.

type /help $$

~ Edit ~

From mirc.hlp

The double $$ means that this command will only be executed if a parameter is specified. If you specify only one parameter in the above command it will not be executed.

Last edited by mIRCManiac; 19/02/06 01:29 PM.