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 

the .+ignore command

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
while
Voice


Joined: 11 Jul 2009
Posts: 35
Location: beat mort

PostPosted: Thu Oct 18, 2012 2:59 pm    Post subject: the .+ignore command Reply with quote

hello. i have an eggdrop and I was wandering how can i change the length of the ignore comment(reason), it only 80 chars(which is not long enough for me) and i need it to be longer, say 150 chars. in what file(s)do i have to modify in the source code?
thanks.
_________________
Smile
Back to top
View user's profile Send private message
while
Voice


Joined: 11 Jul 2009
Posts: 35
Location: beat mort

PostPosted: Sat Oct 20, 2012 1:07 pm    Post subject: Reply with quote

finally cracked the problem thanks to spithash. thanks a lot man. i was looking in the wrong direction Razz
_________________
Smile
Back to top
View user's profile Send private message
spithash
Master


Joined: 12 Jul 2007
Posts: 245
Location: DALnet, EFnet & Freenode

PostPosted: Sun Oct 21, 2012 7:56 am    Post subject: Reply with quote

You are welcome dude, anytime Smile

So, to solve this thread, in case someone ever needs to increase the ignore comments' chars, all they need to do is, edit cmds.c in the src/ folder and change these:

Code:
else if (strlen(par) > 65)
par[65] = 0;


Then recompile and you're done Smile

Increase that 65 value to 200 for example and you can put longer ignore comments.

Enjoy Smile
_________________
DALnet #CodeMasters - EFnet #eggtcl Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming 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