View Single Post
Old 02-11-2004, 08:35 PM  
stLancer_2
Member
 
Join Date: Aug 2003
Posts: 58
Default

a very nice script, but i takes some time to display rules if someone request it and the bot will not respone to other command.so i suggest you to use "puthelp" instand of "putserv".

Code:
proc readFile {sFilename sNick sChan} {
  global rules_path
  set sFile "$rules_path$sFilename"

  set fs [open $sFile r] 
  while {![eof $fs]} { 
    gets $fs line 
    puthelp "PRIVMSG $sNick :$line"
  } 
  close $fs 
}
stLancer_2 is offline   Reply With Quote