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.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
rosc2112
Revered One
Posts: 1454 Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania
Post
by rosc2112 » Thu Mar 02, 2006 9:51 pm
Along the same lines as my previous note, is there *any* bad channel ban script that can handle brackets ({ and [ for example) and other special chars without choking? This is frustrating
Alchera
Revered One
Posts: 3344 Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:
Post
by Alchera » Thu Mar 02, 2006 9:56 pm
Try
xchannel.tcl by demond.
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Fri Mar 03, 2006 4:04 am
Creating a badchan script that doesn't choke on brackets/braces isn't hard at all.
the hard part is finding a public one
rosc2112
Revered One
Posts: 1454 Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania
Post
by rosc2112 » Fri Mar 03, 2006 6:18 am
How do you get [ into a list to even work with?
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Fri Mar 03, 2006 12:07 pm
Why do you need a list in the first place?
You could just make an array.
like, badchan(<channel joined>,<badchan>) <whatever>
simply check the whole array ie,
Code: Select all
foreach thing [array names badchan "#channel,*"] {
if {[string equal -nocase "<channel you got from whois>" [lindex [split $thing ,] 1]]} {
ban them
}
}