Is it possible to force the IAL to update? I know the IAL only gets updated with a specific user when that user talks in a channel or performs an action or mode chnage, but is it possible to add a user (or all users in a channel for that matter) to the IAL without resorting to a whois lookup?

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...

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?

Realistically, you should always have an accurate hostmask of the user in your common channels. Unless you have tampered with /ial or /ialclear OR the user's hostmask has changed to a custom virtual host, you shouldn't need to update the IAL.

Realistically, you should always have an accurate hostmask of the user in your common channels. Unless you have tampered with /ial or /ialclear OR the user's hostmask has changed to a custom virtual host, you shouldn't need to update the IAL.

Code:

menu nicklist {
Sample menu:
.$ial($$1,1).host
}

That doesn't work unless the user already is in the IAL, hence the problem.

DaveC: What is this WhileFix DLL for? What does it do?

Brax: Yeah that's what I thought of doing originally, but it isn't very efficient.

WhileFix.dll allows you to run scripts without freezing mIRC. For example, you could have a variable incremented to one million in a while loop and still be able to do things in mIRC. You can download it here.

By the way, I was thinking of Brax's idea when I posted my suggestion (unfortunately mistaking /names for /who on join). I don't see why it's inefficient. It beats having to /who each person when right clicking their nickname.