Hi
I have this script running on a mIRC alias that, on a timer, runs lynx to write a txt file, then read a specified headline to a channel, and I was just wanting to know if it would be possible to replicate it for TCL
Would appreciate any ideas - thanks!
/yahoo {
set %oldnews $read(c:\CitiNews\yahoo.txt,w,*[40]*)
run -np c:\CitiNews\lynx\yahoo.bat
timeryahoo 1 5 /yahoo2
}
/yahoo2 {
set %newnews $read(c:\CitiNews\yahoo.txt,w,*[38]*)
set %us $read(c:\CitiNews\yahoo.txt,w,*38*)
if ( %oldnews != %newnews ) && ( %newnews != $null ) {
msg #CitiNews2 4»7 $mid(%newnews,5,$calc($len(%newnews)5))
}
unset %oldnews
unset %newnews
unset %us
}