jaytea commented on a mIRC Script, Easy Ban Protection v2.0  -  Mar 12, 2011

Merbo, you have it roughly backwards. the extra '$' will, if no value is returned, make mIRC abruptly end execution of the current routine without returning to the caller (it is precisely an implicit /halt without the side effect of /haltdef):

//echo -a * $?="Reason:" | echo -a next line

vs.

//echo -a * $$?="Reason:" | echo -a next line

the second will not proceed with the next echo if 'Cancel' is clicked.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.