• Automsg ANS

    From Patch #1@142.Wwivnet@11:1/101 to All on Thu Mar 27 21:07:39 2025

    Does anyone know if there is a way to display automsg.ans at logon, and if so which folder does it go into in order for it to work?

    Folders I've tried:
    wwiv\gfiles
    wwiv\menus
    wwiv\menus\wwiv\gfiles

    Any help is appreciated.

    -P

    ---
    |#2___
    |#2ooO(|#9# |#2.)Ooo |#7(web) lotw.theshardforge.cc
    |#0Lair of the Wolverine |#7(tel) bbs.theshardforge.cc
    |#2( . )
    |#2< ^ > |#7(net) WWIVnet: @142, GHOSTnet: @7 |#0

    "|#1We are |#2NOT |#1your average BBS|#0"

                           
    --- WWIVToss v.1.52
    * Origin: http://www.weather-station.org * Bel Air, MD -USA (11:1/101.0)
  • From Xenos #1@60.Wwivnet@11:1/101 to Patch #1 on Fri Mar 28 07:35:30 2025

    On Friday,March 28, 2025 at 10:07 AM, Patch wrote:

    Does anyone know if there is a way to display automsg.ans at logon, and
    if so which folder does it go into in order for it to work?

    Folders I've tried:
    wwiv\gfiles
    wwiv\menus
    wwiv\menus\wwiv\gfiles

    Any help is appreciated.


    The filename is auto.msg and is usually in wwiv\gfiles.

    Hope this helps.

    -=<(xenos)>=-


    A .-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
    /*\ | /\liens' /\lcove! WWIV on Linux - Taguig, Metro Manila, Philippines |
    / v \`-=-=-=-=-=-=-=-=-=-=-=[ WWIVnet Sysops Sub ]=-=--=-=-=-=-=-=-=-=-=-=-'



                  
    --- WWIVToss v.1.52
    * Origin: http://www.weather-station.org * Bel Air, MD -USA (11:1/101.0)
  • From Patch #1@142.Wwivnet@11:1/101 to Xenos #1 on Fri Mar 28 22:20:13 2025

    On Friday,March 28, 2025 at 06:35 AM, Xenos wrote:

    The filename is auto.msg and is usually in wwiv\gfiles.

    Hope this helps.

    Thanks for replying. I may have not described what I am looking for. I know auto.msg resides in GFiles, I would like what is in essence a header ANSI I made years ago, to display before the auto.msg.

    Since WWIVConfig -> Menus has automsg, I thought that if we made an ANSI it would display.

    Now that I'm thinking about it, I wonder if the ANSI will display with the auto message menu options instead. Off to test that out.

    -P

    ---
    |#2___
    |#2ooO(|#9# |#2.)Ooo |#7(web) lotw.theshardforge.cc
    |#0Lair of the Wolverine |#7(tel) bbs.theshardforge.cc
    |#2( . )
    |#2< ^ > |#7(net) WWIVnet: @142, GHOSTnet: @7 |#0

    "|#1We are |#2NOT |#1your average BBS|#0"

                        
    --- WWIVToss v.1.52
    * Origin: http://www.weather-station.org * Bel Air, MD -USA (11:1/101.0)
  • From R3c0n #1@126.Wwivnet@11:1/101 to Xenos #1 on Sat Mar 29 07:51:39 2025


    Xenos that is the auto message text the user types, similar to laston.txt. Patch is looking for a header file such as automsgheader.ans to display before the automsg.ans file does OR an ansi to replace the menu of auto message which is not possible.

    To add an auto message header, there may be easier ways, but I added it to /git/wwiv/sdk/filenames.h and included AUTOMSG_NOEXT

    #define AUTO_MSG "auto.msg"
    #define AUTOMSG_NOEXT "automsg"
    #define ASV_NOEXT "asv"

    Then in /git/wwiv/bbs/automsg.cpp


    }
    }
    bout.printfile(AUTOMSG_NOEXT); // added header before below
    bout.print("\r\n|#9Auto message by: |#2{}|#0\r\n\n", authorName);

    auto line_number = 0;


    Not sure if it works yet, but it compiles fine.

    It would be nice if the lilo process all had header file options:
    Last On
    Network Traffic
    Auto Message

    So that custom ANSI files can be made. The aforementioned is how I've been adding them myself to code but maybe there is an easier way?

    |08r|153|08c|150|08n

    On Friday,March 28, 2025 at 10:07 AM, Patch wrote:

    Does anyone know if there is a way to display automsg.ans at
    logon, and
    if so which folder does it go into in order for it to work?

    Folders I've tried:
    wwiv\gfiles
    wwiv\menus
    wwiv\menus\wwiv\gfiles

    Any help is appreciated.


    The filename is auto.msg and is usually in wwiv\gfiles.

    Hope this helps.

    -=<(xenos)>=-

    ♦1
    ♦2 A .-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    ♦3 /*\ | /\liens' /\lcove! WWIV on Linux - Taguig, Metro
    Manila, Philippines |
    ♦4/ v \`-=-=-=-=-=-=-=-=-=-=-=[ WWIVnet Sysops Sub ]=-=--=-=-=-=-=-=-=-=-=-=-'
    ♦5
    ♦6
    ♦7

    |08Gh|150|08sts |07in the |15Machine |02Ghost|10Net |03Zero|11Net |15WWIV|07Net
    |08ghostmachine.ddns.net|15:|08 t|151717 |08ssh|157777


              
    --- WWIVToss v.1.52
    * Origin: http://www.weather-station.org * Bel Air, MD -USA (11:1/101.0)
  • From Xenos #1@60.Wwivnet@11:1/101 to R3c0n #1 on Sun Mar 30 13:14:22 2025

    Oh. Sounds like a cool mod to fold in.

    On Saturday,March 29, 2025 at 08:51 PM, R3c0n wrote:

    RE: Re: Automsg ANS
    BY: Xenos #1 @60

    Xenos that is the auto message text the user types, similar to
    laston.txt.
    Patch is looking for a header file such as automsgheader.ans to display before the automsg.ans file does OR an ansi to replace the menu of auto message which is not possible.

    To add an auto message header, there may be easier ways, but I added it
    to /git/wwiv/sdk/filenames.h and included AUTOMSG_NOEXT

    #define AUTO_MSG "auto.msg"
    #define AUTOMSG_NOEXT "automsg"
    #define ASV_NOEXT "asv"

    Then in /git/wwiv/bbs/automsg.cpp


    }
    }
    bout.printfile(AUTOMSG_NOEXT); // added header before below
    bout.print("\r\n|#9Auto message by: |#2{}|#0\r\n\n", authorName);

    auto line_number = 0;


    Not sure if it works yet, but it compiles fine.

    It would be nice if the lilo process all had header file options:
    Last On
    Network Traffic
    Auto Message

    So that custom ANSI files can be made. The aforementioned is how I've
    been adding them myself to code but maybe there is an easier way?


    A .-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
    /*\ | /\liens' /\lcove! WWIV on Linux - Taguig, Metro Manila, Philippines |
    / v \`-=-=-=-=-=-=-=-=-=-=-=[ WWIVnet Sysops Sub ]=-=--=-=-=-=-=-=-=-=-=-=-'



                  
    --- WWIVToss v.1.52
    * Origin: http://www.weather-station.org * Bel Air, MD -USA (11:1/101.0)