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.

Setting User in User File

General support and discussion of Eggdrop bots.
r
rrc55
Voice
Posts: 29
Joined: Wed Mar 11, 2009 9:33 am

Post by rrc55 »

So edit the source code and recompile? I'm scared. :shock:

I found this towards the end of the function:

Code: Select all

if (server_cycle_wait)
      /* Back to 1st server & set wait time.
       * Note: Put it here, just in case the server quits on us quickly
       */
      cycle_time = server_cycle_wait;
    else
      cycle_time = 0;
Could I just replace the else statement or should I replace the entire if statement or should I add it somewhere else?

Thank you kind sir :!: :D
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

Sorry, my bad, was supposed to write disconnect_server(). You'll find it in the same file though.. I'll update my previous post as well. And you could add the line pretty much anywhere within the function, I'd suggest in the end.

And yes, you edit the file, and recompile.
NML_375
r
rrc55
Voice
Posts: 29
Joined: Wed Mar 11, 2009 9:33 am

Post by rrc55 »

Just one last problem. I just noticed that my bot automatically removes bans in the channel. I can't figure out what setting would stop this. I have enforcebans and most of my channel set settings turned off in my config. :x It has a mind of its own. Please help. Thanks.
D
DaRkOoO
Halfop
Posts: 67
Joined: Sat Sep 27, 2008 7:27 am

Post by DaRkOoO »

Maybe you've setuped global ban-time 120?Put it to 0,and change it from 120 to 0 for every channel =)
r
rrc55
Voice
Posts: 29
Joined: Wed Mar 11, 2009 9:33 am

Post by rrc55 »

Wow. I must have read over that setting like a 1000 times . :oops:

Thank you. :D
Post Reply