mIRC Homepage
Posted By: AaronL file counter to load files - 08/02/04 09:00 PM
Hi all

i need to load a file with $read, but the name of the file must be different after a time.
After a while the counter will be increased to load another txt file.

i do first: set %counter 1
then: set %row $read $mircdirtxtfiles/ $+ %counter $+ .txt

this however doesn't work. frown
Can someone tell me what i do wrong or is what i want not possible?
confused

with regards
Aaron
Posted By: DaveC Re: file counter to load files - 09/02/04 12:19 AM
try
set %row $read($mircdirtxtfiles/ $+ %counter $+ .txt)

Posted By: AaronL Re: file counter to load files - 09/02/04 06:15 AM
Yep. that does the trick.

Thank you DaveC grin

With regards
Aaron
© mIRC Discussion Forums