• Logon Scripts

    From bamageek@21:1/140 to All on Mon Feb 17 07:24:21 2020
    Is it possible to interject a Mystic Python script into the logon process?

    --- Mystic BBS v1.12 A44 2020/02/04 (Windows/32)
    * Origin: Dave's BBS (21:1/140)
  • From Captain Obvious@21:1/157 to bamageek on Mon Feb 17 08:48:19 2020
    On 17 Feb 2020, bamageek said the following...

    Is it possible to interject a Mystic Python script into the logon
    process?

    Certainly. Depends on where in the process I guess. I have scripts running prior to logon, in some of the prompts and in the prelogin menu as well.

    -=>Richard Miles<=-
    -=>Captain Obvious<=-
    -=>bbs.shadowscope.com<=-

    --- Mystic BBS v1.12 A45 2020/02/16 (Windows/32)
    * Origin: Shadowscope BBS | bbs.shadowscope.com | Temple, GA (21:1/157)
  • From g00r00@21:1/108 to bamageek on Mon Feb 17 11:09:32 2020
    Is it possible to interject a Mystic Python script into the logon
    process?

    Yes. What is it you're trying to do? There are a lot of ways to run a
    script at various parts of the login or new user application

    --- Mystic BBS v1.12 A45 2020/02/15 (Windows/64)
    * Origin: Sector 7 (21:1/108)
  • From bamageek@21:1/140 to Captain Obvious on Mon Feb 17 11:50:29 2020
    Certainly. Depends on where in the process I guess. I have scripts
    running prior to logon, in some of the prompts and in the prelogin menu
    as well.

    Well I would want to run something after the user loggs in and before the
    first menu comes up. I know there's an apply_sample .mps script (Not sure if
    I could use a .mpy script instead or if I can call a .mpy script from .mps)
    but I'm wondering if there's a way to run something for everyone every
    time they log on.

    --- Mystic BBS v1.12 A44 2020/02/04 (Windows/32)
    * Origin: Dave's BBS (21:1/140)
  • From bamageek@21:1/140 to g00r00 on Mon Feb 17 11:56:11 2020
    Yes. What is it you're trying to do? There are a lot of ways to run a script at various parts of the login or new user application


    Couple of Things i'm wanting to play around really, but wanted to be able to run something after the user authentication and before the first menu
    display. Really my script would be for a lot of prep stuff like making sure
    the chat is active, maybe some custom logging/notification or whever else I
    can think of.

    One thing I want to do some user email validation (not just for new users, but existing/unauthenticated users). I see a sample apply .mps script that I
    might be able to use for new users, although I'd want to do a Mystic Python script instead of a mps script.

    --- Mystic BBS v1.12 A44 2020/02/04 (Windows/32)
    * Origin: Dave's BBS (21:1/140)
  • From Captain Obvious@21:1/157 to bamageek on Mon Feb 17 15:12:58 2020
    On 17 Feb 2020, bamageek said the following...

    Couple of Things i'm wanting to play around really, but wanted to be
    able to run something after the user authentication and before the first menu display. Really my script would be for a lot of prep stuff like making sure the chat is active, maybe some custom logging/notification
    or whever else I can think of.
    One thing I want to do some user email validation (not just for new
    users, but existing/unauthenticated users). I see a sample apply .mps

    You can do all of that from the prelogin menu. Mine is:

    (GY) Execute Python Module threatsentry
    (GD) Display a file s 20! s25 emailval
    (-V) Validate e-mail addre s 20! s25 25
    (DD) Exec external program start c:\mystic\newsupd.bat
    (DD) Exec external program start twit.bat % U
    (NS) Send node message ! OI 0;| & 1 has logged into node | & 2. (DD) Exec external program c:\mystic\mrclogin.bat % U
    (MG) Message group change 1
    (MA) Message area change 2
    (MR) Read messages N
    (GT) Display line of text |CL
    (-N) Ask Yes/No (default N s 25 Fast Login?
    (GO) Go to new menu ^ OK main
    (GX) Execute MPL program xq-aboard
    (GX) Execute MPL program automessage
    (GL) Show last callers
    (GD) Display a file c:\mystic\topcallers.ans
    (GN) Show one-liners 10;75;75
    (GX) Execute MPL program tdih 4
    (MC) Check e-mail
    (MF) View draft msg posts /scan
    (GO) Go to new menu main

    I put spaces between all of the MCI codes. This is just an example. No menu displayed until it's finished and puts you to main.

    -=>Richard Miles<=-
    -=>Captain Obvious<=-
    -=>bbs.shadowscope.com<=-

    --- Mystic BBS v1.12 A45 2020/02/16 (Windows/32)
    * Origin: Shadowscope BBS | bbs.shadowscope.com | Temple, GA (21:1/157)
  • From g00r00@21:1/108 to bamageek on Mon Feb 17 15:28:41 2020
    Couple of Things i'm wanting to play around really, but wanted to be
    able to run something after the user authentication and before the first menu display. Really my script would be for a lot of prep stuff like making sure the chat is active, maybe some custom logging/notification
    or whever else I can think of.

    In that case you would want to open up your PRELOGIN menu. After the login all of the stuff Mystic does before the main menu is auto executed in that menu and you can edit it to do whatever you'd like (including running scripts).

    You can do quite a bit of customization already in there without scripting!

    One thing I want to do some user email validation (not just for new
    users, but existing/unauthenticated users). I see a sample apply .mps script that I might be able to use for new users, although I'd want to
    do a Mystic Python script instead of a mps script.

    You can do email validation by security level in your prelogin mnu without programming if you wanted to. For example, you could force anyone under security level 20 or something to have to validate their e-mail and then have it upgrade their access to 20 once they do.

    We can get more into how to do that if that is what you want (assuming
    someone else doesnt show you here first)

    --- Mystic BBS v1.12 A45 2020/02/15 (Windows/64)
    * Origin: Sector 7 (21:1/108)
  • From bamageek@21:1/140 to Captain Obvious on Mon Feb 17 17:25:52 2020
    You can do all of that from the prelogin menu. Mine is:


    Oh wow I wasn't aware there was a menu option for that. That sounds perfect thanks!

    --- Mystic BBS v1.12 A44 2020/02/04 (Windows/32)
    * Origin: Dave's BBS (21:1/140)
  • From bamageek@21:1/140 to g00r00 on Mon Feb 17 17:28:11 2020
    You can do email validation by security level in your prelogin mnu
    without programming if you wanted to. For example, you could force
    anyone under security level 20 or something to have to validate their e-mail and then have it upgrade their access to 20 once they do.

    Yep I think that will work better than trying to change the apply script.
    This is perfect. I'm slowly learning! :)

    --- Mystic BBS v1.12 A44 2020/02/04 (Windows/32)
    * Origin: Dave's BBS (21:1/140)
  • From Avon@21:1/101 to Captain Obvious on Tue Feb 18 19:25:26 2020
    On 17 Feb 2020 at 03:12p, Captain Obvious pondered and said...

    You can do all of that from the prelogin menu. Mine is:

    That is an impressive prelogin... and the judges score it 8.5 9.2 and 9.0 ... the Romanian official was particularly impressed with the routine :)

    --- Mystic BBS v1.12 A44 2020/02/04 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From g00r00@21:1/108 to Avon on Tue Feb 18 03:01:36 2020
    You can do all of that from the prelogin menu. Mine is:

    That is an impressive prelogin... and the judges score it 8.5 9.2 and
    9.0 ... the Romanian official was particularly impressed with the
    routine :)

    LOL.

    I may or may not be the Romanian judge!

    When I read your comment I immediately imagined judge commentation going through each of the menu commands! "And he does a bulletin check straight into the security level 20 e-mail validation, simply fantastic! And that is what we want to see, some adaptation of the new feature and they just did it
    perfectly here!"

    --- Mystic BBS v1.12 A45 2020/02/17 (Windows/64)
    * Origin: Sector 7 (21:1/108)
  • From Captain Obvious@21:1/157 to Avon on Tue Feb 18 17:55:38 2020
    On 18 Feb 2020, Avon said the following...

    That is an impressive prelogin... and the judges score it 8.5 9.2 and
    9.0 ... the Romanian official was particularly impressed with the

    I could probably combine the couple of batch files I call to tidy it up. I
    seem to add and subtract stuff and then it gets sloppy. Going to eventually
    add a theme selection there as well I think. I'm not partial to having it before login. Tried it there briefly and that just didn't make sense to me.

    -=>Richard Miles<=-
    -=>Captain Obvious<=-
    -=>bbs.shadowscope.com<=-

    --- Mystic BBS v1.12 A45 2020/02/16 (Windows/32)
    * Origin: Shadowscope BBS | bbs.shadowscope.com | Temple, GA (21:1/157)
  • From Bucko@21:4/131 to Avon on Tue Feb 18 19:35:27 2020
    On 18 Feb 2020, Avon said the following...


    That is an impressive prelogin... and the judges score it 8.5 9.2 and
    9.0 ... the Romanian official was particularly impressed with the
    routine :)

    This is why a few months back I said the menu system of this BBS program is unbelievable.. You can change the entire look and feel of the BBS just by
    doing a theme and changing the menus! I created a theme to match the Image
    BBS for the C64 about a year ago, (Never finished it) and people who are uncomfortable with PC BBS' have said to me that using the Image theme makes this BBS so simple! It's not the theme it's the menus!

    --- Mystic BBS v1.12 A44 2020/02/04 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)