All pastes #478854 Raw Edit

unworking nickserv

public text v1 · immutable
·published 2007-05-09 12:11 UTC
rendered paste body
bind notc - nickserv

proc nickserv {nick uhost hand text {dest ""}} {
	global botnick;
	global owner;
	if {$dest == ""} {set dest $botnick}
	if {$nick == "NickServ"} {
		if [regexp {.+IDENTIFY.+} $text] {
			putserv "PRIVMSG NickServ :IDENTIFY *******"
			putserv "NOTICE $owner :identifying...."
		}
	}
}