mIRC Home    About    Download    Register    News    Help

Print Thread
#198138 21/04/08 06:46 PM
Joined: Jun 2004
Posts: 139
N
Ninko Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Jun 2004
Posts: 139
Hi there,
Which ON EVENT is needed to be used to responde to certain text in a WHOIS response?

Thanks


Ninko

Joined: Dec 2002
Posts: 2,033
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,033

They're raw events. Here is a good raw numerics reference, whois numerics are 311,312,313,317,318 & 319.

/help raw events

RoCk #198142 21/04/08 07:15 PM
Joined: Jun 2004
Posts: 139
N
Ninko Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Jun 2004
Posts: 139
I use DALnet, and I'm trying to responde if the text 'has identified for this nick' is found in their WHOIS.

Which raw num would that be?

Thanks


Ninko

Joined: Dec 2002
Posts: 2,033
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,033

307

You can find out what the numerics are by putting this code in your script editor under the remote tab.

raw *:*:echo -a $+(04,$numeric,) ~ $+(02,$1-,) | haltdef

~ Edit ~
Extra whois numerics are 307,308,309 & 310. There may be a 301 (Away reply) for whois too if the user is set away.



RoCk #198144 21/04/08 07:28 PM
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
or type /debug @debug and you can see all raw messages pass through the @debug window


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
RoCk #198146 21/04/08 07:29 PM
Joined: Jun 2004
Posts: 139
N
Ninko Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Jun 2004
Posts: 139
Ohhh thats a very useful tool, thank you!

One more question though, is it possible to responde to text found in a QUIT message?

Thanks


Ninko

Joined: Dec 2002
Posts: 2,033
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,033

That too.

Joined: Dec 2002
Posts: 2,033
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,033

/help on quit

The quit message is $1-

RoCk #198149 21/04/08 07:32 PM
Joined: Jun 2004
Posts: 139
N
Ninko Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Jun 2004
Posts: 139
Ohhh yes sorry RoCk, I missed that bit in the help file.

Thanks so much for your help!


Ninko


Link Copied to Clipboard