| View previous topic :: View next topic |
| Author |
Message |
chunkster Voice
Joined: 20 Apr 2009 Posts: 7
|
Posted: Sun May 10, 2009 4:43 pm Post subject: how to op a bot with chanserv |
|
|
| Hi how do I going about have my bot be op by chanserv when it when joins a channel |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun May 10, 2009 4:50 pm Post subject: |
|
|
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 |
|
 |
chunkster Voice
Joined: 20 Apr 2009 Posts: 7
|
Posted: Mon May 11, 2009 4:29 pm Post subject: |
|
|
| 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 |
|
 |
DaRkOoO Halfop
Joined: 27 Sep 2008 Posts: 67
|
Posted: Mon May 11, 2009 4:31 pm Post subject: |
|
|
| You just need to type that in dcc/partyline.. |
|
| Back to top |
|
 |
chunkster Voice
Joined: 20 Apr 2009 Posts: 7
|
Posted: Mon May 11, 2009 5:05 pm Post subject: |
|
|
| I've put it in the partyline but getting an tcl error |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon May 11, 2009 6:20 pm Post subject: |
|
|
Where did "Blondbint" come from? what exactly did you type? _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
chunkster Voice
Joined: 20 Apr 2009 Posts: 7
|
Posted: Tue May 12, 2009 3:42 pm Post subject: |
|
|
| 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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue May 12, 2009 7:37 pm Post subject: |
|
|
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 |
|
 |
chunkster Voice
Joined: 20 Apr 2009 Posts: 7
|
Posted: Wed May 13, 2009 2:30 pm Post subject: |
|
|
| now that I've put this in the party well my bot be op every time it joins |
|
| Back to top |
|
 |
chunkster Voice
Joined: 20 Apr 2009 Posts: 7
|
Posted: Thu May 14, 2009 4:02 pm Post subject: |
|
|
| or sorted now thanks |
|
| Back to top |
|
 |
|