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 op a bot with chanserv

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
chunkster
Voice


Joined: 20 Apr 2009
Posts: 7

PostPosted: Sun May 10, 2009 4:43 pm    Post subject: how to op a bot with chanserv Reply with quote

Hi how do I going about have my bot be op by chanserv when it when joins a channel
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun May 10, 2009 4:50 pm    Post subject: Reply with quote

Usually the services automatically do that when your bot joins. However, what you're looking for is need-op:
Code:
.chanset #channel need-op putserv "ChanServ :op #channel $botnick"

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
chunkster
Voice


Joined: 20 Apr 2009
Posts: 7

PostPosted: Mon May 11, 2009 4:29 pm    Post subject: Reply with quote

hi were do I put this code I've tryed put in the partyline but checking the bot logs I get an error as follows [15:51] Tcl error in script for 'need-op': [15:51] can't read "Blondbint": no such variable
Back to top
View user's profile Send private message
DaRkOoO
Halfop


Joined: 27 Sep 2008
Posts: 67

PostPosted: Mon May 11, 2009 4:31 pm    Post subject: Reply with quote

You just need to type that in dcc/partyline..
Back to top
View user's profile Send private message
chunkster
Voice


Joined: 20 Apr 2009
Posts: 7

PostPosted: Mon May 11, 2009 5:05 pm    Post subject: Reply with quote

I've put it in the partyline but getting an tcl error
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon May 11, 2009 6:20 pm    Post subject: Reply with quote

Where did "Blondbint" come from? what exactly did you type?
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
chunkster
Voice


Joined: 20 Apr 2009
Posts: 7

PostPosted: Tue May 12, 2009 3:42 pm    Post subject: Reply with quote

well I changed the #channel to the channel i'm on and the $botnick to my bots name I'm a noob you see
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue May 12, 2009 7:37 pm    Post subject: Reply with quote

Did you remove the $ in front of botnick when changing?

You'd probably be best off leaving $botnick as is, as it will be replaced with whatever your bots current nickname is. Otherwize, make sure you write the botname litterary without any $.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
chunkster
Voice


Joined: 20 Apr 2009
Posts: 7

PostPosted: Wed May 13, 2009 2:30 pm    Post subject: Reply with quote

now that I've put this in the party well my bot be op every time it joins
Back to top
View user's profile Send private message
chunkster
Voice


Joined: 20 Apr 2009
Posts: 7

PostPosted: Thu May 14, 2009 4:02 pm    Post subject: Reply with quote

or sorted now thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help 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