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.

capital ident

Old posts that have not been replied to for several years.
Locked
a
asssaf1

Post by asssaf1 »

i need command that when some one with capital letters in his ident join to my channel its kick him
please help me.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Code: Select all

proc join:capindentkick {nick uh hand chan} {
  regsub -all -- [lindex [split $uh @] 0] {[A-Z]} {} uh2
  if {$uh != $uh2} {
    puthelp "KICK $chan $nick :No capc allowed in ident"
  }
}
bind join - "*" join:capindentkick
Locked