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.

the .+ignore command

Discussion of Eggdrop's code and module programming in C.
Post Reply
w
while
Voice
Posts: 34
Joined: Sat Jul 11, 2009 9:05 am
Location: beat mort

the .+ignore command

Post by while »

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.
:)
w
while
Voice
Posts: 34
Joined: Sat Jul 11, 2009 9:05 am
Location: beat mort

Post by while »

finally cracked the problem thanks to spithash. thanks a lot man. i was looking in the wrong direction :P
:)
User avatar
spithash
Master
Posts: 249
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Post by spithash »

You are welcome dude, anytime :)

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: Select all

else if (strlen(par) > 65)
par[65] = 0;
[/b]

Then recompile and you're done :)

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

Enjoy :)
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Post Reply