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 

MegaHAL - Quit leaving channels!

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


Joined: 27 Dec 2009
Posts: 11

PostPosted: Thu Mar 11, 2010 4:28 pm    Post subject: MegaHAL - Quit leaving channels! Reply with quote

Is there any way to make the Eggdrop-bot refrain from leaving channels that it is added and/or invited to?

I have looked through the Eggdrop.conf file, but I seem unable to find anything that helps. =1

I managed to connect the bot through BitlBee, talking to it in private conversations, but when I try to make it join a group chat (using BitlBee commands through putty), it just immediately leaves it, saying it did not want to join the channel (Literally).
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2846

PostPosted: Thu Mar 11, 2010 4:55 pm    Post subject: Reply with quote

Use the "channel add" tcl command, or using the partyline, use the ".+chan" command?
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Zeyra
Voice


Joined: 27 Dec 2009
Posts: 11

PostPosted: Thu Mar 11, 2010 5:14 pm    Post subject: Reply with quote

nml375 wrote:
Use the "channel add" tcl command, or using the partyline, use the ".+chan" command?


The problem is that using BitlBee, when you type the BitlBee command for joining a MSN-group chat, it joins the channel &Chat000. If that channel is taken, it joins &chat001, etc - Issue being that it just immediately tries to join it, without giving me time to add it to the "channels list":
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2846

PostPosted: Thu Mar 11, 2010 5:19 pm    Post subject: Reply with quote

Ahh, unfortunately, eggdrop has never played nicely with forced-join servers..
You could have a script trigger on join commands - if the target nick is your eggdrop's nick, issue the "channel add" command. Might be best to use a raw binding to prevent eggdrop from noticing the unexpected join.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Zeyra
Voice


Joined: 27 Dec 2009
Posts: 11

PostPosted: Thu Mar 11, 2010 5:50 pm    Post subject: Reply with quote

I am afraid I do not have any idea how to make such a script. =1

Are there no settings that can be added to the configuration folder that kills the part of the Eggdrop that leaves channels it does not have in its list? Any modules that does such?


Quote:
.say &bitlbee chat with Zeyrawr
[23:01] tcl: builtin dcc call: *dcc:say Zeyra 5 &bitlbee chat with Zeyrawr
[23:01] #Zeyra# (&bitlbee) say chat with Zeyrawr
Said to &bitlbee: chat with Zeyrawr
[23:02] <root> (Possible) failure while trying to open a groupchat with zeyrawr.
[23:02] joined &chat_004 but didn't want to!
[23:02] Oops. Someone made me join &chat_004... leaving...
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 -> 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