• GI menu command don't work on python2 script...

    From Nicola Mettimano@2:335/601 to g00r00 on Thu Feb 2 15:48:46 2023
    Hello I am looking into ThreatSentry mod (by Phenom) code to find the problem. I see taht menucmd('GI') does not bring any results; i tried menucmd('-N', 'question') just for testing and it work, so i don't understand what could be the problem.
    Is there any other method to disconnect/hangup from a pytho2 script?
    Thanks.

    -------------------------------------------------
    La violenza è l'ultimo rifugio degli incapaci!

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)
  • From g00r00@1:129/215 to Nicola Mettimano on Fri Feb 3 07:27:36 2023
    Hello I am looking into ThreatSentry mod (by Phenom) code to find the problem. I see taht menucmd('GI') does not bring any results; i tried

    Are you exiting the script after you run it?

    ... Old musicians never die. They just decompose!

    --- Mystic BBS v1.12 A49 2023/01/31 (Windows/64)
    * Origin: Sector 7 * Mystic WHQ (1:129/215)
  • From Nicola Mettimano@2:335/601 to g00r00 on Fri Feb 3 14:57:55 2023
    Are you exiting the script after you run it?

    Sorry I can't understand, this is my python scipt (two lines... is a test):

    from mystic_bbs import *
    writeln('just a test')
    menucmd('GI')

    When I invoke it with GY from a menu entry I see Just a test but nothing else happens.

    -------------------------------------------------
    La violenza è l'ultimo rifugio degli incapaci!

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)
  • From g00r00@1:129/215 to Nicola Mettimano on Fri Feb 3 11:30:38 2023
    from mystic_bbs import *
    writeln('just a test')
    menucmd('GI')

    When I invoke it with GY from a menu entry I see Just a test but nothing else happens.

    You are not calling the menucmd function properly. It has two parameters the first is the menu command and the second is data.

    Change it to this and it should work:

    menucmd('GI', '')

    ... "No comment" is a comment.

    --- Mystic BBS v1.12 A49 2023/01/31 (Windows/64)
    * Origin: Sector 7 * Mystic WHQ (1:129/215)
  • From Nicola Mettimano@2:335/601 to g00r00 on Fri Feb 3 18:46:41 2023
    Thank you very much, you are always very kind and above all you always solve my problems ;-)

    -------------------------------------------------
    La violenza è l'ultimo rifugio degli incapaci!

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: REtrogaming ACTivities (REACT) BBS (2:335/601)
  • From g00r00@1:129/215 to Nicola Mettimano on Fri Feb 3 13:28:54 2023
    Thank you very much, you are always very kind and above all you always solve my problems ;-)

    Thanks! Happy to help and I'm glad it is resolved!

    ... One tequila, two tequila, three tequila, floor.

    --- Mystic BBS v1.12 A49 2023/01/31 (Windows/64)
    * Origin: Sector 7 * Mystic WHQ (1:129/215)