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.

!nickid

Old posts that have not been replied to for several years.
Locked
f
firepac
Voice
Posts: 31
Joined: Wed Jun 18, 2003 5:41 am
Location: Queensland, Australia

!nickid

Post by firepac »

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
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

+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.
f
firepac
Voice
Posts: 31
Joined: Wed Jun 18, 2003 5:41 am
Location: Queensland, Australia

Post by firepac »

Very minor modification required, but it is now just what i was needing.

Thank You
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

No Problem :p
Locked