mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 483
D
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
D
Joined: Dec 2002
Posts: 483
Why do not this work?

Code:
on 1:notice:*ident broken*QUOTE*PASS*:?:{ quote pass $15 }


(Apr 03 12:11:43) -*.org- *** No response to ident check, to continue to connect you must type /QUOTE PASS 91978

X
XperTeeZ
XperTeeZ
X
In triggering notice, there is no "ident broken" phrase.

In order for this script to work, you will need to remove "broken" part, since it doesn't appear.

Code:
on 1:notice:*No response*ident*QUOTE*PASS*:?: { quote pass $15 }

Joined: Dec 2002
Posts: 483
D
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
D
Joined: Dec 2002
Posts: 483
(Apr 03 13:39:10) -us.undernet.org- *** Ident broken or disabled, to continue to connect you must type /QUOTE PASS 19162

Code:
on 1:notice:Ident broken or disabled, to continue to connect you must type*:?:{
  quote pass $14
}


It dosn't work, I also tryed using * infront of Ident broken...bla bla..

It respond to notice from client, but not from server..?

Last edited by Deep3D; 03/04/10 11:50 AM.
X
XperTeeZ
XperTeeZ
X
That is because server uses Server notice, not NOTICE. You ought to use SNOTICE event in situation like this:

Code:
on 1:snotice:Ident broken or disabled, to continue to connect you must type*: quote pass $14

Last edited by XperTeeZ; 03/04/10 11:54 AM.
Joined: Dec 2002
Posts: 483
D
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
D
Joined: Dec 2002
Posts: 483
Cheers

L
ltwally
ltwally
L
This is what works for me:

Code:
on 1:SNOTICE:*Ident broken or disabled*:/QUOTE PASS $15

D
Dralspire
Dralspire
D
I encountered two different "quote pass" server notices from Undernet:

Quote:
*** Ident broken or disabled, to continue to connect you must type quote pass ...
*** No response to ident check, to continue to connect you must type /quote pass ...

The problem then comes from (1) counting off which word is your code, i.e. the $14 and $15 in the posts above, and (2) identifying the server notice string. I propose the following solution:

Code:
on 1:snotice:*quote pass*:quote pass $right($1-,5)

$right($1-,5) simply identifies the last 5 characters in the server notice line ($1-), so the number of words becomes irrelevant.

5
5618
5618
5
If it's a space-delimited token you want then there's always $gettok($1-,-1,32)

Joined: Jul 2007
Posts: 1,124
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,124
It would be simpler to just do:
Code:
on $1:snotice:/(quote pass .+)/i:{ $regml(1) }


Link Copied to Clipboard