• New users and semaphores?

    From The Leprechaun@1:229/426.52 to All on Mon May 3 18:36:24 2021
    Does Mystic create a semaphore (or some other flag) when a new user is created? I'm asking because I need to invoke an external process after new users are created. I could just have my tool read the user.dat file after each log off but was wondering if there was a more gracefull solution.

    Andy
    --- Mystic BBS v1.12 A47 2021/04/20 (Windows/32)
    * Origin: The Pot O'Gold - bbs.thepotogold.net:4888 (1:229/426.52)
  • From g00r00@1:129/215 to The Leprechaun on Mon May 3 22:01:21 2021
    Does Mystic create a semaphore (or some other flag) when a new user is created? I'm asking because I need to invoke an external process after new users are cre ated. I could just have my tool read the user.dat
    file after each log off but w as wondering if there was a more gracefull solution.

    You could use a small MPL script to do whatever you want on their first call:

    Uses USER

    Begin
    GetThisUser

    If UserLastOn = 0 Then
    WriteLn('This is my first call! Press a key|PN');
    End

    I could probably make an ACS flag for their first call too if desired.. Maybe "OC" could return true if its their first call

    --- Mystic BBS v1.12 A47 2021/05/02 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (1:129/215)
  • From The Leprechaun@1:229/426.52 to All on Tue May 4 09:57:48 2021
    On 03 May 2021, The Leprechaun said the following...

    Does Mystic create a semaphore (or some other flag) when a new user is created?

    I'm asking because I need to invoke an external process after new users are created. I could just have my tool read the user.dat file after
    each log off but was wondering if there was a more gracefull solution.

    I figured it out. I wasn't far off but didn't have the bytes set correctly.

    --- Mystic BBS v1.12 A47 2021/04/20 (Windows/32)
    * Origin: The Pot O'Gold - bbs.thepotogold.net:4888 (1:229/426.52)