mIRC Homepage
Posted By: Deep3D Quote pass on notice from server - 03/04/10 10:16 AM
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
Posted By: XperTeeZ Re: Quote pass on notice from server - 03/04/10 11:19 AM
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 }
Posted By: Deep3D Re: Quote pass on notice from server - 03/04/10 11:41 AM
(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..?
Posted By: XperTeeZ Re: Quote pass on notice from server - 03/04/10 11:53 AM
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
Posted By: Deep3D Re: Quote pass on notice from server - 03/04/10 12:06 PM
Cheers
Posted By: ltwally Re: Quote pass on notice from server - 07/06/10 11:56 PM
This is what works for me:

Code:
on 1:SNOTICE:*Ident broken or disabled*:/QUOTE PASS $15
Posted By: Dralspire Re: Quote pass on notice from server - 12/07/10 12:18 AM
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.
Posted By: 5618 Re: Quote pass on notice from server - 12/07/10 05:39 AM
If it's a space-delimited token you want then there's always $gettok($1-,-1,32)
Posted By: Tomao Re: Quote pass on notice from server - 12/07/10 06:07 AM
It would be simpler to just do:
Code:
on $1:snotice:/(quote pass .+)/i:{ $regml(1) }
© mIRC Discussion Forums