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.

Joining multiple channels

General support and discussion of Eggdrop bots.
Post Reply
J
Jack Sparrow
Voice
Posts: 5
Joined: Sat May 02, 2009 7:23 am

Joining multiple channels

Post by Jack Sparrow »

Is there an easier way to join multiple channels at the same time instead of entering the following in the eggdrop.conf several times?


channel add #JoinChanOne {
chanmode "+nt-lkims"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
aop-delay 5:30
need-op { putserv "PRIVMSG CS :op #JoinChanOne" }
need-invite { putserv "PRIVMSG CS: inv #JoinChanOne" }
need-unban { putserv "PRIVMSG CS: unban #JoinChanOne" }
flood-chan 5:10
flood-deop 3:10
flood-kick 3:10
flood-join 5:60
flood-ctcp 3:60
flood-nick 5:60
}
channel set #JoinChanOne -enforcebans
channel set #JoinChanOne +dynamicbans
channel set #JoinChanOne +userbans
channel set #JoinChanOne +dynamicexempts
channel set #JoinChanOne +userexempts
channel set #JoinChanOne +dynamicinvites
channel set #JoinChanOne +userinvites
channel set #JoinChanOne +greet
channel set #JoinChanOne -protectops
channel set #JoinChanOne +protectfriends
channel set #JoinChanOne -statuslog
channel set #JoinChanOne +revenge
channel set #JoinChanOne +revengebot
channel set #JoinChanOne -autovoice
channel set #JoinChanOne +cycle
channel set #JoinChanOne -dontkickops
channel set #JoinChanOne -autoop
channel set #JoinChanOne -bitch
channel set #JoinChanOne +secret
channel set #JoinChanOne -shared
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

haw, of course there is. That will only have effect during your initial -m (make) of your eggdrop. Afterwards, any changes to that static channel section will be irrelevant. Look into dcc chat (partyline) commands, specifically .+chan and .chanset ;)

Also, you might want to check the difference between these you entered:

Code: Select all

need-op { putserv "PRIVMSG CS :op #JoinChanOne" }
need-invite { putserv "PRIVMSG CS: inv #JoinChanOne" }
need-unban { putserv "PRIVMSG CS: unban #JoinChanOne" } 
You need to space before the colon like you did in need-op. The two below are incorrect and condense the colon against your target nick and won't work.
J
Jack Sparrow
Voice
Posts: 5
Joined: Sat May 02, 2009 7:23 am

Post by Jack Sparrow »

Wow you have an eye for detail, I copied that portion from a post somewhere, I've been into that many posts in the last few days I don’t know what way is up at the moment!

pah.. I was rather hoping it was going to be as simple as editing the MyBot.chan file... obviously not.. I'll read on. Need to get me a DCC connection I guess :)
Post Reply