On 22 Nov 2021, 01:30p, g00r00 said the following...
g0> One thing I experimented with was some inline scripting that I called
g0> "QuickScript" where you can get access to some basic values/math
g0> functions right inside an MCI code in places where an X/Y value would be
g0> involved.
That sounds like a great idea. Would that be something that could also be used
in Mystic prompts? That is another area that I'm messing around with. :)
g0> {(80+(wx/2))-2}
g0> And that would allow you to calculate numbers right in an MCI code. In
g0> that example "WY" and "WX" are the user's terminal size X/Y. I was
g0> expanding it to support other variables and stuff but I stopped at some
g0> point.
Looks easy enough to work with. Like I said, there is no rush on this one. Just
throwing ideas out there.
g0> Like you mentioned the same could be accomplished today using MPL or
g0> also an external display file like "mybox.c132.ans" that shows the box
g0> where you want it only for 132+ displays and so on.
I actually wrote a 1-line MPL that will cover any terminal size. ;)
g0> Another idea specifically for the box drawing code would be to have the
g0> option for it to automatically center on the screen if you supply a "0"
g0> value for the start or end X positions. This might be a good thing to
g0> add too.
This might be handy for the text boxes. I do also like the scripting mentioned
above, as it would open a lot more doors for mods.
Thank you for considering the idea. :)
---
Black Panther(RCS)
aka Dan Richter
Castle Rock BBS
telnet://bbs.castlerockbbs.com
http://www.castlerockbbs.com
http://github.com/DRPanther
The sparrows are flying again...
... A Skydiver is taken by the gravity of his situation.
--- Mystic BBS v1.12 A47 2021/09/07 (Linux/64)
* Origin: Castle Rock BBS - bbs.castlerockbbs.com (1:317/3)
|