You could do something like this:
Code:
  write %FOXNews.output2 http://www.FOXNews.com $+ $gettok($gettok($replace(%FOX.temp,<a,$chr(173)),2,173),2,34) 
  if • isin $gettok($striphtml(%FOX.temp),1,32) { set %FOX.temp $gettok($striphtml(%FOX.temp),2-,32) } 
  if • isin $striphtml(%FOX.temp) { set %FOX.temp $replace($striphtml(%FOX.temp),•,--[FOX]--) } 
  write %FOXNews.output $striphtml(%FOX.temp) 
  [color:red]inc %fox.cnt
  if (%fox.cnt == 2) { sockclose FOX | unset %fox.cnt }[/color]


The red is what I added to what is already there. It should work for you.


Invision Support
#Invision on irc.irchighway.net