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.

ban mask

Old posts that have not been replied to for several years.
Locked
User avatar
hikaro
Halfop
Posts: 68
Joined: Wed Mar 10, 2004 4:29 am

ban mask

Post by hikaro »

Hello i need some help here,


i got this code on my tcl scripts
set bmask [lindex [split [maskhost [getchanhost $nick $chan]] ~] end]
it will ban *!*ident@66.66.66.*

i want to change it like *!*ident@66.66.66.66

is it possible? any expert help me please...


Thank You
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Code: Select all

*!*[getchanhost $nick $chan]
User avatar
Kurupt
Voice
Posts: 26
Joined: Sun Aug 22, 2004 7:57 pm
Location: Hermanstat

Post by Kurupt »

Code: Select all

*!$uhost
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

i recommend this one:

Code: Select all

*!*[string trimleft $uhost ~]
while $uhost can still be replaced with getchanhost of course
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
Locked