mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 483
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
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

Joined: Nov 2009
Posts: 20
X
Ameglian cow
Offline
Ameglian cow
X
Joined: Nov 2009
Posts: 20
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
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
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.
Joined: Nov 2009
Posts: 20
X
Ameglian cow
Offline
Ameglian cow
X
Joined: Nov 2009
Posts: 20
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
Deep3D Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Dec 2002
Posts: 483
Cheers

Joined: Mar 2010
Posts: 8
L
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
L
Joined: Mar 2010
Posts: 8
This is what works for me:

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

Joined: Sep 2008
Posts: 5
D
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
D
Joined: Sep 2008
Posts: 5
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.

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
If it's a space-delimited token you want then there's always $gettok($1-,-1,32)

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


Link Copied to Clipboard