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.

Oper on connect Script

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
B
BigBen
Voice
Posts: 21
Joined: Sat Oct 07, 2006 6:49 pm

Oper on connect Script

Post by BigBen »

Can someone make a oper on connect script? I've been tring to find one, but i cant find one.
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Re: Oper on connect Script

Post by TCL_no_TK »

Try the following and note it is not advised to give any bot an O:line, should be ok to paste in the eggdrop.conf file:

Code: Select all

bind evnt - init-server evnt_oper
proc evnt_oper {type} {
global botnick
 putserv "OPER <OPER NAME> <OPER PASSWORD>"
 putserv "MODE $botnick <[+/-]any oper modes you need it set/unset>"
}
should work :) same thing as event:init dose.
Post Reply