Page 1 of 1

Help Me with regex

Posted: Thu Mar 03, 2005 7:31 am
by HeSMa
I need help with the regex for the quit
#FullPlanet: ºª ! // El mejor CyberCafe de Concepcion ABIERTO LAS 24 HORAS, ExCyberia Planet AHORA MEJOR "FULL PLANET", Tu eleccion // http://www.fullplanet.cl (en construccion) // Aurelio Manzano #575 (pasaje corto Al frente de supermercado las brisas)
sorry my english

:(

Posted: Thu Mar 03, 2005 10:17 am
by Dukat
Matching your exact quit message:

Code: Select all

/SPAMFILTER ADD q block - - ^#FullPlanet: ºª ! // El mejor CyberCafe de Concepcion ABIERTO LAS 24 HORAS, ExCyberia Planet AHORA MEJOR "FULL PLANET", Tu eleccion // www\.fullplanet\.cl \(en construccion\) // Aurelio Manzano #575 \(pasaje corto Al frente de supermercado las brisas\)$
Matching anything containing the URI:

Code: Select all

/SPAMFILTER ADD q block - - .*www\.fullplanet\.cl.*

You could also just add a badwords block to your unrealircd.conf:

Code: Select all

badword quit {
        word ".*www\.fullplanet\.cl.*";
        replace "Client Exited";
};
This has the advantage that you can replace the bad word :wink:

Posted: Fri Mar 04, 2005 4:19 am
by HeSMa
Thanz Very Much... i'm noob in regex :(

Posted: Sat Mar 05, 2005 7:35 am
by MJ
or you just can entirely remove any adveritisement on *quit* or on *Part* from unrealircd.conf all the way down look for it :)

quit msg

Posted: Sun Aug 14, 2005 12:36 pm
by X-TREM
You can also add your own quit msg when users disconnects from your network.

Just add this to your unrealircd.conf

static-quit "You can also visit us at http://www.domain.com";

and everyone that disconnects from the server will have the same quit msg. :wink: