Ah, great! Thanks!
Ok, this leads me to my next question...
When I right-click on a user, I want it to show their hostmask. However I first have to detect if their hostmask is in the IAL, and if not, add it in there, so the address will show up. But it doesn't quite work out the way I want. Here's what I have...
menu nicklist {
Sample menu : .
$submenu($testing($1))
}
alias -l testing {
if (($1 == begin) || ($1 == end) || ($1 > 1)) { return - }
if (!$ial($snick(#, 1))) { who $snick(#, 1) }
return $address($snick(#, 1)) : .
}
Now, if I right-click on a nickname not in the IAL, nothing shows up under "Sample Menu." But if I right-click agian, then the address will show up (because it gets updated during the first right-click.)
Is there any way to update the IAL "on the fly" when I right-click on a username for the first time?