Most mIRC functions have a limit of around 940chars. The amount includes the associated command (//set %a $str(a,943) is OK but //set -u %a $str(a,943) or //set %aa $str(a,943) aren't) so account for that also.