mIRC Home    About    Download    Register    News    Help

Print Thread
Quote pass on notice from server #219962 03/04/10 10:16 AM
Joined: Dec 2002
Posts: 477
Deep3D Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Dec 2002
Posts: 477
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

Re: Quote pass on notice from server [Re: Deep3D] #219964 03/04/10 11:19 AM
Joined: Nov 2009
Posts: 20
X
XperTeeZ Offline
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 }

Re: Quote pass on notice from server [Re: XperTeeZ] #219966 03/04/10 11:41 AM
Joined: Dec 2002
Posts: 477
Deep3D Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Dec 2002
Posts: 477
(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.
Re: Quote pass on notice from server [Re: Deep3D] #219967 03/04/10 11:53 AM
Joined: Nov 2009
Posts: 20
X
XperTeeZ Offline
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.
Re: Quote pass on notice from server [Re: XperTeeZ] #219970 03/04/10 12:06 PM
Joined: Dec 2002
Posts: 477
Deep3D Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Dec 2002
Posts: 477
Cheers

Re: Quote pass on notice from server [Re: XperTeeZ] #222136 07/06/10 11:56 PM
Joined: Mar 2010
Posts: 8
L
ltwally Offline
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

Re: Quote pass on notice from server [Re: Deep3D] #223004 12/07/10 12:18 AM
Joined: Sep 2008
Posts: 5
D
Dralspire Offline
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.

Re: Quote pass on notice from server [Re: Dralspire] #223013 12/07/10 05:39 AM
Joined: Jun 2007
Posts: 933
5
5618 Offline
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)

Re: Quote pass on notice from server [Re: 5618] #223014 12/07/10 06:07 AM
Joined: Jul 2007
Posts: 1,129
T
Tomao Offline
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) }