Thread: [Correct script] HELP - greet :)
View Single Post
Old 07-04-2007, 16:11   #6 (permalink)
vR|Ar
Junior Member
 
vR|Ar's Avatar
 
Join Date: Mar 2007
Location: PHIL
Posts: 6
Rep Power: 0
vR|Ar is an unknown quantity at this point
Send a message via Yahoo to vR|Ar
Default done

Code:
proc join:greet {nick uhost hand chan} {
global agrflood 
if {[channel get $chan greet] && [botisop $chan]} {
if {[info exists agrflood($nick:$chan)]} {
    return 0
  }
set greet [::stats::channel -get $chan greet]
set agrflood($nick:$chan) 1
timer 2[list unset agrflood($nick:$chan)]
putserv "NOTICE $nick :[subst [greet:parse $greet]]"
}
}
Thanks for the help.. its now working
__________________
v R | A r
vR|Ar is offline   Reply With Quote