• Stuffkey

    From metalhead@21:1/113 to All on Thu Feb 13 00:17:17 2020
    I need to write a Stuffkey MPL to stuff the Left-Arrow key. I used to have an MPL for this years ago, but I can't find it. I spent hours trying to find the ascii code for the left-arrow key, but can't find it. Maybe there isn't one?

    My MPL is like this:

    Begin
    Stuffkey (#017);
    End.

    ..but I know that 017 isn't the right code for left-arrow.

    This is all so I can reverse the default for the yes/no lightbars so Yes is
    th default instead of no. (And I'm sure I will use it in a dozen other places down the road.) This is still the best way to accomplish that, right?

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Alcoholiday / Est. 1995 / alco.bbs.io (21:1/113)
  • From roovis@21:4/165 to metalhead on Wed Feb 12 23:44:16 2020
    This is all so I can reverse the default for the yes/no lightbars so Yes is th default instead of no. (And I'm sure I will use it in a dozen
    other places down the road.) This is still the best way to accomplish that, right?

    No. You can end your string with PIPE-Y or PIPE-N to set the default to the next yes/no question.

    http://wiki.mysticbbs.com/doku.php?id=displaycodes

    -roovis

    --- Mystic BBS v1.12 A44 2020/02/04 (Linux/64)
    * Origin: w0pr.win (21:4/165)
  • From Analog@21:2/123 to metalhead on Wed Feb 12 23:03:12 2020
    This is all so I can reverse the default for the yes/no lightbars so Yes is th default instead of no. (And I'm sure I will use it in a dozen
    other places down the road.) This is still the best way to accomplish

    Nope, you need to just simply do a menu option before you have the prompt of:

    Command: GT (display line of text)
    Data: "PIPE-N" where pipe is the pipe character
    this is to set the next input to no default. -Y for yes.

    Or if you're using MPL/MPY, just use the getyn("String", True/False)

    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 Analog@21:2/123 to roovis on Wed Feb 12 23:03:38 2020
    beat me...

    |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 roovis@21:4/165 to Analog on Thu Feb 13 00:20:17 2020
    beat me...

    No worries. I'm thankful for the vibrant and helpful community surrounding Mystic. :)

    --- Mystic BBS v1.12 A44 2020/02/04 (Linux/64)
    * Origin: w0pr.win (21:4/165)
  • From Avon@21:1/101 to roovis on Thu Feb 13 19:41:36 2020
    On 13 Feb 2020 at 12:20a, roovis pondered and said...

    beat me...

    No worries. I'm thankful for the vibrant and helpful community
    surrounding Mystic. :)

    You and I both. Thanks guys :)

    --- Mystic BBS v1.12 A44 2020/02/04 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From g00r00@21:1/108 to metalhead on Thu Feb 13 02:40:42 2020
    This is all so I can reverse the default for the yes/no lightbars so Yes is th default instead of no. (And I'm sure I will use it in a dozen
    other places down the road.) This is still the best way to accomplish that, right?

    Let me save you some headache ;)

    <pipe> +
    -N - Forces the next Yes/No prompt to default to a No answer
    -Y - Forces the next Yes/No prompt to default to a Yes answer


    Just toss a <pipe>-N or <pipe>-Y at the end of the prompt that you want to change the default to!

    You can also stuffkey but this is a better way!

    --- Mystic BBS v1.12 A45 2020/02/11 (Linux/64)
    * Origin: Sector 7 (21:1/108)
  • From g00r00@21:1/108 to g00r00 on Thu Feb 13 02:41:39 2020
    <pipe> +
    -N - Forces the next Yes/No prompt to default to a No answer
    -Y - Forces the next Yes/No prompt to default to a Yes answer

    You guys are too quick (and awesome!)

    --- Mystic BBS v1.12 A45 2020/02/11 (Linux/64)
    * Origin: Sector 7 (21:1/108)
  • From Netsurge@21:4/154 to Analog on Thu Feb 13 09:16:00 2020
    beat me...

    That can be taken so many different ways.....

    |15frank |08// |15netsurge
    |07disksh0p|08!|07bbs |08% |07bbs.diskshop.ca |08% |07mystic goodness |11SciNet |03ftn hq |08% |07https://scinet-ftn.org

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: % disksh0p!bbs % bbs.diskshop.ca % SciNet ftn hq % (21:4/154)
  • From metalhead@21:1/113 to g00r00 on Thu Feb 13 13:13:02 2020

    Let me save you some headache ;)

    <pipe> +
    -N - Forces the next Yes/No prompt to default to a No answer

    Thanks g00r00, roovis, and Analog!

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Alcoholiday / Est. 1995 / alco.bbs.io (21:1/113)