mIRC Home    About    Download    Register    News    Help

Print Thread
#162886 23/10/06 04:31 PM
Joined: Jul 2006
Posts: 242
H
HaleyJ Offline OP
Fjord artisan
OP Offline
Fjord artisan
H
Joined: Jul 2006
Posts: 242
Greetings
Why does this not work

Code:
 var %t = file | echo -a $read(%t.txt)  


i have a file called file.txt. It just does not work with vars for some reason frown


Newbie
#162887 23/10/06 04:32 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
You need to use the concatenation operator to add text to variables and identifiers:

Code:
 var %t = file | echo -a $read(%t [color:red]$+[/color] .txt) 

#162888 23/10/06 05:17 PM
Joined: Jul 2006
Posts: 242
H
HaleyJ Offline OP
Fjord artisan
OP Offline
Fjord artisan
H
Joined: Jul 2006
Posts: 242
I had just realized and was hoping noone had replied yet blush
very stupid of me.
Thanks alot


Newbie

Link Copied to Clipboard