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 

How to make eggdrop ask for ops from psyBnc

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
Feanixxx
Voice


Joined: 27 Jul 2003
Posts: 23

PostPosted: Wed Dec 31, 2003 5:54 am    Post subject: How to make eggdrop ask for ops from psyBnc Reply with quote

The following is handy if you are on IRC via psyBnc and want your bot to ask the bouncer for ops when it joins a channel (if it pings out, say):

First, make a little script with the following lines and place it in the scripts folder (I called it bncop.tcl):

Code:

bind need - "% op" Need_Ops

proc Need_Ops {chan type} {
 putserv "PRIVMSG YourNick :op password $chan"
}


Change YourNick to the nick of your bouncer; password to a password of your choice.

Add this script to either the scripts section of the bots config file or to the end of netset.tcl if running netbots (via set nb_component(bncop) 1).


Next, add the bot to the ASKOP list in psyBNC with this command:

/ADDOP #MyChannel password:*!MyBot@my.host.com

changing #MyChannel, password and MyBot@my.host.com as required (passwords must match, of course!)

Note that you can leave out #MyChannel and it will work on all channels the bot joins where your bouncer resides.

You can get a list of bots/users that can ask for ops from the bouncer with:
/LISTOPS


I've received several mails about how to do the above, so hope post helps. It should work for any bouncer that allows users to ask for ops but the syntax of the ADDASK command may well differ, of course.

Happy New Year everyone Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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