home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.bbs.mystic      Mystic Sysops are mystical nerds...      11,842 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,327 of 11,842   
   g00r00 to All   
   Re: Possible Addition to Mystic   
   22 Nov 21 13:30:09   
   
   From: nospam.g00r00@f215.n129.z1.fidonet.org   
      
    BP> If there was a way that we could put in, say, #V#2#X/2#8...etc,   
    BP> where X was the max x, or TermSizeX (using mpl terms), divided by 2 to   
    BP> find the center of the screen, it would make things a bit easier. This   
    BP> is something that can be done pretty easily with MPL, but this might be   
    BP> something that could help out other sysops.   
      
   I have given some thought and put some time into some ideas around this and I   
   am very open to suggestions.  Here's what I have worked on/thought about:   
      
   One thing I experimented with was some inline scripting that I called   
   "QuickScript" where you can get access to some basic values/math functions   
   right inside an MCI code in places where an X/Y value would be involved.   
      
   I have a basic scripting engine that actually works now just not enabled in   
   Mystic and it looks like this:   
      
   {(80+(wx/2))-2}   
      
   And that would allow you to calculate numbers right in an MCI code.  In that   
   example "WY" and "WX" are the user's terminal size X/Y.  I was expanding it to   
   support other variables and stuff but I stopped at some point.   
      
   Like you mentioned the same could be accomplished today using MPL or also an   
   external display file like "mybox.c132.ans" that shows the box where you want   
   it only for 132+ displays and so on.   
      
   Another idea specifically for the box drawing code would be to have the option   
   for it to automatically center on the screen if you supply a "0" value for   
   the start or end X positions.  This might be a good thing to add too.   
      
   ... Do device drivers need a chauffeur's license?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca