• Execute event after user disconnect

    From Manuel Adorni@4:90/1 to Todos on Wednesday, March 09, 2022 06:41:11
    ¡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=-

    --- GoldED+/DPMI32 1.1.5-040330
    * Origin: Momia BBS - telnet://momiabbs.no-ip.info:2323 (4:90/1)
  • From g00r00@1:129/215 to Manuel Adorni on Wednesday, March 09, 2022 13:59:55
    ¡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...

    --- Mystic BBS v1.12 A48 2022/03/07 (Windows/64)
    * Origin: Sector 7 * Mystic WHQ (1:129/215)