Peace and Protection forum

/write: unable to open file '@Awaylog.log'

craze - 14-11-2010 at 13:09

Issue: * /write: unable to open file 'X:\path\to\@Awaylog.log' (line 691, away.mrc)
Affects: mIRC 7.15 (and possibly newer)


From the mIRC 7.15 changelog:
Quote:
Changed $mklogfn() to only return a partial path when the "Make folders" option is enabled in the Logging dialog.


To work around the @Awaylog error on top, change line 690 in away.mrc from
Code:
if ($hget(pnp.config,awaylog.perm)) write " $+ $mklogfn(@Awaylog) $+ " %log
to
Code:
if ($hget(pnp.config,awaylog.perm)) write " $+ $logdir $+ $mklogfn(@Awaylog) $+ " %log

by adding $logdir $+ in front of $mklogfn.

[Edited on 14-Nov-2010 by craze]

Fait - 24-2-2011 at 01:39

What's the path for the away.mrc? I culdn't find it on mirc 7.17.

Fait - 24-2-2011 at 01:44

Nevermind. Found it already and it's working already. No more /write unable to write..... problem.

solbu - 23-7-2012 at 11:18

This is now fixed in the new 4.22.3 release.