Door Games Unlimited

Welcome, Guest.


Subject: console.putmsg alternative that returns a string Date: Thu Oct 02 2014 08:27:57
From: Psi-Jack To: Digital Man

  Re: console.putmsg alternative that returns a string
  By: Digital Man to Nightfox on Wed Oct 01 2014 04:13 pm

 DM>  Re: console.putmsg alternative that returns a string
 DM>  By: Nightfox to All on Tue Sep 30 2014 12:39 pm

 >> Is there an alternative to console.putmsg() that returns a string
 >> instead of outputting to the console?  What I'd like to do is to have
 >> @-codes, etc. interpreted in a string and save that string so I can
 >> then pass that string to printf() so I can specify a field length for
 >> the text.

 DM> I think you're looking for bbs.atcode().

 DM> That said, Synchronet @-codes already support a method for length field
 DM> specification as well as left and rigth justification:
 DM> http://wiki.synchro.net/custom:atcodes#formatting

I think he's looking to get the entire value of the string with
multiple translated at-codes combined, and possibly even other text, which
@-code formatting does not work on. On a singular one, the formatting would
work, but combined with others, not so much. :)

---
>>>[Psi-Jack -//- Decker]
 ■ Synchronet ■ Decker's Heaven -//- bbs.deckersheaven.com

Previous Message       Next Message
In Reply To: console.putmsg alternative that returns a string (Digital Man)