• Run MPL from Prompts Editor

    From metalhead@21:1/113 to All on Sun Feb 9 23:59:43 2020
    I apologize if it's in the documentation somewhere, but can someone tell me
    how to execute an MPX from inside the Prompts editor?

    I asked this same question years ago, got an answer, did it, but forgot how!

    Thanks.

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Alcoholiday / Est. 1995 / alco.bbs.io (21:1/113)
  • From Analog@21:2/123 to metalhead on Sun Feb 9 22:31:11 2020
    I apologize if it's in the documentation somewhere, but can someone tell me how to execute an MPX from inside the Prompts editor?

    If you mean have a prompt execute an MPL then you have these options:
    !MPLNAME at beginning of prompt
    #MPYNAME at beginning of prompt


    Cheers,

    |20|15┌─|16|08┤ |08De|07ad|15be|07a|08tz b|07b|15s
    |08└─┘├─┐ |08:>.|07A|08rk |0710|08:|07101|08/|0714|08.
    |04■ |08└|20|15─|16|08┘ |08:>.|10A|02gn |1046|08:|101|08/|10123|08.
    |04A|07n|15al|07o|08g |08:>.|12F|04sx |1221|08:|122|08/|12123|08. |15.|04p|07HENOM|15. |08:>.|15S|07ci |1577|08:|151|08/|15131|08. |04░▒░|08▒██▄▌|08:>.|11T|03qw |111337|08:|113|08/|1113|08.

    --- Mystic BBS v1.12 A45 2020/02/09 (Linux/64)
    * Origin: deadbeatz.org (21:2/123)
  • From metalhead@21:1/157 to Analog on Mon Feb 10 10:45:19 2020
    If you mean have a prompt execute an MPL then you have these options:

    Yes & thanks!

    --- Mystic BBS v1.12 A45 2020/02/09 (Windows/32)
    * Origin: Shadowscope BBS | bbs.shadowscope.com | Temple, GA (21:1/157)
  • From bcw142@21:1/145.2 to metalhead on Sun Feb 16 22:39:42 2020
    On 09 Feb 2020, metalhead said the following...

    I apologize if it's in the documentation somewhere, but can someone tell me how to execute an MPX from inside the Prompts editor?
    I asked this same question years ago, got an answer, did it, but forgot how!
    Thanks.

    Normally MPX isn't executed from Prompts menu, they are in Menu editor. The command is GX, but there is now GY for Python as well. You insert (i) a command in the menu editor, it put in the (Q)uit menu entry which you edit
    to do what you want. When you (i)nsert a command you get a setup to edit like:

    Display Text | 09(B) BBS List & Telnet
    LightBar Low | 07BBS List & Telnet
    LightBar High | 15BBS List & Telnet
    Hot Key | B
    Access | Up | 0 Escape | 0 Display Type | Access Down | 0 Tab | 0
    X Y | 0 0 Left | 0 PageUp | 0
    Timer | 0 Right | 0 PageDn | 0
    Timer Type | Interval Redraw | Yes Home | 0 End | 0 Command ------------------ Access ----- Data ----------------------------
    (GO) Go to new menu bbslist

    If you had a bbslist.mps it would compile with mplc to bbslist.mpx and to
    run it you'd change the (GO) Go to new menu line with the tab and up arrow
    and edit it to:
    (GX) Execute MPL program bbslist
    then hit ESC, save the changes? yes
    It would then be able to execute an MPL called bbslist.mpx from the current themes script directory by default. You can build up commands in long lists
    to do more complex tasks. The commands come from a list that you get access
    to then you go to change a command list (GO) above you can scroll through the full list which includes the edit menu command and all others.

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Mystic AlphaTest bcw142.zapto.org:2323 (21:1/145.2)