Ok this is done a bit differently all you do is load this on your bot then do .search nickhere/iphere. screen shot of an example
it returns all nicks with the ip if you do ip and it will tell you one channel they are in. this uses the /who command so you don't even have to have the person in the room with you the /who command does a full site scan. Now complications with this are it works perfectly on any chatspace server but on ircd some are set up so only admins can use the /who command so you need to figure out if you can use it if you want to use this on an ircd to find out just do /who then look at your status screen if you get info on every visible nick on the site you can use it. Ty onions for the help
on *:text:*:#: {
tokenize 32 $strip($1-)
if ($1 == .search) {
.set %msgnick $nick
search $2
}
}
alias search {
window -hn @Getnicks
aline @Getnicks $+(*,$1,*)
.who
}
raw 352:*: {
if ($window(@Getnicks)) && ($line(@Getnicks,1) iswm $1-) {
msg %msgnick $1-
}
}
raw 315:*: { if ($window(@Getnicks)) window -c @Getnicks }