• Msglist, command line switch

    From DesotoFireflite@VERT/VALHALLA to All on Tue Jan 5 16:02:43 2021
    OK, what you suggested Rob, works fine, but I also want to read them in reverse order, but if I add -reverse on the command line, it doesn't do reverse, so Im assuming it can't do command stacking, or I'm looking at this all wrong. The below works fine to preview private mail.

    case 'P':
    // Read Private Mail With Msglist
    bbs.exec("?msglist.js mail -preview");
    break;

    But this doesen't work, it still only does the preview, with no reverse. Sorry to keep bothering you about this. Thanks as always.

    case 'P':
    // Read Private Mail With Msglist
    bbs.exec("?msglist.js mail -preview -reverse");
    break;

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    A Gamers Paradise - Over 150 Registered Online Game Doors!

    Home Of Odin's Maze Game Server!
    Come Play Trade Wars On Valhalla's T.W.G.S!

    --- Fartvergnugen: The pleasure of breaking wind.
    ■ Synchronet ■ Valhalla Home Services ■ USA ■ http://valhalla.synchro.net
  • From Digital Man@VERT to DesotoFireflite on Tue Jan 5 20:29:20 2021
    Re: Msglist, command line switch
    By: DesotoFireflite to All on Tue Jan 05 2021 04:02 pm

    OK, what you suggested Rob, works fine, but I also want to read them in reverse order, but if I add -reverse on the command line, it doesn't do reverse, so Im assuming it can't do command stacking, or I'm looking at this all wrong. The below works fine to preview private mail.

    case 'P':
    // Read Private Mail With Msglist
    bbs.exec("?msglist.js mail -preview");
    break;

    But this doesen't work, it still only does the preview, with no reverse. Sorry to keep bothering you about this. Thanks as always.

    case 'P':
    // Read Private Mail With Msglist
    bbs.exec("?msglist.js mail -preview -reverse");
    break;

    So a "reverse" listing means the newest messages are at the top of the list ("reverse" chronology, towards the top of the terminal) and that is the default mode. To change the default, for mail, add to your your modopts.ini:

    [msglist]
    reverse_mail = false

    The '-reverse' command-line option is a holdover from before I added that modopt key.
    --
    digital man

    Rush quote #49:
    Some will sell their dreams for small desires or lose the race to rats
    Norco, CA WX: 60.8°F, 48.0% humidity, 4 mph WSW wind, 0.00 inches rain/24hrs ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From DesotoFireflite@VERT/VALHALLA to Digital Man on Wed Jan 6 14:41:35 2021
    Re: Msglist, command line switch
    By: Digital Man to DesotoFireflite on Tue Jan 05 2021 08:29 pm

    So a "reverse" listing means the newest messages are at the top of the list ("reverse" chronology, towards the top of the terminal) and that is the default mode. To change the default, for mail, add to your your modopts.ini:

    [msglist]
    reverse_mail = false

    The '-reverse' command-line option is a holdover from before I added that modopt key.

    Ahh, ok, makes sense, thanks

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    A Gamers Paradise - Over 150 Registered Online Game Doors!

    Home Of Odin's Maze Game Server!
    Come Play Trade Wars On Valhalla's T.W.G.S!

    --- Don't eat the yellow snow!
    ■ Synchronet ■ Valhalla Home Services ■ USA ■ http://valhalla.synchro.net