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.

Something for linked bots

Old posts that have not been replied to for several years.
Locked
b
bleah

Post by bleah »

I guess that bots should be able to auto-synch when they are linked.

Example, you have Bot1, Bot2 and Bot3.

Bot1 and Bot2 are in #chan1, #chan2 and #chan3
Bot3 is in #chan1. Bot3 is set by default in the .conf file to +bitch

In Bot3, you .+chan #chan3. Bot3 gets opped (global +o), then starts mass deopping every op, except for bots and those with global +o.

Problem here is that Bot3 didn't get a userlist update for the new channel, from the hub.
Only way to fix the problem is to unlink Bot3, make the bot join the channel, and hope the userfile gets transfered and switched over before Bot3 gets ops.

There should be an auto-command (on/off) where leafs would ask the hub for a userfile update when adding new channels.

Just a suggestion for core eggdrop.
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

this does not need to be done in core, as tcl will suffice
unbind dcc n +chan *dcc:+chan
bind dcc n +chan dcc:pete+chan

proc dcc:pete+chan {hand idx arg} {
unloadmodule compress
unloadmodule share
*dcc:+chan $hand $idx $arg
loadmodule share
loadmodule compress
}
take the compress stuff out if you dont use it
Locked