By "doesn't work", do you mean that the tip displays, but it doesn't call your alias?

Using a simplified version of your example, I can get it to trigger the alias only when called as an $identifier. Try this command after loading the code at the bottom.

Quote:
//var %j 2 | while (%j) { var %i 1 | while (%i isnum 1-9) { tiptest %i | inc %i } | dec %j }


The alias only gets triggered when called as $foo identifier. But I'm not sure how special that is, because $foo would also trigger if it were part of the message parameter. I couldn't get it to trigger /foo even if i filled in the 3 $null parameters.

I also noticed something that I'm not sure is intended behavior. When the alias parameter contains only an $identifier, the messages all display in the same tip window regardless of the parameters. On the other hand, even though the alias doesn't get triggered when not called as an identifier, it only shows the next next tip in the same tip window if it's also a non-identifier and the alias parameter is spelled exactly the same case-insensitive way.

Code:
alias foo { echo -a fooalias isid $isid (1-) $1- }
alias tiptest {
  if ($1 == 1) noop $tip(highlight,::Highlight:: $network,$time : msg $1,,,, foo     ,)
  if ($1 == 2) noop $tip(highlight,::Highlight:: $network,$time : msg $1,,,, foo     ,)
  if ($1 == 3) noop $tip(highlight,::Highlight:: $network,$time : msg $1,,,,/foo     ,)
  if ($1 == 4) noop $tip(highlight,::Highlight:: $network,$time : msg $1,,,,/foo 1   ,)
  if ($1 == 5) noop $tip(highlight,::Highlight:: $network,$time : msg $1,,,,/foo 2   ,)
  if ($1 == 6) noop $tip(highlight,::Highlight:: $network,$time : msg $1,,,,$foo     ,)
  if ($1 == 7) noop $tip(highlight,::Highlight:: $network,$time : msg $1,,,,$foo(1)  ,)
  if ($1 == 8) noop $tip(highlight,::Highlight:: $network,$time : msg $1,,,,$foo(2)  ,)
  if ($1 == 9) noop $tip(highlight,::Highlight:: $network,$time : msg $1,,,,$foo(2) x,)
}