Subj : JS Commission?
To   : echicken
From : Android8675
Date : Fri Jun 05 2020 01:37 pm

>   Re: JS Commission?
>   By: Android8675 to All on Thu May 28 2020 08:07:59

> // Script starts
> console.clear();
> const story = argv[0];
> const color = console.yesno('Do you want color?');
> const save_dir = backslash(format('%s%04d-dfrotz', system.data_dir,
> user.number));
> mkdir(save_dir);
> bbs.exec(
>   'dfrotz' +
>   ' -h ' + console.screen_rows +
>   ' -f ' + (color ? 'ansi' : 'normal') +
>   ' -R ' + save_dir
> );
> // Script ends

> That's a start anyhow; probably some more things to be added.


Thanks eC, gonna get to tinkering, can you decode the save_dir const for me? if
user 1 runs zork, where's the save end up? if it's like /sbbs/data/if/zork/1/
that'd work...
--
Android8675@ShodansCore

---
� Synchronet � Shodan's Core @ ShodansCore.com