Help with regex

These are old archives. They are kept for historic purposes only.
Post Reply
Toni
Posts: 4
Joined: Wed Oct 08, 2008 5:08 pm

Help with regex

Post by Toni »

Is there any chance i can block >>> * on realname ?

example this kind of realname *a*e*


» stoney ([email protected]) [Internic Network]
» ircname: *a*e*
Bunkerwaiss
Posts: 36
Joined: Thu Dec 27, 2007 8:48 am

Re: Help with regex

Post by Bunkerwaiss »

If the '*' is the first character, try:

Code: Select all

/spamfilter add u block - Some_Explanation_BAN_Text ^\*(.+)
You can use kill instead of block

Remember, if you wanna use ban reasons with spaces, use underscores between words, as:

Code: Select all

Some_Explanation_BAN_Text
Post Reply