mIRC Homepage
Posted By: NeoN $isalias().alias bug - 23/03/04 09:48 PM
$isalias().alias only returns the first line of an alias.

Code:
in aliases:

test {
  ; stuff here
}

from editbox:

//echo -a $isalias(test).alias
 


output: {
Posted By: tidy_trax Re: $isalias().alias bug - 23/03/04 09:52 PM
i noticed that, but i guessed it was intentional, considering most identifiers only return one line of text.
Posted By: starbucks_mafia Re: $isalias().alias bug - 24/03/04 12:52 AM
I could've sworn it said somewhere that it only worked for single-line aliases, but I can't find any documentation on that.

Anyway, a variable can't permanently store multi-line strings and you'd very often overrun the ~950 char limit so it wouldn't be much good in a majority of cases. Perhaps it would be good as a feature suggestion to have a &binvar as a second parameter to hold the entire alias definition.
© mIRC Discussion Forums