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.
Old posts that have not been replied to for several years.
firepac
Voice
Posts: 31 Joined: Wed Jun 18, 2003 5:41 am
Location: Queensland, Australia
Post
by firepac » Tue Nov 23, 2004 5:41 am
Until my hard drive died I used to have a tcl (I cant remember who wrote it) which made the bot identify to nickserv when given the !nickid command in the channel from a user who was +o.
Does anyone have such a tcl or can write it?
I have searched the archive and forum but cant find it.
TIA
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Tue Nov 23, 2004 10:11 am
+o in the channel? +o in chattr?
Code: Select all
set nickidpass "your password here"
bind pub - "!nickid" nickserv:ident
proc nickserv:ident { nickname hostname handle channel arguments } {
global nickidpass
if {[isop $nickname $channel]} {
putserv "NICKSERV $nickidpass"
} else {
return 0
}
}
This code would work for any opped people *i suppose*
Code: Select all
set nickidpass "your password here"
bind pub o "!nickid" nickserv:ident
proc nickserv:ident { nickname hostname handle channel arguments } {
global nickidpass
putserv "NICKSERV $nickidpass"
}
This would make the bot identify itself when a person with +o in chattr tries the command.
firepac
Voice
Posts: 31 Joined: Wed Jun 18, 2003 5:41 am
Location: Queensland, Australia
Post
by firepac » Tue Nov 23, 2004 4:03 pm
Very minor modification required, but it is now just what i was needing.
Thank You
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Tue Nov 23, 2004 4:54 pm
No Problem :p