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.

IRCop Script

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
f
furious
Voice
Posts: 14
Joined: Mon Jan 16, 2006 11:44 am
Contact:

IRCop Script

Post by furious »

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.
I
Ian-Highlander
Op
Posts: 165
Joined: Mon Sep 24, 2001 8:00 pm
Location: Ely, Cambridgeshire

Post by Ian-Highlander »

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. :D

Code: Select all

##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. :D
"Insanity Takes Its Toll, Please Have Exact Change"
Post Reply