• Function to display a message

    From Nightfox@VERT/DIGDIST to Digital Man on Fri Jan 28 05:53:16 2011
    Hi DM -

    Looking through the Synchronet JavaScript documentation, it looks like the MsgBase class allows you to get the body of a message, but is there a function that will simply display a message and behaves the same way as the "Read message prompt" behaves when displaying a message (i.e., honoring Synchronet's color code toggle settings, etc.)? I haven't seen such a function in the documentation, unless I've missed something..

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS: digdist.bbsindex.com
  • From Digital Man@VERT to Nightfox on Sat Jan 29 00:43:29 2011
    Re: Function to display a message
    By: Nightfox to Digital Man on Thu Jan 27 2011 09:53 pm

    Hi DM -

    Looking through the Synchronet JavaScript documentation, it looks like the MsgBase class allows you to get the body of a message, but is there a function that will simply display a message and behaves the same way as the "Read message prompt" behaves when displaying a message (i.e., honoring Synchronet's color code toggle settings, etc.)? I haven't seen such a function in the documentation, unless I've missed something..

    Use console.putmsg() to print a message body and honor the color code toggle settings.

    digital man

    Snapple "Real Fact" #120:
    The only continent without native reptiles or snakes is Antarctica.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Sat Jan 29 01:07:34 2011
    Re: Function to display a message
    By: Digital Man to Nightfox on Fri Jan 28 2011 16:43:29

    Use console.putmsg() to print a message body and honor the color code toggle settings.

    Thanks.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion BBS: digdist.bbsindex.com