mIRC Homepage
Posted By: pheonix whois someone in an external channel - 13/05/03 05:53 PM
i was wondering how i can whois someone in an external channel to echo the channels that they are in to a dialog listbox.
i want to type their nickname in an edit box then click find
and echo the channels found in to a list box.
any ideas?
thankyou very much in advance
Posted By: codemastr Re: whois someone in an external channel - 13/05/03 05:57 PM
What's wrong with /uwho?
Posted By: pheonix Re: whois someone in an external channel - 13/05/03 05:57 PM
there isnt i suppose i just want to make a channels dialog of my own crazy
Posted By: codemastr Re: whois someone in an external channel - 13/05/03 06:09 PM
Well then you make a script that does /whois the_nick and then add raw events for each of the /whois numerics.
Posted By: pheonix Re: whois someone in an external channel - 13/05/03 06:10 PM
do you know where i can see a list of the whois raws?
Posted By: codemastr Re: whois someone in an external channel - 13/05/03 06:11 PM
Well, it sorta varies from network to network. What you should do is type /debug @debug
then /whois some_nick

That will show you all the numerics that your particular network uses.
Posted By: pheonix Re: whois someone in an external channel - 13/05/03 06:19 PM
ok thanks smile
Posted By: pheonix Re: whois someone in an external channel - 13/05/03 06:20 PM
i only typed that 1ce and it echod this confused

* Debug output on (@debug)
-
* Debug output on (@debug)
-
* Debug output on (@debug)
-
Posted By: codemastr Re: whois someone in an external channel - 13/05/03 06:23 PM
It should have created a window called @debug. Whenever you use an IRC command it will be displayed in @debug.
Posted By: pheonix Re: whois someone in an external channel - 13/05/03 06:41 PM
i found the raw numeric i was looking for
now when i use whois will it automatically use the raw in question?
Posted By: codemastr Re: whois someone in an external channel - 13/05/03 06:48 PM
You have to add a raw event.
Posted By: pheonix Re: whois someone in an external channel - 13/05/03 06:49 PM
i meant for example.
/whois $did(9)
raw 319:*:{
did -a $dname 1 $1-
}
or is there more to it than that?
Posted By: codemastr Re: whois someone in an external channel - 13/05/03 06:53 PM
You probably want to use groups (/help groups) because you don't want that to trigger whenever you type /whois, only when it is done for the dialog.
Posted By: pheonix Re: whois someone in an external channel - 13/05/03 07:39 PM
thanx very much grin
© mIRC Discussion Forums