egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

IRCop Script

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
furious
Voice


Joined: 16 Jan 2006
Posts: 14

PostPosted: Thu Feb 02, 2006 3:30 pm    Post subject: IRCop Script Reply with quote

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
View user's profile Send private message Visit poster's website
Ian-Highlander
Op


Joined: 24 Sep 2001
Posts: 165
Location: Ely, Cambridgeshire

PostPosted: Thu Feb 02, 2006 4:25 pm    Post subject: Reply with quote

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. Very Happy

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. Very Happy
_________________
"Insanity Takes Its Toll, Please Have Exact Change"
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber