| View previous topic :: View next topic |
| Author |
Message |
eyal Voice
Joined: 05 Oct 2005 Posts: 8
|
Posted: Mon May 04, 2009 3:05 am Post subject: Eggdrop Oper on join op itself in all channels |
|
|
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 |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon May 04, 2009 8:53 am Post subject: |
|
|
I'd look at the need binding, and just dump the mode change using putserv:
| Code: | bind need - "% op" needop
proc needop {channel what} {
putserv "MODE $channel +o $::botnick"
} |
_________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
|