ok i didnt get it working yet

ex
----- us.talkshow.txt -----
Conan.O.Brien
David.Letterman
Jay.Leno
Jimmy.Kimmel.Live
The.Colbert.Report
The.Daily.Show
----- us.talkshow.txt -----

Code:
 

David.Letterman.45.Special.Guest.Here-YES [color:blue] MATCH [/color] 
David [color:red] NO MATCH [/color]
The.Daily.Show.2006.23.12-TEST [color:blue] MATCH [/color] 
Daily.Show.2006.23.12-TEST [color:red] NO MATCH [/color]

 


i altered some things in the script :

Code:
 
alias us.talkshow.match {
  if ($isfile($+($scriptdir,us.talkshow.txt))) {
    if (($file($+($scriptdir,us.talkshow.txt)).mtime != %us.talkshow.txt.file.mtime) || (!$hget(us.talkshow.txt))) {
      set -se %us.talkshow.txt.file.mtime $file($+($scriptdir,us.talkshow.txt)).mtime
      hfree -w us.talkshow.txt
      hmake    us.talkshow.txt
      hload -n us.talkshow.txt us.talkshow.txt
    }
    var %c = 1 | while (%c <= $numtok($1,46)) {
      if ($hfind(us.talkshow.txt,$gettok($1,$+(1-,%c),46)).data) { return $v1 }
      inc %c
    }
  }
}
 


also i'd like us.talkshow.txt to be located in mircdir\TVCheck\

thanks in advance for your time i really appreciate it.

/bwuser