mIRC Home    About    Download    Register    News    Help

Print Thread
#70746 08/02/04 09:00 PM
Joined: Jan 2004
Posts: 129
A
AaronL Offline OP
Vogon poet
OP Offline
Vogon poet
A
Joined: Jan 2004
Posts: 129
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


Deridio fatum
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
try
set %row $read($mircdirtxtfiles/ $+ %counter $+ .txt)


Joined: Jan 2004
Posts: 129
A
AaronL Offline OP
Vogon poet
OP Offline
Vogon poet
A
Joined: Jan 2004
Posts: 129
Yep. that does the trick.

Thank you DaveC grin

With regards
Aaron


Deridio fatum

Link Copied to Clipboard