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 

how to set eggdrop bot's user mode? (+i)

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
fusionx
Voice


Joined: 16 Jan 2022
Posts: 24

PostPosted: Mon Mar 20, 2023 12:28 pm    Post subject: how to set eggdrop bot's user mode? (+i) Reply with quote

Seems like this should be very easy. How do you set the bot's own user mode?

I'd like to set my bots +i (undernet), and can't seem to find any reference to it.
Back to top
View user's profile Send private message
simo
Revered One


Joined: 22 Mar 2015
Posts: 1027

PostPosted: Mon Mar 20, 2023 1:05 pm    Post subject: Reply with quote

check this section:



https://github.com/eggheads/eggdrop/blob/develop/eggdrop.conf#L1069


https://github.com/eggheads/eggdrop/blob/develop/eggdrop.conf#L1062-L1071


would look something like this :

Quote:


bind evnt - init-server evnt:init_server

proc evnt:init_server {type} {
global botnick
putquick "MODE $botnick +i"
# putserv "PRIVMSG x@channels.undernet.org :login user password"
}



Last edited by simo on Mon Mar 20, 2023 3:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
fusionx
Voice


Joined: 16 Jan 2022
Posts: 24

PostPosted: Mon Mar 20, 2023 1:21 pm    Post subject: Reply with quote

simo wrote:
check this section:


Thanks so much! I'm happy to see I was right - it was simple (lol).

I didn't realize +i is set by default. I should have tested that before starting down this path.

I googled my butt off and that never came up. My google-fu is lacking.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1191

PostPosted: Thu Mar 23, 2023 8:21 am    Post subject: Reply with quote

fusionx wrote:

...
I didn't realize +i is set by default.

...


When I wonder what the irc network is setting by default, here's how I check it:

In partyline, do: .console +r
For this to work, you must first have enabled it, in eggdrop.conf, for use by you (owner).
You can check to see if that turned raw logging on, with:
.console
and then see the list returned. See if raw is in it.

Now, in partyline with +r console mode on, you will see everything. It's messy, but great for when you actually need it.

Now do: .dump mode <botnick>

The irc server will return the modes that are currently set on the bot.
Same as if you did: /mode <your_nick> on yourself, with your client.

You can do .console -r to stop the raw display of everything coming in.

I hope this helps - someday.
Smile
_________________
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
View user's profile Send private message
fusionx
Voice


Joined: 16 Jan 2022
Posts: 24

PostPosted: Sun Mar 26, 2023 11:59 am    Post subject: Reply with quote

Willyw - this is very helpful - thank you!

willyw wrote:

When I wonder what the irc network is setting by default, here's how I check it:

In partyline, do: .console +r
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1191

PostPosted: Sun Mar 26, 2023 12:43 pm    Post subject: Reply with quote

You are most welcome. Smile

And - I forgot to say: It's very helpful, when the day comes that you are messing with a script that uses a bind raw , and you need to determine the raw numeric to look for.

Have fun!
Smile
_________________
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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help 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