• Execute event after user disconnect

    From Manuel Adorni@1:396/4 to All on Wednesday, March 09, 2022 12:41:11
    From: nospam.Manuel.Adorni@f1.n90.z4.fidonet.org (Manuel Adorni)

    Hola Todos!

    Is it possible to execute an event right after the user logout?

    I have not seen in the Mystics docs the list of available semaphores.

    Thanks!

    Saludos!
    -=Momia=-

    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)
  • From g00r00@1:396/4 to All on Wednesday, March 09, 2022 19:59:55
    From: nospam.g00r00@f215.n129.z1.fidonet.org (g00r00)

    Hola Todos!

    Is it possible to execute an event right after the user logout?

    I have not seen in the Mystics docs the list of available semaphores.

    If you wanted to create a semaphore at logout you could do it using the !C menu
    command from your menu:

    Text: (!) Logoff

    Actions:

    (!C) Create semaphore logoff.@NODE
    (GI) Hangup Immediately

    But of course this would not handle a situation where a user's connection was lost. I would be willing to add in a semaphore on logout though if you feel you need one.

    Do you think it should be a node-specific semaphore like "logoff.<nodenumber>.txt" or just a logout.txt?

    .... We all live in a yellow subroutine...

    --- NewsGate v1.0 gamma 2
    * Origin: News Gate @ Net396 -Huntsville, AL - USA (1:396/4)