| View previous topic :: View next topic |
| Author |
Message |
DJmart Voice
Joined: 08 Mar 2006 Posts: 21
|
Posted: Sat May 13, 2006 6:49 pm Post subject: Identify Script + Op [REQ] |
|
|
| Code: | #Put Your Server Identify Command
set identcmd "IDENTIFY"
#Put Your Bot Nick Password"
set identpass "password"
#Put Your NickServ Services Nick
set nickserv "NickServ"
# Change this to what nickserv says on connection
bind notc - "This nickname is registered and protected. If it is your" identify:notc
#It's Okay Right Now ... Never Change It If U Are Beginner In Tcl Scripts
proc identify:notc { nick uhost handle text dest } {
global botnick nickserv identcmd identpass
if { $nick == $nickserv } {
puthelp "PRIVMSG $nickserv $identcmd $identpass"
putlog "Identifying : $nickserv (as $botnick)"
}
}
putlog "8,2Nick Identify Script Has Been Loaded make by Blue ... Repaired By Xenogear"
|
How Can I have this script, op the bot in ALL channels that the bot has access in?
On another network it was a command that nickserv had
| Code: | | "/msg nickserv set modeme on" |
Help would be awesome  |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Sat May 13, 2006 8:05 pm Post subject: |
|
|
try using
| Code: | | putserv "CHANSERV op" |
after the bot is identified to nickserv (as with anope) |
|
| Back to top |
|
 |
DJmart Voice
Joined: 08 Mar 2006 Posts: 21
|
Posted: Sun May 14, 2006 10:11 am Post subject: |
|
|
| Code: | | putserv "CHANSERV op" | Where exactly does this line go? And how will it know WHEN to op, after its identified. |
|
| Back to top |
|
 |
krimson Halfop

Joined: 19 Apr 2006 Posts: 86
|
Posted: Sun May 14, 2006 1:09 pm Post subject: |
|
|
| Code: | bind notc - "<TEXT>" identified
proc identified {nick uhost hand text target} {
if {$nick == $nickserv} {
foreach chan [channels] {
putserv "CHANSERV op $chan"
}
}
unbind notc - "<TEXT>" identified
} |
just replace <TEXT> with the message nickserv sends you upon identifying
Last edited by krimson on Wed May 17, 2006 2:03 am; edited 1 time in total |
|
| Back to top |
|
 |
DJmart Voice
Joined: 08 Mar 2006 Posts: 21
|
Posted: Sun May 14, 2006 6:22 pm Post subject: |
|
|
gah! I really appriciate the help, but I am really not good at TCL scripting. Is there anyone who could rewrite the script, so everything works as it should??
Sorry for being such a noob  |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Sun May 14, 2006 11:29 pm Post subject: |
|
|
| DJmart wrote: | gah! I really appriciate the help, but I am really not good at TCL scripting. Is there anyone who could rewrite the script, so everything works as it should??
Sorry for being such a noob  |
no, you have not provided the notice received after identifying is complete |
|
| Back to top |
|
 |
De Kus Revered One

Joined: 15 Dec 2002 Posts: 1361 Location: Germany
|
Posted: Mon May 15, 2006 5:42 am Post subject: |
|
|
I wonder why I didnt think on that way! Sometimes eggdrop forgets its need for op (return 0/1 seems not to influence it), so it might be a good idea to instantly request it on success auth during a server session. I allowed myself to include that idea in my own script (chanservneed) . _________________ De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens... |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon May 15, 2006 7:54 pm Post subject: |
|
|
Going by the original post the text response after identifying would be:
| Code: | | Password accepted - you are now recognized. |
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
|