The easiest way to use !seen and !ip is to add the commands to your NickList in mIRC (or any compatible IRC client that allows scripting). These allow you to right-click a nickname and send the commands to wenchie without having to open a query window and type the commands out, including the nickname or IP address/host info.

See this post for info on !seen and !ip if you aren't familiar with them: https://sex.ircchannels.net/ops-and-voice-users-bot-users-on-sex/

To add commands to the nickname list in mIRC, just click the scripting icon in the menu bar (5th from the left – the ‘paper scroll”), then select the Popups tab, click View in the menu, and make sure you have NickList selected.

You should see something like this (my default is slightly modified):

Info:/uwho $1 $1
Whois:/whois $$1 $$1
Query:/query $$1
Notify:/notify $$1

Control
.Ignore:/ignore $$1 3
.Unignore:/ignore -r $$1 1
.Op:/mode # +ooo $$1 $2 $3
etc, etc

To add the IP and Seen commands, just pick your favorite spot and copy and paste the lines below where you want them to show up. I put mine right under the existing !Notify command.

!ip: /msg wenchie !ip $$1
!seenW: /msg wenchie seen * $+ $gettok($address($$1,5),2,64)
!seen: /msg wenchie seen $$1
!srvW: /msg wenchie seen * $+ $right($address($$1,0),-2)

The 1st line does the IP lookup based on the nick.
The 2nd line is a wIldcard seen lookup.  It will return any nick or nicks that host/ip has used. “!seenW” – you need to send the user's address/host, not the nick, so this little bit of script extracts the address/host and adds the * at the front.
The 3rd line does a seen on the nickname only. It will show when that specific nickname was last seen.
The 4th line deserves an explanation. Web-based hosts like Mibbit, IRCCloud and KiwiIRC all use the same hosts/IPs. We need to use the ident@host string to get a unique seen response. Otherwise, seen will return something like “found 1,225 unique users” and won't show you anything. This little bit of code leaves the IDENT@ in place. The !srvW means “service wildcard”. It will return any nicks that ident/host has used.

You can edit the command labels – In fact, the text before the :'s are just that – labels. You can change them if you want, just leave the : and the code in place 🙂

Here's the top part of mine:

Info:/uwho $$1 $$1
Whois:/whois $$1 $$1
Query:/query $$1
Notify:/notify $$1

!ip:/msg wenchie !ip $$1
!seenW:/msg wenchie seen * $+ $gettok($address($$1,5),2,64)
!seen:/msg wenchie seen $$1

!srvW:/msg wenchie seen * $+ $right($address($$1,0),-2)

Control
.Ignore:/ignore $$1 3
.Unignore:/ignore -r $$1 1
etc, etc

Note: the $$1 means the value is required (a selected NickName in the list in this case).  Without it, that alias will not run. You might notice I changed the Whois entry to send the user's nickname twice – Undernet only shows a user's idle time if you do that.
Also, I separate the !srvW command from the others so I don't accidently click it all the time.
Lastly, the ‘-‘ characters on their own lines are separators in your popup menu.