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.

Bot Auto OP ItSelf

Old posts that have not been replied to for several years.
Locked
J
JessieJames
Voice
Posts: 2
Joined: Fri Dec 31, 2004 8:20 pm

Bot Auto OP ItSelf

Post by JessieJames »

got bot to indntify to nickserv and to indentify to server (ircop) and to join
certain channel but would like it to op himself upon joining these channel
tried severl dif scripts but no luck or can this even be done
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

how does it do that? op itself?
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Re: Bot Auto OP ItSelf

Post by ^DooM^ »

JessieJames wrote:got bot to indntify to nickserv and to indentify to server (ircop) and to join
certain channel but would like it to op himself upon joining these channel
tried severl dif scripts but no luck or can this even be done
Try this

Code: Select all

bind join - * svjoin
proc svjoin {nick uhost hand chan} {
 global botnick
    if { $nick == $botnick } {
        putquick "samode $chan +o $botnick"
    }
}
This should do the trick if your bot is opered up.
This proc works for Ultimate IRCD and Unreal IRCD
any that can use the samode function.



:wink:
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
J
JessieJames
Voice
Posts: 2
Joined: Fri Dec 31, 2004 8:20 pm

Post by JessieJames »

works great now i can go fishing thanks alot
User avatar
^DooM^
Owner
Posts: 772
Joined: Tue Aug 26, 2003 5:40 pm
Location: IronForge
Contact:

Post by ^DooM^ »

JessieJames wrote:works great now i can go fishing thanks alot
Your Welcome. Just be aware that Opering a bot up is a security risk and not a wise thing todo. You should never oper a bot up using your own o:line you should give it it's own o:line and restrict its flags to only what it needs to do its job. also never add anyone you dont completely trust to the bots userfile.
It's extremely easy for anyone that has access to your oper'd bot to completely take down your IRCd.

Aside that it can be very usefull to have an oper'd bot. I myself use one to check for proxys as people join the server.

Have a good one and good luck in 2005 :wink:
The lifecycle of a noob is complex. Fledgling noobs gestate inside biometric pods. Once a budding noob has matured thru gestation they climb out of their pod, sit down at a PC, ask a bunch of questions that are clearly in the FAQ, The Noob is born
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Well you really don't need to op it. Because with +a or +A you can perform same commands such as banning, opping, voicing, deoping, changing modes, topics without being opped using /samode also /sajoin.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Locked