• MPL Command Question

    From pweck@21:3/113 to All on Saturday, September 26, 2020 00:18:55
    Hi,

    Im doing some MPL game programming and wondering if there is a command that allows the program to send mail to the users account. For example, if I
    wanted to send a list of winnings to them to save for prosperity.

    thanks

    --- Mystic BBS v1.12 A46 2020/08/24 (Raspberry Pi/32)
    * Origin: Pweck's Retreat BBS (21:3/113)
  • From nugax@21:1/107 to All on Saturday, September 26, 2020 08:48:21
    You can use MenuCmd() and the proper menu command to send bbs mail I believe. You can also send a file as a message.

    On 19:18 25/09 , pweck wrote:
    Hi,

    Im doing some MPL game programming and wondering if there is a command that >allows the program to send mail to the users account. For example, if I >wanted to send a list of winnings to them to save for prosperity.

    thanks

    --- Mystic BBS v1.12 A46 2020/08/24 (Raspberry Pi/32)
    * Origin: Pweck's Retreat BBS (21:3/113)


    --
    yrNews Usenet Reader for iOS
    http://appstore.com/yrNewsUsenetReader

    --- Mystic BBS/NNTP v1.12 A47 2020/09/12 (Linux/64)
    * Origin: The ByteXchange BBS | bbs.thebytexchange.com (21:1/107)
  • From pweck@21:3/113 to nugax on Saturday, September 26, 2020 12:49:43
    You can use MenuCmd() and the proper menu command to send bbs mail I believe. You can also send a file as a message.

    Thanks for the help. Looking for a specific command or way to do that with
    MPL.

    --- Mystic BBS v1.12 A46 2020/08/24 (Raspberry Pi/32)
    * Origin: Pweck's Retreat BBS (21:3/113)
  • From nugax@21:1/107 to pweck on Saturday, September 26, 2020 20:29:36
    Thanks for the help. Looking for a specific command or way to do that
    with MPL.

    The specific command to run any Menu Command from Mystic is: MenuCmd('cmd_you_want', optional data);


    Sincerely,
    -Nugax
    --=TheByteXchange BBS=--

    --- Mystic BBS v1.12 A47 2020/09/12 (Linux/64)
    * Origin: The ByteXchange BBS | bbs.thebytexchange.com (21:1/107)
  • From dream master@21:1/163 to pweck on Saturday, September 26, 2020 21:14:39
    On 26 Sep 2020, pweck said the following...
    Im doing some MPL game programming and wondering if there is a command that allows the program to send mail to the users account. For example,
    if I wanted to send a list of winnings to them to save for prosperity.

    its menucmd() and that is MX and then the base that would be the index number of emailyour email base and the users name and subject. here is an example from my dorenet mpl app.

    menucmd ('MX',''+tempfile2+';1;'+useralias+';dream master;DoRENET application');

    tempfile would be a text file to send and the 1 is the index for my email,
    user alias is what i used to send the email to and from me and the subject. soo

    menucmd('MX',filename;baseindex #;from; to;subjext); i hope that helps.

    |08 .|05·|13∙|15Dr|07e|08am Ma|07st|15er|13∙|05·|08.
    |08 °∙|05·|13∙° |13°∙|05·|08∙°
    |11 DoRE|03!|11ACiDiC|03!|11Demonic
    |08[|15bbs|09.|15dreamlandbbs|09.|15org|08]

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: |08--[|15!|07dreamland BBS bbs.dreamlandbbs.org (21:1/163)
  • From pweck@21:3/113 to dream master on Sunday, September 27, 2020 10:08:47
    its menucmd() and that is MX and then the base that would be the index number of emailyour email base and the users name and subject. here is
    an example from my dorenet mpl app.

    menucmd ('MX',''+tempfile2+';1;'+useralias+';dream master;DoRENET application');

    tempfile would be a text file to send and the 1 is the index for my
    email, user alias is what i used to send the email to and from me and
    the subject. soo

    menucmd('MX',filename;baseindex #;from; to;subjext); i hope that helps.

    Thank you! That's very clear and helpful, I appreciate it!

    --- Mystic BBS v1.12 A46 2020/08/24 (Raspberry Pi/32)
    * Origin: Pweck's Retreat BBS (21:3/113)