Door Games Unlimited

Welcome, Guest.


Subject: console.putmsg alternative that returns a string Date: Wed Oct 01 2014 16:13:25
From: Digital Man To: Nightfox

  Re: console.putmsg alternative that returns a string
  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.

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

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

                                            digital man

Synchronet "Real Fact" #55:
Synchronet Terminal Server introduced SecureShell (SSH) support w/v3.14a (2006).
Norco, CA WX: 83.1°F, 45.0% humidity, 3 mph ESE wind, 0.00 inches rain/24hrs

---
 ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net

Previous Message       Next Message
In Reply To: console.putmsg alternative that returns a string (Nightfox)
Replies: console.putmsg alternative that returns a string (Nightfox)console.putmsg alternative that returns a string (Psi-Jack)