• code example

    From Finnigann@VERT/BNB to All on Fri Aug 18 13:12:00 2006
    Can anyone post some baja code for extracting messages from the message
    data base. sort of the opposite of smbutl (i cmd)

    Thanks



    _ _ _ _ _ _ _ _ _
    / \ / \ / \ / \ / \ / \ / \ / \ / \
    ( F | i | n | n | i | g | a | n | n )
    \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/


    ... A man's only as old as the woman he feels.
    --- MultiMail/Win32 v0.47
    þ Synchronet þ Bits-N-Bytes - bnb.dtdns.net / bnb.synchro.net
  • From Digital Man@VERT to Finnigann on Fri Aug 18 10:02:00 2006
    Re: code example
    By: Finnigann to All on Fri Aug 18 2006 05:12 pm

    Can anyone post some baja code for extracting messages from the message
    data base. sort of the opposite of smbutl (i cmd)

    smbutil can be used to extra messages from the message base. Baja doesn't have any functions for directly accessing the message data base files.

    digital man

    Snapple "Real Fact" #110:
    Frogs never drink.
    Norco, CA WX: 105.2øF, 30% humidity, 0 mph E wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Finnigann@VERT/BNB to Digital Man on Fri Aug 18 15:42:00 2006
    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-

    Re: code example
    By: Finnigann to All on Fri Aug 18 2006 05:12 pm

    Can anyone post some baja code for extracting messages from the message
    data base. sort of the opposite of smbutl (i cmd)

    smbutil can be used to extra messages from the message base. Baja
    doesn't have any functions for directly accessing the message data base files.

    Well that was my first impulse. But after studying the help/opt list. I
    am stumped as to which switches would define the message(s) to extract.




    _ _ _ _ _ _ _ _ _
    / \ / \ / \ / \ / \ / \ / \ / \ / \
    ( F | i | n | n | i | g | a | n | n )
    \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/


    ... I like to learn from my mistakes (Why waste so many opportunities?)
    --- MultiMail/Win32 v0.47
    þ Synchronet þ Bits-N-Bytes - bnb.dtdns.net / bnb.synchro.net
  • From Digital Man@VERT to Finnigann on Fri Aug 18 13:23:00 2006
    Re: Re: code example
    By: Finnigann to Digital Man on Fri Aug 18 2006 07:42 pm

    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-

    Re: code example
    By: Finnigann to All on Fri Aug 18 2006 05:12 pm

    Can anyone post some baja code for extracting messages from the message
    data base. sort of the opposite of smbutl (i cmd)

    smbutil can be used to extra messages from the message base. Baja doesn't have any functions for directly accessing the message data base files.

    Well that was my first impulse. But after studying the help/opt list. I
    am stumped as to which switches would define the message(s) to extract.

    I suppose I mispoke: you can *read* messages (interactively) with smbutil (using the 'r' command), but can't really "extract" message (programatically). This could be done with small JS module however.

    If I knew more about exactly what you're trying to accomplish, I might be able to help more.

    digital man

    Snapple "Real Fact" #85:
    The Mona Lisa has no eyebrows.
    Norco, CA WX: 87.2øF, 34% humidity, 4 mph ENE wind, 0.02 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Finnigann@VERT/BNB to Digital Man on Fri Aug 18 18:13:00 2006
    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-

    Re: Re: code example
    By: Finnigann to Digital Man on Fri Aug 18 2006 07:42 pm

    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-

    Re: code example
    By: Finnigann to All on Fri Aug 18 2006 05:12 pm

    Can anyone post some baja code for extracting messages from the message
    data base. sort of the opposite of smbutl (i cmd)

    smbutil can be used to extra messages from the message base. Baja doesn't have any functions for directly accessing the message data base files.

    Well that was my first impulse. But after studying the help/opt list. I
    am stumped as to which switches would define the message(s) to extract.

    I suppose I mispoke: you can *read* messages (interactively) with
    smbutil (using the 'r' command), but can't really "extract" message (programatically). This could be done with small JS module however.

    If I knew more about exactly what you're trying to accomplish, I might
    be able to help more.

    If you recall Jazzman's sports... game? I was wondering how syncdata
    might be useful for tying other BBS' together.

    SMBUTIL can be made to upload game data. getting it out is another
    item.

    But if a javascript segment can be called to cull out messages for the
    door (making large assumptions) or added functionality to smbutil,
    would be great.

    Of course you know I'm not a programmer, but is this function in the
    SDK? I would think someone else would have sought out syncdata to
    transport data before now.



    _ _ _ _ _ _ _ _ _
    / \ / \ / \ / \ / \ / \ / \ / \ / \
    ( F | i | n | n | i | g | a | n | n )
    \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/


    ... Lettuce hail Caesar salad: We who are about to sigh dilute you.
    --- MultiMail/Win32 v0.47
    þ Synchronet þ Bits-N-Bytes - bnb.dtdns.net / bnb.synchro.net
  • From Digital Man@VERT to Finnigann on Fri Aug 18 14:41:00 2006
    Re: Re: code example
    By: Finnigann to Digital Man on Fri Aug 18 2006 10:13 pm

    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-

    Re: Re: code example
    By: Finnigann to Digital Man on Fri Aug 18 2006 07:42 pm

    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-

    Re: code example
    By: Finnigann to All on Fri Aug 18 2006 05:12 pm

    Can anyone post some baja code for extracting messages from the messa
    data base. sort of the opposite of smbutl (i cmd)

    smbutil can be used to extra messages from the message base. Baja doesn't have any functions for directly accessing the message data b files.

    Well that was my first impulse. But after studying the help/opt list. I
    am stumped as to which switches would define the message(s) to extract.

    I suppose I mispoke: you can *read* messages (interactively) with smbutil (using the 'r' command), but can't really "extract" message (programatically). This could be done with small JS module however.

    If I knew more about exactly what you're trying to accomplish, I might be able to help more.

    If you recall Jazzman's sports... game? I was wondering how syncdata
    might be useful for tying other BBS' together.

    SMBUTIL can be made to upload game data. getting it out is another
    item.

    But if a javascript segment can be called to cull out messages for the
    door (making large assumptions) or added functionality to smbutil,
    would be great.

    Even if smbutil could extract a specific message, how would you know *which* message to extract?

    Of course you know I'm not a programmer, but is this function in the
    SDK? I would think someone else would have sought out syncdata to
    transport data before now.

    A JS module would be the way to go. I'm not sure which SDK you're referring to. The XSDK does not include any message base functionality. The SMBLIB is available as a separate library for message base access, but a JS module would be much easier.

    digital man

    Snapple "Real Fact" #22:
    Alaska has the highest percentage of people who walk to work.
    Norco, CA WX: 83.8øF, 36% humidity, 4 mph NE wind, 0.06 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Finnigann@VERT/BNB to Digital Man on Fri Aug 18 19:26:00 2006
    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-

    Re: Re: code example
    By: Finnigann to Digital Man on Fri Aug 18 2006 10:13 pm

    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-

    Re: Re: code example
    By: Finnigann to Digital Man on Fri Aug 18 2006 07:42 pm

    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-

    Re: code example
    By: Finnigann to All on Fri Aug 18 2006 05:12 pm

    Can anyone post some baja code for extracting messages from the messa
    data base. sort of the opposite of smbutl (i cmd)

    smbutil can be used to extra messages from the message base. Baja doesn't have any functions for directly accessing the message data b files.

    Well that was my first impulse. But after studying the help/opt list. I
    am stumped as to which switches would define the message(s) to extract.

    I suppose I mispoke: you can *read* messages (interactively) with smbutil (using the 'r' command), but can't really "extract" message (programatically). This could be done with small JS module however.

    If I knew more about exactly what you're trying to accomplish, I might be able to help more.

    If you recall Jazzman's sports... game? I was wondering how syncdata
    might be useful for tying other BBS' together.

    SMBUTIL can be made to upload game data. getting it out is another
    item.

    But if a javascript segment can be called to cull out messages for the
    door (making large assumptions) or added functionality to smbutil,
    would be great.

    Even if smbutil could extract a specific message, how would you know *which* message to extract?

    Well I was thinking that switches would tell what values to look for in
    a message.

    Let me just make up some for demonstration puposes.

    usage: smbutil [-opts] cmd <filespec.shd>

    cmd:
    l[n] = list msgs starting at number n
    r[n] = read msgs starting at number n
    v[n] = view msg headers starting at number n
    i[f] = import msg from text file f (or use stdin)
    e[f] = import e-mail from text file f (or use stdin)
    n[f] = import netmail from text file f (or use stdin)
    /m = export message from message base
    /t = set 'To' to sort for
    /s = set 'subject' to sort for
    h = dump hash file
    s = display msg base status
    c = change msg base status
    d = delete all msgs
    m = maintain msg base - delete old msgs and msgs over max
    p[k] = pack msg base (k specifies minimum packable Kbytes)
    opts:
    f<s> = set 'from' user name for imported message
    e<s> = set 'from' user number for imported message

    smbutil /m /tdoorgame /sweeknumber \sbbs\xtrn\doorgame\input.dat




    Of course you know I'm not a programmer, but is this function in the
    SDK? I would think someone else would have sought out syncdata to
    transport data before now.

    A JS module would be the way to go. I'm not sure which SDK you're referring to. The XSDK does not include any message base functionality. The SMBLIB is available as a separate library for message base access,
    but a JS module would be much easier.

    Well could something highly configurable be written in baja/javascript?


    // syncdata.js
    // Pulls text from syncdata message base
    // $Id: syncdata.js,v .12 2006/08/19 rswindell Exp $
    // @format.tab-size 8, @format.use-tabs true

    load("sbbsdefs.js");

    // Available Command-line options:
    //
    // m indicates extraction
    // t sets 'To' field value
    // s sets 'Subject' field value
    // syncdata is the default message base
    //
    // syncdata.js /m /tdoorgame /sweeknumber \sbbs\xtrn\doorgame\input.dat

    P_OPENCLOSE



    <bedtime>



    _ _ _ _ _ _ _ _ _
    / \ / \ / \ / \ / \ / \ / \ / \ / \
    ( F | i | n | n | i | g | a | n | n )
    \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/


    ... "Other kings said I was _daft_ to build a castle in a swamp!"
    --- MultiMail/Win32 v0.47
    þ Synchronet þ Bits-N-Bytes - bnb.dtdns.net / bnb.synchro.net
  • From Death@VERT/DARKNESS to Digital Man on Fri Aug 18 23:58:00 2006

    Even if smbutil could extract a specific message, how would you know *which* message to extract?

    Would it be possible to maybe set smbutil to scan for messages with a
    certain header?? Then if all the messages connected to the game were
    under as certain header you could only extract those messages? Just
    throwing a bone out here.. =o)

    Death



    Home of DarkNet


    ---
    þ Synchronet þ Darkness BBS - darkness.synchro.net
  • From Finnigann@VERT/BNB to Death on Sat Aug 19 06:28:00 2006
    With regards to the social ramifications;
    Death wrote to Digital Man <=-


    Even if smbutil could extract a specific message, how would you know *which* message to extract?

    Would it be possible to maybe set smbutil to scan for messages with a certain header?? Then if all the messages connected to the game were
    under as certain header you could only extract those messages? Just throwing a bone out here.. =o)


    SMBUTIL doesn't extract and there are no switches for searches. That's
    what I was asking about. I believe a small .JS file would be easier
    than re-writing smbutil.

    I even started one for him (-:



    _ _ _ _ _ _ _ _ _
    / \ / \ / \ / \ / \ / \ / \ / \ / \
    ( F | i | n | n | i | g | a | n | n )
    \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/


    ... Her sewing machine's been out of thread for some time now.
    --- MultiMail/Win32 v0.47
    þ Synchronet þ Bits-N-Bytes - bnb.dtdns.net / bnb.synchro.net
  • From Digital Man@VERT to Finnigann on Mon Aug 21 12:44:00 2006
    Re: Re: code example
    By: Finnigann to Digital Man on Fri Aug 18 2006 11:26 pm

    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-

    Re: Re: code example
    By: Finnigann to Digital Man on Fri Aug 18 2006 10:13 pm

    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-

    Re: Re: code example
    By: Finnigann to Digital Man on Fri Aug 18 2006 07:42 pm

    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-

    Re: code example
    By: Finnigann to All on Fri Aug 18 2006 05:12 pm

    Can anyone post some baja code for extracting messages from the me
    data base. sort of the opposite of smbutl (i cmd)

    smbutil can be used to extra messages from the message base. Baja doesn't have any functions for directly accessing the message dat files.

    Well that was my first impulse. But after studying the help/opt list.
    am stumped as to which switches would define the message(s) to extrac

    I suppose I mispoke: you can *read* messages (interactively) with smbutil (using the 'r' command), but can't really "extract" message (programatically). This could be done with small JS module however.

    If I knew more about exactly what you're trying to accomplish, I mig be able to help more.

    If you recall Jazzman's sports... game? I was wondering how syncdata
    might be useful for tying other BBS' together.

    SMBUTIL can be made to upload game data. getting it out is another
    item.

    But if a javascript segment can be called to cull out messages for the
    door (making large assumptions) or added functionality to smbutil,
    would be great.

    Even if smbutil could extract a specific message, how would you know *which* message to extract?

    Well I was thinking that switches would tell what values to look for in
    a message.

    Let me just make up some for demonstration puposes.

    usage: smbutil [-opts] cmd <filespec.shd>

    cmd:
    l[n] = list msgs starting at number n
    r[n] = read msgs starting at number n
    v[n] = view msg headers starting at number n
    i[f] = import msg from text file f (or use stdin)
    e[f] = import e-mail from text file f (or use stdin)
    n[f] = import netmail from text file f (or use stdin)
    /m = export message from message base
    /t = set 'To' to sort for
    /s = set 'subject' to sort for
    h = dump hash file
    s = display msg base status
    c = change msg base status
    d = delete all msgs
    m = maintain msg base - delete old msgs and msgs over max
    p[k] = pack msg base (k specifies minimum packable Kbytes)
    opts:
    f<s> = set 'from' user name for imported message
    e<s> = set 'from' user number for imported message

    smbutil /m /tdoorgame /sweeknumber \sbbs\xtrn\doorgame\input.dat

    Okay, so /m would would always extract a single message? If so, wouldn't it just keep extracting the same message over and over?

    Of course you know I'm not a programmer, but is this function in the
    SDK? I would think someone else would have sought out syncdata to
    transport data before now.

    A JS module would be the way to go. I'm not sure which SDK you're referring to. The XSDK does not include any message base functionality. The SMBLIB is available as a separate library for message base access, but a JS module would be much easier.

    Well could something highly configurable be written in baja/javascript?

    In JavaScript, absolutely. See the NewsLink and ListServers modules as examples.

    // Pulls text from syncdata message base
    // $Id: syncdata.js,v .12 2006/08/19 rswindell Exp $
    // @format.tab-size 8, @format.use-tabs true

    load("sbbsdefs.js");

    // Available Command-line options:
    //
    // m indicates extraction
    // t sets 'To' field value
    // s sets 'Subject' field value
    // syncdata is the default message base
    //
    // syncdata.js /m /tdoorgame /sweeknumber \sbbs\xtrn\doorgame\input.dat

    P_OPENCLOSE

    Huh?

    digital man

    Snapple "Real Fact" #53:
    The average women consumes 6lbs of lipstick in her lifetime.
    Norco, CA WX: 93.9øF, 31% humidity, 0 mph WSW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Death on Mon Aug 21 12:45:00 2006
    Re: Re: code example
    By: Death to Digital Man on Sat Aug 19 2006 03:58 am

    Even if smbutil could extract a specific message, how would you know *whi message to extract?

    Would it be possible to maybe set smbutil to scan for messages with a certain header?? Then if all the messages connected to the game were
    under as certain header you could only extract those messages? Just
    throwing a bone out here.. =o)

    It could. But then you'd just keep extrating the same message(s) everytime, unless they were deleted after extraction or you had some time of "highwater mark". In any case, it alls seems like a misapplication of smbutil and a job better suited for a script.

    digital man

    Snapple "Real Fact" #66:
    Americans on average eat 18 acres of pizza a day.
    Norco, CA WX: 93.9øF, 31% humidity, 0 mph WSW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Finnigann@VERT/BNB to Digital Man on Mon Aug 21 17:39:00 2006
    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-


    Well could something highly configurable be written in baja/javascript?

    In JavaScript, absolutely. See the NewsLink and ListServers modules as examples.

    // Pulls text from syncdata message base
    // $Id: syncdata.js,v .12 2006/08/19 rswindell Exp $
    // @format.tab-size 8, @format.use-tabs true

    load("sbbsdefs.js");

    // Available Command-line options:
    //
    // m indicates extraction
    // t sets 'To' field value
    // s sets 'Subject' field value
    // syncdata is the default message base
    //
    // syncdata.js /m /tdoorgame /sweeknumber \sbbs\xtrn\doorgame\input.dat

    P_OPENCLOSE

    Huh?

    I said it was bedtime... (-:

    oh, not a javascript word... opps.



    _ _ _ _ _ _ _ _ _
    / \ / \ / \ / \ / \ / \ / \ / \ / \
    ( F | i | n | n | i | g | a | n | n )
    \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/


    ... The nice thing about standards is that there are so many to choose from. --- MultiMail/Win32 v0.47
    þ Synchronet þ Bits-N-Bytes - bnb.dtdns.net / bnb.synchro.net
  • From Finnigann@VERT/BNB to Digital Man on Mon Aug 21 18:04:00 2006
    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-


    I suppose I mispoke: you can *read* messages (interactively) with smbutil (using the 'r' command), but can't really "extract" message (programatically). This could be done with small JS module however.

    If I knew more about exactly what you're trying to accomplish, I mig be able to help more.

    If you recall Jazzman's sports... game? I was wondering how syncdata
    might be useful for tying other BBS' together.

    SMBUTIL can be made to upload game data. getting it out is another
    item.

    But if a javascript segment can be called to cull out messages for the
    door (making large assumptions) or added functionality to smbutil,
    would be great.

    Even if smbutil could extract a specific message, how would you know *which* message to extract?

    Well I was thinking that switches would tell what values to look for in
    a message.


    smbutil /m /tdoorgame /sweeknumber \sbbs\xtrn\doorgame\input.dat

    Okay, so /m would would always extract a single message? If so,
    wouldn't it just keep extracting the same message over and over?

    If smbutil could be made to work, it would read ALL messages with a
    subject with a specific date or phrase 'week 1' 'week 2' etc. the
    message would of course be addressed to 'Sportdoor'.

    The door would have to be able to read the FROM: line

    Parsing the body of the message would be the next chore.

    I guess it would have to be carrefully formated to aide this task.

    /*
    Possible choices:
    TEAM Abc Team Bcd
    TEAM Cde Team Def
    */

    (this week)
    WINNERS:
    TEAM Bcd
    TEAM Def



    But SMBUTIL can't read messages based on any of those fields (From, To,
    Subject)

    What am I doing, Jazzman has no doubt coded the whole thing up already.


    Of course you know I'm not a programmer, but is this function in the
    SDK? I would think someone else would have sought out syncdata to
    transport data before now.

    A JS module would be the way to go. I'm not sure which SDK you're referring to. The XSDK does not include any message base functionality. The SMBLIB is available as a separate library for message base access, but a JS module would be much easier.

    Well could something highly configurable be written in baja/javascript?

    In JavaScript, absolutely. See the NewsLink and ListServers modules as examples.

    Can a JS be called from a baja program?

    So, is there much use in a JS module to read messages from [syncdata]
    message base?

    I mean is anyone with codeing skills interested?



    _ _ _ _ _ _ _ _ _
    / \ / \ / \ / \ / \ / \ / \ / \ / \
    ( F | i | n | n | i | g | a | n | n )
    \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/


    ... Be polite. First listen to sermon, THEN eat missionary.
    --- MultiMail/Win32 v0.47
    þ Synchronet þ Bits-N-Bytes - bnb.dtdns.net / bnb.synchro.net
  • From Digital Man@VERT to Finnigann on Mon Aug 21 14:56:00 2006
    Re: Re: code example
    By: Finnigann to Digital Man on Mon Aug 21 2006 10:04 pm

    With regards to the social ramifications;
    Digital Man wrote to Finnigann <=-


    I suppose I mispoke: you can *read* messages (interactively) with smbutil (using the 'r' command), but can't really "extract" messa (programatically). This could be done with small JS module howeve

    If I knew more about exactly what you're trying to accomplish, I be able to help more.

    If you recall Jazzman's sports... game? I was wondering how syncdata
    might be useful for tying other BBS' together.

    SMBUTIL can be made to upload game data. getting it out is another
    item.

    But if a javascript segment can be called to cull out messages for th
    door (making large assumptions) or added functionality to smbutil,
    would be great.

    Even if smbutil could extract a specific message, how would you know *which* message to extract?

    Well I was thinking that switches would tell what values to look for in
    a message.


    smbutil /m /tdoorgame /sweeknumber \sbbs\xtrn\doorgame\input.dat

    Okay, so /m would would always extract a single message? If so, wouldn't it just keep extracting the same message over and over?

    If smbutil could be made to work, it would read ALL messages with a
    subject with a specific date or phrase 'week 1' 'week 2' etc. the
    message would of course be addressed to 'Sportdoor'.

    So it would put multiple messages into 'input.dat'?

    The door would have to be able to read the FROM: line

    Parsing the body of the message would be the next chore.

    I guess it would have to be carrefully formated to aide this task.

    /*
    Possible choices:
    TEAM Abc Team Bcd
    TEAM Cde Team Def
    */

    (this week)
    WINNERS:
    TEAM Bcd
    TEAM Def



    But SMBUTIL can't read messages based on any of those fields (From, To,
    Subject)

    What am I doing, Jazzman has no doubt coded the whole thing up already.


    Of course you know I'm not a programmer, but is this function in the
    SDK? I would think someone else would have sought out syncdata to
    transport data before now.

    A JS module would be the way to go. I'm not sure which SDK you're referring to. The XSDK does not include any message base functionali The SMBLIB is available as a separate library for message base acces but a JS module would be much easier.

    Well could something highly configurable be written in baja/javascript?

    In JavaScript, absolutely. See the NewsLink and ListServers modules as examples.

    Can a JS be called from a baja program?

    Yes.

    digital man

    Snapple "Real Fact" #134:
    An ant can lift 50 times its own weight.
    Norco, CA WX: 86.3øF, 39% humidity, 0 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Death@VERT/DARKNESS to Digital Man on Mon Aug 21 19:38:00 2006

    It could. But then you'd just keep extrating the same message(s) everytime, unless they were deleted after extraction or you had some time of "highwater mark". In any case, it alls seems like a misapplication of smbutil and a job better suited for a script.

    I agree that using JavaScript would be better. I was just wondering if
    smbutil could do it, and you answered.. Thanks! =o)

    Death



    Home of DarkNet


    ---
    þ Synchronet þ Darkness BBS - darkness.synchro.net
  • From MRoblivious1bmf@VERT to Finnigann on Mon Aug 28 17:15:00 2006
    To: Finnigann
    .,: This is something about Re: code example,
    Finnigann said it to Digital Man on Mon Aug 21 2006 10:04 pm ---------------------------------------------------------------------
    If smbutil could be made to work, it would read ALL messages with a
    subject with a specific date or phrase 'week 1' 'week 2' etc. the
    message would of course be addressed to 'Sportdoor'.


    honestly, i dont think this is a feature that many people would want or use. it's best done with .js if at all.

    Can a JS be called from a baja program?

    yes.

    exec ?javsscriptname

    check out the synchronet documentation for more info on this, and other things. and the whatsnew files, those are rich with information.

    --- Synchronet 3.13a-Win32 NewsLink 1.84
    * eob - Racine, WisconSIN - telnet://eob.darktech.org
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net