Hi
Have done a search in the forum and tried a few things but can't find/understand quite what I need.
I have a news txt file (news\mkw.txt) which lynx dumps every minute and I want to read the line which has /04 in it.
Here are 2 example lines of the raw line from the file:
9:03pm 01/29/04 NIKKEI DOWN 35.00 POINTS AT 10,744.44 BY MIDDAY BREAK
8:56pm 01/29/04 [[12]CAJ] NIKKO CITI THINKS CANON '04 ESTIMATES 'EASY TO ACHIEVE'
I'd like to send it to channel without the time and date in front, but display a time in USET 24 hour format like 20:56 (the bot sits in GMT timezone which is USET +5hrs)
A couple of other things is that if there's a ticker symbol at the start of the headline (the letters in the [ ]) I want to ignore the number that lynx assigns to it (normally anything from [7] through [15] - but if there's no ticker on the story, there is no number), also if the headline is the same as last time it read the file (ie not a new story) then for the bot not to send anything.
Would appreciate any help!
Thanks.