ok i just got back to script after a hell of a long time not, so i need help, why when i try to write a txt file, with an alias in the txt file name... why does it not write? but if i write with no alias in the file... it does? ive tried using $eval for the filename aswell as the [] brackets... help plz?
**EDIT**
The txt file doesnt exist!!! its sposed to create a new one each time it writes. but still like i said, it still writes even tho it doesnt exist IF the alias isnt in the text file name
You'll have to give us the actual line of code before anyone can tell you what's wrong.
well ive tried loads of ways, here r most of them:
/set %txt c:\ModStats\ [ $+ [ $asctime(mmm) ] $+ ] \FailedAttempts.txt
/write %txt $adate - $time $+ : Attempted Login with the nickname %modnick $+ ( $+ %modip $+ ).
-------
/write c:\ModStats\ [ $+ [ $asctime(mmm) ] $+ ] \FailedAttempts.txt $adate - $time $+ : Attempted Login with the nickname %modnick $+ ( $+ %modip $+ ).
-------
/write [ [ c:\ModStats\ $+ $asctime(mmm) $+ \FailedAttempts.txt ] ] $adate - $time $+ : Attempted Login with the nickname %modnick $+ ( $+ %modip $+ ).
i hav also tried $eval where the [] brackets are, they were just the ones i had to hand so i pasted them....
//write c:\ModStats\ $+ $asctime(mmm) $+ \FailedAttempts.txt worked fine for me.
I'm guessing your problem is that you are trying to get mIRC to create a folder with the /write command. mIRC can't do that, so you must have a folder called (in this case) Oct in C:\modstats\ else it will throw up an error.