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.

bot mode

General support and discussion of Eggdrop bots.
Post Reply
r
roger
Halfop
Posts: 56
Joined: Sun Jun 17, 2018 12:14 pm

bot mode

Post by roger »

how do i set the bot to /mode +B ???
thanks
w
willyw
Revered One
Posts: 1197
Joined: Thu Jan 15, 2009 12:55 am

Re: bot mode

Post by willyw »

roger wrote:how do i set the bot to /mode +B ???
thanks
Assuming that you want this to happen every time the bot logs into irc server, correct?


One idea -

Look in eggdrop.conf

Find this section:

Code: Select all

 # This is a Tcl script to be run immediately after connecting to a server.
 bind evnt - init-server evnt:init_server
 
 proc evnt:init_server {type} {
   global botnick
   putquick "MODE $botnick +i-ws"
 }

Edit one line -

From: putquick "MODE $botnick +i-ws"

change to: putquick "MODE $botnick +iB-ws"

Save the file.
You'll need to .restart the bot, so it logs in again, for that proc to be triggered to run again.
After restarting and bot logs into irc server again, check with a
/whois on the bot's nick. See if the irc server says it's a bot.

I hope this helps.
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
w
willyw
Revered One
Posts: 1197
Joined: Thu Jan 15, 2009 12:55 am

Re: bot mode

Post by willyw »

roger wrote:how do i set the bot to /mode +B ???
thanks
If you just want to be able to send that command manually -


Have you enabled the use of raw logging, for your (owner's) use, in eggdrop.conf?
If not, find that section in eggdrop.cong and enable it.

Once it is enabled, then you can use this command in the partyline :
.console +r
to turn on raw logging. You'll see everything coming into the bot now, in the partyline.

Now do:

.dump mode <botnick_here>

and you'll be able to see what the irc server returns. This is probably what you are used to, with your irc client, to check modes on yourself.

You can send the mode command to the irc server, from the bot, to change modes on the bot:

.dump mode <botnick_here> +B

ought to do it.
Just check it again, with another:
.dump mode <botnick_here>
to be sure.

Keep in mind that if you elect to do it manually as just described, that it is temporary. Then next time you .restart the bot, it will revert to whatever modes are configured in that section of eggdrop.conf, described in previous post above.

You'll probably want to do:
.console -r
when you are done, as seeing all the stuff coming in can get old, real fast.
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
r
roger
Halfop
Posts: 56
Joined: Sun Jun 17, 2018 12:14 pm

thank you

Post by roger »

i experimented this morning and did like you said in first post and it works fine
appreciate the answer like this forum, everytime i goof or need help there is always someone answering :D :D :D
Post Reply