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 Op

Old posts that have not been replied to for several years.
Locked
k
kalaaaa

Post by kalaaaa »

Hi guys.... I want to know how to do this:

Example my bot is on channel #BNC and needs op what do i put on the conf (or what TCL i use) to make the bot msg the ChanServ and get op.... 10x
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

There should be 4 lines in your .conf file that look like this:
need-op { putserv "PRIVMSG #lamest :eek:p me cos i'm lame!" }
need-invite { putserv "PRIVMSG #lamest :let me in!" }
need-key { putserv "PRIVMSG #lamest :let me in!" }
need-unban { putserv "PRIVMSG #lamest :let me in!" }
need-limit { putserv "PRIVMSG #lamest :let me in!" }

Modify this 4 lines with what you want your eggy to do. For an .tcl try this:

- Code -
bind need - "#bnc op" bnc_op

proc bnc_op {nick channel} {
global botnick
putserv "PRIVMSG ChanServ :eek:p #bnc $botnick"
return 1}
}
- Code -

All his nees are: op, invite, unban and limit. Duplicate and modify this code for all his needs.
Locked