mIRC Home    About    Download    Register    News    Help

Print Thread
#253018 21/05/15 07:44 PM
Joined: Sep 2014
Posts: 52
Babel fish
OP Offline
Babel fish
Joined: Sep 2014
Posts: 52
I was wondering if $!readini(blah) works like $!read(blah) so that it re-evaluates the read every time a timer fires. If not, how would I go about doing that?

Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
Yes, the $!identifier construct work on any identifier and isn't reserved to timer, for example

Code:
echo -a the value of $!me is $me


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #253021 21/05/15 10:16 PM
Joined: Sep 2014
Posts: 52
Babel fish
OP Offline
Babel fish
Joined: Sep 2014
Posts: 52
Thank you smile I couldn't get the timer to read a new line from the ini file every time it fired, I realized I had to re-evaluate more than the just $readini on every fire. blush


Link Copied to Clipboard