| View previous topic :: View next topic |
| Author |
Message |
roger Halfop
Joined: 17 Jun 2018 Posts: 56
|
Posted: Fri Jan 11, 2019 1:24 am Post subject: bot mode |
|
|
how do i set the bot to /mode +B ???
thanks |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Fri Jan 11, 2019 10:49 am Post subject: Re: bot mode |
|
|
| 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: |
# 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 ! |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Fri Jan 11, 2019 10:58 am Post subject: Re: bot mode |
|
|
| 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 ! |
|
| Back to top |
|
 |
roger Halfop
Joined: 17 Jun 2018 Posts: 56
|
Posted: Fri Jan 11, 2019 11:20 am Post subject: thank you |
|
|
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  |
|
| Back to top |
|
 |
|
|
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
|
|