Re: special variables $tag and ${0} are empty

Jase Thew <[email protected]> Tue, 28 May 2013 15:39:38 +0100
Newsgroups gmane.network.irc.irssi.user
Message-ID <[email protected]>
On 27/05/2013 18:00, MK wrote:
> contents of 'startup':
>
> set autolog on
> set autolog_path ~/Documents/irclogs/$tag/${0}/${0}-%Y-%m-%d
>
> but there will be only one log file created, named
>    ~/Documents/irclogs/-2013-05-26
>
>
> in 'config' in 'settings' I also have:
>    "fe-common/core" = {
>      autolog = "yes";
>      autolog_path = "~/Documents/irclogs/$tag/${0}/${0}-%Y-%m-%d";
>    };
>
>
>

In your startup file, try escaping the $0's :

set autolog_path ~/Documents/irclogs/$tag/\${0}/\${0}-%Y-%m-%d

Regards,

Jase.