| View previous topic :: View next topic |
| Author |
Message |
furious Voice
Joined: 16 Jan 2006 Posts: 14
|
Posted: Thu Feb 02, 2006 3:30 pm Post subject: IRCop Script |
|
|
| Does anybody know of a script that can be used to make an eggdrop bot oper up? I need it so I can run a dns script properly. At this point since the bot isn't opering up, it's only getting hostmasks instead of ip addy's. |
|
| Back to top |
|
 |
Ian-Highlander Op
Joined: 24 Sep 2001 Posts: 165 Location: Ely, Cambridgeshire
|
Posted: Thu Feb 02, 2006 4:25 pm Post subject: |
|
|
Here's one I knocked up when I was playing with a bot as oper for some other stuff years ago.
I should point out though that having a bot as oper full time is a big security risk.
| Code: | ##Init Server Routine
##(Identifies To Nickserv And Authenticates Oper)
set init-server {
putserv "nickserv identify <password>"
putserv "oper <opernick> <operpassword>"
utimer 30 set_ident
}
##Part Of The Init-Server Routine
##(Bot Sets It's Ident And Host To System Specs)
proc set_ident {} {
putserv "setident OperBot"
putserv "sethost yourhost.com"
putlog "Set Ident and Host for server"
} |
Note this was written for an Unreal IRCd server so some of the commands may be different or unavailable on others.
Hope this helps.  _________________ "Insanity Takes Its Toll, Please Have Exact Change" |
|
| Back to top |
|
 |
|