mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2005
Posts: 30
Z
Zedrick Offline OP
Ameglian cow
OP Offline
Ameglian cow
Z
Joined: May 2005
Posts: 30
I have been using the IRC Client Konversation and when you do a whois in Konversation, it has a new line displayed in the whois for each channel level - normal user - voice - halfop - op - with the list of channels on that level.

[Whois] Zedrick is zedrick@123.net (Zedrick)
[378] Zedrick is connecting from zedrick@123.net 111.111.111.111
[Whois] Zedrick is a user on channels: #normal
[Whois] Zedrick has voice on channels: #voice
[Whois] Zedrick is a halfop on channels: #halfop
[Whois] Zedrick is an operator on channels: #op
[Whois] Zedrick is owner of channels: #owner
[Whois] Zedrick is admin on channels: #admin
[Whois] Zedrick is online via 123.irc.net (irc.net).
[379] Zedrick is using modes +ix
[Whois] Zedrick has been idle for 1 minute and 25 seconds.
[Whois] Zedrick has been online since 04/07/2009 05:06:59 PM.
[Whois] End of WHOIS list.


can mIRC have this as the whois, it looks quite neat having the whois this way.

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Yes, this can be done. It's called using a script.
You would have to catch tbe returns of the raw numerics (which any whois script already does), then store the proper information until the whois was complete, then display the channel information in the format that you want.

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
You maybe want to look at raw's.
and the numerics should be used in this event
Code:
raw *:*: {
 haltdef
 if ($numeric == 301) { echo -a $1- }
 elseif ($numeric == 310) { echo -a $1- }
 elseif ($numeric == 311) { echo -a $1- }
 ;rest of raw's are found in the url i gave you.
}

Then you need to filter out what you want to see, this is done by use $1 $2 $3 and so on. And everything goes in to your remote section, ALT + R in mirc.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard