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.
General support and discussion of Eggdrop bots.
honeybee
Halfop
Posts: 80 Joined: Sun Jan 01, 2006 12:42 pm
Post
by honeybee » Thu Jan 05, 2006 11:25 am
well iwant to change the default source code for banmask and i m not good with c can anyone do it for me?
Sir_Fz
Revered One
Posts: 3793 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Thu Jan 05, 2006 1:09 pm
Use
this maskhost proc by user.
honeybee
Halfop
Posts: 80 Joined: Sun Jan 01, 2006 12:42 pm
Post
by honeybee » Thu Jan 05, 2006 7:50 pm
thanks but as i said i wanna change the source code for default banmask type. not tcl. lemme explain this to you by default you get a ban like *!ident@*.host but I dont want that, i want it to be *!*@host.ip
i tried to edit the source code for it its kinda too messy, hope any good C coder can recode it. thanks
Sir_Fz
Revered One
Posts: 3793 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Thu Jan 05, 2006 8:20 pm
Using user's maskhost proc
this will change the default type to *!*@ip. Or you can use this:
Code: Select all
proc maskhost uhost {
return *!*@[lindex [split $uhost @] 1]
}