thank you all. Iori - here's my code (minus the socket stuff)
if you could possibly assist me as to where to insert your code, I'd be gratefull...!
on 1:sockread:info:{
if ($sockerr > 0) return
:nextread
sockread %newstemp
if ($sockbr == 0) return
if (%newstemp == $null) %newstemp = -
if (<td nowrap valign=top isin %newstemp) {
set %infotxt $remove($gettok(%newstemp,5,62),</td)
write -l4 scripts/news.txt %infotxt - Infotec
sockclose info
set %info $read(scripts\news.txt,nw,*- Infotec*)
if (%info == $null) return
if (%info.last != %info) {
set %info.last %info {
msg #NewsRoom 0,7»1,15 $asctime($calc( $gmt + 7200 ),HH:nn)) $+ CET > %info 7,7 0,14 url .itec
}
}
}
}
thank you again.