As a result of a call to $regsubex(name,string,pattern,sub,&out), it's possible to get an empty string returned, in this case $regsubex does create the &out binvar, with nothing in it.

If you try to /bcopy from a binvar like that, which is created and $bvar(&out) is not $null, /bcopy reports an error, I think this is a bug and that it should naturally do nothing if there's nothing to copy, only if the binvar does not exist at all, aka $bvar(&out) is $null, /bcopy should report an error.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel