egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

changing source code for default banmask type

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
honeybee
Halfop


Joined: 01 Jan 2006
Posts: 80

PostPosted: Thu Jan 05, 2006 11:25 am    Post subject: changing source code for default banmask type Reply with quote

well iwant to change the default source code for banmask and i m not good with c can anyone do it for me?
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Jan 05, 2006 1:09 pm    Post subject: Reply with quote

Use this maskhost proc by user.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
honeybee
Halfop


Joined: 01 Jan 2006
Posts: 80

PostPosted: Thu Jan 05, 2006 7:50 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Thu Jan 05, 2006 8:20 pm    Post subject: Reply with quote

Using user's maskhost proc
Code:
set maskhostDefaultType 2

this will change the default type to *!*@ip. Or you can use this:
Code:
proc maskhost uhost {
 return *!*@[lindex [split $uhost @] 1]
}

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber