This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

bind pubm

Old posts that have not been replied to for several years.
Locked
N
Nexus6
Op
Posts: 114
Joined: Mon Sep 02, 2002 4:41 am
Location: Tuchola, Poland

bind pubm

Post by Nexus6 »

Hi, I'm using one tcl and it works. I have probs with spammers so I wanted to ban for *#* string

so I added
bind pubm - "*#*" pub_dont_invite
but it bans for ANY text, guess bind - * proc and then string match would fix it but I wonder if it could be done in bind.

I also wonder if there is a way to make bot react only on people who use nicks without numbers and special chars.

Thanks for any help
d
darko``
Op
Posts: 121
Joined: Sun Sep 08, 2002 5:33 pm
Location: Malta

Post by darko`` »

1) Try binding to "#*#*"

2) This will match only nicks containing a-z and A-Z letters:
if {[regexp "^\[a-zA-Z\]{[string len $nick]}" $nick]} { nick has only upper and lowercase letters...}
Ignorant and lazy people will save 30 minutes by chosing simple config file. Smart ones will save 3000 minutes of *everyone's* time by opting for complete config file.
Locked