mIRC Homepage
Posted By: Adler %varnames - 20/09/06 11:15 AM
if ($+(%,echo.protection., [ $gettok($address($nick,2),2,64) ]) == $2-) { halt }
set -u30 $+(%,echo.protection., [ $gettok($address($nick,2),2,64) ]) $2-

why does my ifmatch not identify the condition with this variable?

My cmd with $+() working on set perfectly
Posted By: hixxy Re: %varnames - 20/09/06 11:23 AM
To set the variable, $+() is fine, but to retrieve the value you need to evaluate it twice:
Code:
$eval($+(%,echo.protection.,$gettok($address($nick,2),2,64)),2)
Posted By: Adler Re: %varnames - 20/09/06 11:32 AM
okay thanks, the good old mirc scripting time. I forgot the most in the last years frown
© mIRC Discussion Forums