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 

Setting User in User File
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
rrc55
Voice


Joined: 11 Mar 2009
Posts: 29

PostPosted: Sat Mar 21, 2009 1:16 pm    Post subject: Reply with quote

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

I found this towards the end of the function:

Code:
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 Exclamation Very Happy
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sat Mar 21, 2009 2:38 pm    Post subject: Reply with quote

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, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
rrc55
Voice


Joined: 11 Mar 2009
Posts: 29

PostPosted: Wed Mar 25, 2009 12:56 am    Post subject: Reply with quote

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. Mad It has a mind of its own. Please help. Thanks.
Back to top
View user's profile Send private message
DaRkOoO
Halfop


Joined: 27 Sep 2008
Posts: 67

PostPosted: Wed Mar 25, 2009 3:22 pm    Post subject: Reply with quote

Maybe you've setuped global ban-time 120?Put it to 0,and change it from 120 to 0 for every channel =)
Back to top
View user's profile Send private message
rrc55
Voice


Joined: 11 Mar 2009
Posts: 29

PostPosted: Wed Mar 25, 2009 4:03 pm    Post subject: Reply with quote

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

Thank you. Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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