Subj : Changing SyncTerm Display speed, and...
To : echicken
From : Android8675
Date : Fri Mar 30 2018 08:37 am
Re: Changing SyncTerm Display speed, and...
By: echicken to Android8675 on Thu Mar 29 2018 05:47 pm
ec> I would make a JS module that accepts the internal code of an external
ec> program to execute as a command-line parameter. It would launch that xtrn,
ec> then prompt the user and display the appropriate file if desired. I would
ec> modify my shell / xtrn_sec.js so that it calls bbs.exec('?door-launcher.js
ec> [code]') instead of bbs.exec_xtrn('[code]'). A mapping of internal codes
ec> to score files could be kept in a config file as you described.
That sounds like a good plan, that would require fewer changes than...
ec> If the 'clean-up command line' for a door could be hijacked for this
ec> purpose instead, that would be an easier option (I haven't tried that and
ec> I'm doubtful).
Yeah, plus you'd have to update all the door entries. Using mod_opts.ini for
the config seems like the best place.
What's great about that is I could display a file before the game starts and
another afterwards, like a game description/history.
Thanks eC.
-A.
... The best audience is intelligent, well-educated and a little drunk.