is the maximum for return around 900 characters as it is for /set or is it less/more and does it vary as much as /set between systems ? what would be a safe maximum ammount for return ?
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.