mIRC Home    About    Download    Register    News    Help

Print Thread
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
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
What's wrong with /uwho?

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
Joined: Dec 2002
Posts: 2,809
C
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.

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
Joined: Dec 2002
Posts: 2,809
C
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.

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
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
Joined: Dec 2002
Posts: 2,809
C
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.

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
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
You have to add a raw event.

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
Joined: Dec 2002
Posts: 2,809
C
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.

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

Link Copied to Clipboard