Subj : console.putmsg alternative that returns a string
To   : Digital Man
From : Nightfox
Date : Wed Oct 01 2014 06:06 pm

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

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

I was hoping for something similar to console.putmsg which would interpret
codes in a whole string and return the new string, but I suppose I could write
something to do that with 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

That's not exactly what I'm looking for - What I will be using this for is
reading messages posted on sub-boards, which might include @-codes.  Those
might not necessarily include length formatting.  I'll be taking each line from
the message and word-wrapping the line (as the interpreted @-code will likely
differ in length from the @-code) and then displaying the message line on the
screen with a specific width.

Nightfox

---
� Synchronet � Digital Distortion BBS - digitaldistortionbbs.com