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.

Opped or not?

Old posts that have not been replied to for several years.
Locked
D
DJ747
Voice
Posts: 10
Joined: Tue Nov 16, 2004 11:22 pm

Opped or not?

Post by DJ747 »

I want to edit the source (or a script) to make my eggdrop think it it opped in all channels without giving it the @ by its name. Does anyone have any ideas on how to do this. If you know what to edit in the source please tell me the line numbers and what to replace it with. Or if you know of a script that does this please let me know.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

why would you want to do that? sounds completely pointless to me
D
DJ747
Voice
Posts: 10
Joined: Tue Nov 16, 2004 11:22 pm

Post by DJ747 »

You wouldn't believe how many times people have said that. But I want it because my bot has oper override, so it doesn't need op, and I don't want it opped in certin channels. Also I want it to ignore +m too because it can talk through it anyways.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

I still fail to grasp your reasoning.

An eggdrop bot can and will function normally regardless of its channel op or irc operator/some other privileged status - and if you didn't tell it explicitly to ask for ops - via script or otherwise - it will never ask and won't be a slightest nuisance.
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Re: Opped or not?

Post by user »

try this

Code: Select all

bind join - * fakeOp
proc fakeOp {n u h c} {
	if {[isbotnick $n]} {*raw:irc:mode fake MODE "$c +o $n"}
}
Have you ever read "The Manual"?
D
DJ747
Voice
Posts: 10
Joined: Tue Nov 16, 2004 11:22 pm

Post by DJ747 »

Hmm I don't really want a script I kind of want source code changed. For example, i type ".say I am a bot" and the channel has +m, my bot will say "The channel is muted" BUT It is opered and can talk through mute, thus I want it to don't care if it is opped or not, I want it to do things anyways and not check wheather is can or not.
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

As far as i know, an eggdrop will still try to talk eventhough the channel is on mute. As demond already stated.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

DJ747 wrote:Hmm I don't really want a script I kind of want source code changed. For example, i type ".say I am a bot" and the channel has +m, my bot will say "The channel is muted" BUT It is opered and can talk through mute, thus I want it to don't care if it is opped or not, I want it to do things anyways and not check wheather is can or not.
then use user's method and write a scriptlet that forces the bot to feed itself with fake -m

or simply .dump privmsg #chan :hey I can speak through +m

I doubt anybody here will bother to dig through eggdrop's source code and write a desynch patch for your convenience
User avatar
arcane
Master
Posts: 280
Joined: Thu Jan 30, 2003 9:18 am
Location: Germany
Contact:

Re: Opped or not?

Post by arcane »

DJ747 wrote:Or if you know of a script that does this please let me know.
DJ747 wrote:Hmm I don't really want a script
:mrgreen:

@topic: have you tested your bot? does he react as he is supposed to or doesn't he? if there are no problems, we can close this thread, if there are problems, come back again and we will try to help you.
aVote page back online!
Check out the most popular voting script for eggdrop bots.

Join the metal tavern!
Locked