##################################################
####                  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


catch {set ranhi [split [read [set f [open "/usr/home/thuggawd/eggdrop/scripts/bottalk/sing.txt" r]]] \n ] ; close $f}

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