##################################################
####                  Hi Reply                ####
##################################################

bind pub - hi pub_hi
bind pub - Hi pub_hi
bind pub - hello pub_hi
bind pub - hii pub_hi
bind pub - hiii pub_hi
bind pub - hiiii pub_hi
bind pub - hiiiii pub_hi
bind pub - hiiiiii pub_hi


set filehi "/usr/home/thuggawd/eggdrop/scripts/bottalk/hi.txt"
set ranhi [split [read [open $filehi r]] \n]
close $fidhi

proc pub_hi {nick uhost hand chan text} {
  puthelp "PRIVMSG $chan :[string map "<nick> $nick" [lindex $::ranhi [rand [llength $::ranhi]]]]"
}