mIRC Home    About    Download    Register    News    Help

Print Thread
write command doesn't work #88586 29/06/04 02:49 PM
Joined: May 2004
Posts: 10
T
the_lambda_man Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: May 2004
Posts: 10
Hello.
Can someone tell me why this command could not work?
//write $mircdir $+ Quotes.txt test
( i added the // to test trough the command line but in my script it's just that without // )
it just works fine for me (and i don't understand why it wouldn't work) but for some people who tried it just won't write the word test in the file Quotes.txt in the mirc folder (whether the file already exist or not)
What could be the problem?
so far i asked if file was read only or not (and it's not)
$mircdir gives the right path and i don't see anything else...
thank you

Re: write command doesn't work #88587 29/06/04 03:47 PM
Joined: Mar 2004
Posts: 130
T
tsoglanos Offline
Vogon poet
Offline
Vogon poet
T
Joined: Mar 2004
Posts: 130
it is //write Quotes.txt test , this command writes automatic to your $scriptdir there is no net for $mircdir or $scriptdir

Re: write command doesn't work #88588 29/06/04 05:38 PM
Joined: May 2004
Posts: 10
T
the_lambda_man Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: May 2004
Posts: 10
yes the result is the same , thanks for the tip.
But it's not the path that's wrong...just the write command that doesn't want to write anything...

Re: write command doesn't work #88589 29/06/04 05:53 PM
Joined: Jun 2004
Posts: 133
S
ScoT Offline
Vogon poet
Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
The command works fine here
try /!write Quotes.txt test
maybe you by accident added a write alias
try //echo $isalias(write).fname
if you did it should return it's filename

ScoT
#mIRC Undernet


Give a man a fish feed him for a day, Teach him to fish, feed him for life