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.

Eggdrop Oper on join op itself in all channels

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
e
eyal
Voice
Posts: 8
Joined: Wed Oct 05, 2005 5:19 pm

Eggdrop Oper on join op itself in all channels

Post by eyal »

hello
i set up my eggdropbot to be a oper, now i want when the bot connect and join all channels he will give himself +o on all the channels, i want he will do it quick when he connect to make himself +o in the all channles he joins. like: /mode $botnick +o in all the channels
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

I'd look at the need binding, and just dump the mode change using putserv:

Code: Select all

bind need - "% op" needop
proc needop {channel what} {
 putserv "MODE $channel +o $::botnick"
}
NML_375
Post Reply