mIRC Homepage
Posted By: N3M3S1S $address - 09/10/10 08:59 AM
In my nick list pop ups I have this:

Code:
Kick User:/kick $chan $nick
Ban User:/mode $chan +b $nick
Ban Host:/mode $chan +b $address($1,2)


Now for some reason $address doesn't always return. IAL is on. I even changed it to $mask($address($1,2),2) and the same results. Why is this?
Posted By: deVilbaT Re: $address - 09/10/10 09:56 AM
You need to do /who on #channel when joining or /whois <user>.

To ban user you can use /ban command. Try /help /ban.
Posted By: Riamus2 Re: $address - 09/10/10 03:26 PM
Right. And as an explanation of why you need to /who or /whois for IAL to work...

IAL doesn't just automatically fill up for you when you are on a channel. It will fill for each nick when the nick does something. For example, if you're on the channel and someone joins, changed their nick, types something, etc, then it will fill with their information. If you join a channel and try using a command on someone who was already in the channel and hasn't done anything besides idle since you joined, IAL won't be filled for that person. The way around that is to /who the channel or /whois the person to get the information to fill IAL.
Posted By: N3M3S1S Re: $address - 09/10/10 09:57 PM
Okay thanks guys laugh
Posted By: Masoud Re: $address - 10/10/10 02:43 PM
Also use $$1 instead of $1 to make sure the command will be executed when you selected a nickname from nicklist.
© mIRC Discussion Forums