• MPL

    From esc@21:1/112 to All on Thursday, May 09, 2019 15:22:03
    Hey dudes, I'm setting up a mystic board and noticed there doesn't seem to be much on the mystic bbs wiki about MPL. What resources are you all using to
    help write MPL scripts? I'm basically stuck since it appears to be pretty undocumented :)

    Right now I'm basically just trying to write up a "Disclaimer" style MPL to test for a password (in this case, "YES", but could be "AGREE" or something like that). I'm not really sure where to go to even get started. Are there
    any resources floating around to help?

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Black Flag <ACiD Telnet HQ> blackflagbbs.com (21:1/112)
  • From Avon@21:1/101 to esc on Saturday, May 11, 2019 04:15:06
    On 09 May 2019 at 03:22p, esc pondered and said...

    Hey dudes, I'm setting up a mystic board and noticed there doesn't seem
    to be much on the mystic bbs wiki about MPL. What resources are you all using to help write MPL scripts? I'm basically stuck since it appears to be pretty undocumented :)

    Right now I'm basically just trying to write up a "Disclaimer" style MPL to test for a password (in this case, "YES", but could be "AGREE" or something like that). I'm not really sure where to go to even get
    started. Are there any resources floating around to help?

    Yep, there's a nice resource that was put together by Gryphon for MPL. It's
    not 100% up to date but it's a great reference tool. I really should work on getting it up on the Wiki (if Gryphon is OK that I do so with attribution?)
    or at least have a link pointing to the file for download for now.

    There's also a helpful tutorial that Xqtr put out some time ago.

    Lemme have a look for both and I'll hatch / post more here when I progress
    this as a follow up to this reply :)

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Avon@21:1/101 to esc on Saturday, May 11, 2019 04:43:05
    On 11 May 2019 at 04:15a, Avon pondered and said...

    Yep, there's a nice resource that was put together by Gryphon for MPL. It's not 100% up to date but it's a great reference tool. I really
    should work on getting it up on the Wiki (if Gryphon is OK that I do so with attribution?) or at least have a link pointing to the file for download for now.

    Have a look at https://bit.ly/2vN39cX this will lead you to Gryphon's website where there's some HTML versions of his notes. I'm following up with Gryphon
    on the possibility of getting some of this hatched out / to the Wiki in some way.

    Also look for XQ-MPLTUTOR01.ZIP it's in the FSX_MUTL file echo.. and I am
    about to re-hatch it out in case you (or others) don't have it.

    Hope that helps.

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From esc@21:1/112 to Avon on Friday, May 10, 2019 21:50:41
    Yep, there's a nice resource that was put together by Gryphon for MPL. It's not 100% up to date but it's a great reference tool. I really
    should work on getting it up on the Wiki (if Gryphon is OK that I do so with attribution?) or at least have a link pointing to the file for download for now.

    Would love that!

    There's also a helpful tutorial that Xqtr put out some time ago.

    Lemme have a look for both and I'll hatch / post more here when I
    progress this as a follow up to this reply :)

    I saw xqtr's tutorial that you've just hatched - thanks. I'll put that to
    work right away.

    Anything for mystic python scripts? Seems like basically just python at this point (2.7, to boot) with a sprinkling of some mystic stuff mixed in?

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Black Flag <ACiD Telnet HQ> blackflagbbs.com (21:1/112)
  • From esc@21:1/112 to Avon on Friday, May 10, 2019 21:51:51
    Have a look at https://bit.ly/2vN39cX this will lead you to Gryphon's website where there's some HTML versions of his notes. I'm following up with Gryphon on the possibility of getting some of this hatched out / to the Wiki in some way.

    Excellent, bookmarked. Thanks. Yeah, wiki-fying stuff like this would be
    cool, that way we don't stovepipe MPL modding knowledge to just the people
    that knew how to find docs :)

    Also look for XQ-MPLTUTOR01.ZIP it's in the FSX_MUTL file echo.. and I am about to re-hatch it out in case you (or others) don't have it.

    Just saw this - thanks!

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Black Flag <ACiD Telnet HQ> blackflagbbs.com (21:1/112)
  • From xqtr@21:1/111 to Avon on Saturday, May 11, 2019 07:50:25
    Yep, there's a nice resource that was put together by Gryphon for MPL. It's not 100% up to date but it's a great reference tool. I really
    should work on getting it up on the Wiki (if Gryphon is OK that I do so with attribution?) or at least have a link pointing to the file for download for now.
    There's also a helpful tutorial that Xqtr put out some time ago.

    There is also this file which i made some time ago, so it doesn't has some new additions to MPL. Check here: http://wiki.bbs.nz/programming:mplfunc

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From esc@21:1/112 to xqtr on Saturday, May 11, 2019 13:46:15
    There is also this file which i made some time ago, so it doesn't has
    some new additions to MPL. Check here: http://wiki.bbs.nz/programming:mplfunc

    Excellent! Thanks!

    Maybe we can have some kind of community undertaking to update mystic
    wikispace to include everything in the changelogs as well. I'd be happy to
    help with this.

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Black Flag <ACiD Telnet HQ> blackflagbbs.com (21:1/112)
  • From xqtr@21:1/111 to esc on Saturday, May 11, 2019 22:18:01
    Maybe we can have some kind of community undertaking to update mystic wikispace to include everything in the changelogs as well. I'd be happy
    to help with this.

    Sure, this is why i made that textfile, but it needs some update.

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From dream master@21:1/163 to esc on Sunday, May 12, 2019 05:26:59
    On 09 May 2019, esc said the following...
    Right now I'm basically just trying to write up a "Disclaimer" style MPL to test for a password (in this case, "YES", but could be "AGREE" or something like that). I'm not really sure where to go to even get
    started. Are there any resources floating around to help?


    Function INPUTYN (Text: String) : Boolean

    This function prompts the user with a Yes/No question, defaulting
    to Yes. TRUE will be returned if the user answered Yes, or FALSE
    if the user answered No. The passed Text variable is the text
    that is displayed to the user asking the question.

    Example:

    If Not InputYN('Do you want to run this program? ') Then
    Halt

    The above example will prompt the user with a Yes/No question,
    asking "Do you want to run this program?". If the user responds
    No, the program will not run, using the Halt command.
    or
    Function INPUTNY (Text: String) : Boolean

    This function prompts the user with a Yes/No question, defaulting
    to No. TRUE will be returned if the user answered Yes, or FALSE if
    the user answered No. The passed Text variable is the text that is
    displayed to the user asking the question.

    Example:

    If Not InputNY('Do you want to run this program? ') Then
    Halt

    The above example will prompt the user with the Yes/No question
    passed as <Text>. This question will default to No. If the user
    answers No, the program will halt from being executed.

    for the i agree you could do this

    var
    str : string;

    begin
    //put disclaimer her via writeln(); or showfile();
    write('|CR PLEASE SIGN HERE : ');
    str := input(7, 7, 12, '')
    if not str = 'I AGREE' then
    Begin
    writeln('|CR |12 INVALID ENTERY|04 SEE YOU NEXT TIME.|DE|DE');
    halt

    end else
    Begin
    what you want here
    end

    end

    |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 A43 2019/03/03 (Windows/32)
    * Origin: |08--[|15!|07dreamland BBS bbs.dreamlandbbs.org (21:1/163)
  • From dream master@21:1/163 to Avon on Sunday, May 12, 2019 05:27:50
    On 11 May 2019, Avon said the following...
    Yep, there's a nice resource that was put together by Gryphon for MPL. It's not 100% up to date but it's a great reference tool. I really
    should work on getting it up on the Wiki (if Gryphon is OK that I do so with attribution?) or at least have a link pointing to the file for download for now.

    i updated it to 1.12 a36

    |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 A43 2019/03/03 (Windows/32)
    * Origin: |08--[|15!|07dreamland BBS bbs.dreamlandbbs.org (21:1/163)
  • From esc@21:1/112 to dream master on Sunday, May 12, 2019 16:02:17
    for the i agree you could do this

    -snip-

    Thanks! Much appreciated. This is perfect.

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Black Flag <ACiD Telnet HQ> blackflagbbs.com (21:1/112)
  • From Avon@21:1/101 to dream master on Monday, May 13, 2019 19:32:46
    On 12 May 2019 at 05:27a, dream master pondered and said...

    i updated it to 1.12 a36

    Would you be OK if I hatched that out?

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From dream master@21:1/163 to esc on Monday, May 13, 2019 12:46:35
    On 12 May 2019, esc said the following...
    for the i agree you could do this
    -snip-
    Thanks! Much appreciated. This is perfect.

    glad it helped. i have this in my mpl i made so people can delete their account. i cant remember when i released it but its call the suicide mpl ;)

    |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 A43 2019/03/03 (Windows/32)
    * Origin: |08--[|15!|07dreamland BBS bbs.dreamlandbbs.org (21:1/163)
  • From dream master@21:1/163 to Avon on Monday, May 13, 2019 12:51:49
    On 13 May 2019, Avon said the following...
    i updated it to 1.12 a36
    Would you be OK if I hatched that out?

    yes i hatched it out on DoRENET so you should have it.

    |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 A43 2019/03/03 (Windows/32)
    * Origin: |08--[|15!|07dreamland BBS bbs.dreamlandbbs.org (21:1/163)
  • From Gryphon@21:1/120 to Avon on Wednesday, May 15, 2019 13:56:41
    On 11 May 2019 &4, Avon said the following...

    On 09 May 2019 at 03:22p, esc pondered and said...

    Hey dudes, I'm setting up a mystic board and noticed there doesn't se to be much on the mystic bbs wiki about MPL. What resources are you a using to help write MPL scripts? I'm basically stuck since it appears be pretty undocumented :)

    Right now I'm basically just trying to write up a "Disclaimer" style to test for a password (in this case, "YES", but could be "AGREE" or something like that). I'm not really sure where to go to even get started. Are there any resources floating around to help?

    Yep, there's a nice resource that was put together by Gryphon for MPL. It's not 100% up to date but it's a great reference tool. I really
    should work on getting it up on the Wiki (if Gryphon is OK that I do so with attribution?) or at least have a link pointing to the file for download for now.

    There's also a helpful tutorial that Xqtr put out some time ago.

    Lemme have a look for both and I'll hatch / post more here when I
    progress this as a follow up to this reply :)

    Yes, I put out an update to the MPL docs a long time ago, and now its a
    little bit out dated in that it is missing some of the newer functions and variables that have been added since v110a59.

    http://cyberiabbs.zapto.org/dispfile.php?textfile=gfiles/mystic/mpl/mpl_110a59. doc&title=mpl_110a59.doc

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Cyberia BBS | cyberiabbs.zapto.org | San Jose, CA (21:1/120)
  • From Barmed@21:4/127 to All on Thursday, January 21, 2021 10:24:18
    In addition to my idea about custom log on screen / bulletins with
    weather/etc, I'm looking at the MPL stuff. I thought I would download a
    couple of existing ones to see how they work and how the code looks.

    As an example, I downloaded Murder Mansion. Reading the sysop.txt file it
    says to put this file in the scripts directory and that file in the data directory. Do these directories alread exist, or do I need to manually
    create them, or are they created during compiling?

    --- Mystic BBS v1.12 A46 2020/08/26 (Raspberry Pi/32)
    * Origin: theoasisbbs.ddns.net:1357 (21:4/127)