egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mIRC - TCL possibility

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
NewzUK
Master


Joined: 18 Nov 2002
Posts: 200
Location: Auckland, New Zealand

PostPosted: Sat May 10, 2003 5:10 am    Post subject: mIRC - TCL possibility Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber