Subj : Help using gettext.js
To   : vela025
From : MRO
Date : Mon Oct 14 2024 04:24 pm

 Re: Help using gettext.js
 By: vela025 to MRO on Mon Oct 14 2024 01:45 pm

> > just use @codes to print the time
> > you can do an exec code in your text.dat or in  your command shell.
>
> > i have an animated script i wrote for my prompt.
>
> I think you may have misunderstood what I'm trying to do. I would like
>
> the
> main menu prompt located in default.js to use Acorn Mode 7 control codes if
> the user has their language set to BBC Micro, but continue to use the
> default control codes if not. In the same way the yesnobar now displays
> (thanks to Rob) \x01h\x014\x01w\x01e[\x01~%s]\x01n\x01b\x01h \x01~%s by
> default but \x82(%s)\x81%s on a Mode 7 terminal.

almost anything is possible. just put in a check for it and switch it for the user if they meet the requirement.

or, you can just ask the user if they want those control codes and  give them a
command shell and text.dat for their terminal.  i would use a user flag for keeping track.

---
� Synchronet � ::: BBSES.info - free BBS services :::