Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.bbs.mystic    |    Mystic Sysops are mystical nerds...    |    11,842 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,930 of 11,842    |
|    g00r00 to All    |
|    Re: New users and semaphores?    |
|    03 May 21 22:01:21    |
   
   From: nospam.g00r00@f215.n129.z1.fidonet.org   
      
    TL> Does Mystic create a semaphore (or some other flag) when a new user is   
    TL> created? I'm asking because I need to invoke an external process after   
    TL> new users are cre ated. I could just have my tool read the user.dat   
    TL> file after each log off but w as wondering if there was a more gracefull   
    TL> 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   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca