This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

mIRC - TCL possibility

Old posts that have not been replied to for several years.
Locked
N
NewzUK
Master
Posts: 200
Joined: Mon Nov 18, 2002 3:10 am
Location: Auckland, New Zealand
Contact:

mIRC - TCL possibility

Post by NewzUK »

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
}
#Newsroom - Where News & Markets Connect
http://www.inewsroom.net
#Newsroom on irc.othernet.org
Locked