I have an on text to read from a file and set a variable, basically so I cant get flooded out, It isnt workin gtho. Help would be appreciated. Also, I saw a script somewhere, where I could add each line read into a variable, and make it so the lines that have been read wouldnt be read again.
Code:
on !*:text:!fact:#usa: {
  if (%fact == 0)  {
    msg #usa $read(C:\mIRC\facts.txt)    
    set %fact 1   
    .timer 1 30 set %fact 0 
  }
}