mIRC Home    About    Download    Register    News    Help

Print Thread
whois someone in an external channel #23977 13/05/03 05:53 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
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


new username: tidy_trax
Re: whois someone in an external channel #23978 13/05/03 05:57 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
What's wrong with /uwho?

Re: whois someone in an external channel #23979 13/05/03 05:57 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
there isnt i suppose i just want to make a channels dialog of my own crazy


new username: tidy_trax
Re: whois someone in an external channel #23980 13/05/03 06:09 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Well then you make a script that does /whois the_nick and then add raw events for each of the /whois numerics.

Re: whois someone in an external channel #23981 13/05/03 06:10 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
do you know where i can see a list of the whois raws?


new username: tidy_trax
Re: whois someone in an external channel #23982 13/05/03 06:11 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
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.

Re: whois someone in an external channel #23983 13/05/03 06:19 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
ok thanks smile


new username: tidy_trax
Re: whois someone in an external channel #23984 13/05/03 06:20 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
i only typed that 1ce and it echod this confused

* Debug output on (@debug)
-
* Debug output on (@debug)
-
* Debug output on (@debug)
-


new username: tidy_trax
Re: whois someone in an external channel #23985 13/05/03 06:23 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
It should have created a window called @debug. Whenever you use an IRC command it will be displayed in @debug.

Re: whois someone in an external channel #23986 13/05/03 06:41 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
i found the raw numeric i was looking for
now when i use whois will it automatically use the raw in question?


new username: tidy_trax
Re: whois someone in an external channel #23987 13/05/03 06:48 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
You have to add a raw event.

Re: whois someone in an external channel #23988 13/05/03 06:49 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
i meant for example.
/whois $did(9)
raw 319:*:{
did -a $dname 1 $1-
}
or is there more to it than that?


new username: tidy_trax
Re: whois someone in an external channel #23989 13/05/03 06:53 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
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.

Re: whois someone in an external channel #23990 13/05/03 07:39 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
thanx very much grin


new username: tidy_trax