• popup info boxes

    From MeaTLoTioN@21:1/158 to All on Fri Mar 8 02:57:38 2019
    Hey y'all, I have a question about Text Box codes in Mystic...

    In the wiki a text box can be generated like this,
    #B#1#12#This is a header#This is a test notification box!#
    (with a pipe at the start)

    This will make a popup box with a header and some text and an ok button.

    How can I make one with a yes/no prompt and use that in a menu so that if
    used for a menu item, the box pops up first and if user chooses yes the menu continues to the desired item, and if no is chosen takes the user back to the main menu?

    Thanks in advance...

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07── |08[|10eml|08] |15ml@erb.pw |07── |08[|10web|08] |15www.erb.pw |07───┐ |07── |08[|09fsx|08] |1521:1/158 |07── |08[|11tqw|08] |151337:1/101 |07┬──┘ |07── |08[|12rtn|08] |1580:774/81 |07── |08[|14fdn|08] |152:250/5 |07───┘

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: The Quantum Wormhole, Ramsgate, UK. bbs.erb.pw (21:1/158)
  • From Pequito@21:1/126 to MeaTLoTioN on Fri Mar 8 00:00:39 2019
    On 07 Mar 2019, MeaTLoTioN said the following...

    Hey y'all, I have a question about Text Box codes in Mystic...

    In the wiki a text box can be generated like this,
    #B#1#12#This is a header#This is a test notification box!#
    (with a pipe at the start)

    This will make a popup box with a header and some text and an ok button.

    How can I make one with a yes/no prompt and use that in a menu so that if used for a menu item, the box pops up first and if user chooses yes the menu continues to the desired item, and if no is chosen takes the user back to the main menu?

    Check the full display_codes.txt file included with mystic when you install.
    =D it shows all the new codes including the one you are asking about.

    Cheers!

    |15:|07: |15pequito |08<|07<|14.|11PH|15EN|11OM|14.|07>|08> |07:|15: |15:|07: |02telnet://|10twinklebbs.net |07:|15:

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Twinkle BBS # (21:1/126)
  • From MeaTLoTioN@21:1/158 to Pequito on Fri Mar 8 11:26:02 2019
    Check the full display_codes.txt file included with mystic when you install. =D it shows all the new codes including the one you are asking about.

    Hmmm, I have already looked in that and it actually has less info than the
    wiki in popup boxes... the entire section (A.7) has this...

    -------------------------------------------------------------------------
    A.7 Text Box Notification Codes
    -------------------------------------------------------------------------

    Text Box codes are used to pop up a quick notification box, using the
    configured box type of the current theme for visuals.

    In addition to just displaying a box, Mystic is able to use its remote
    screen imaging to save the space behind the box and restore it once the
    box is closed, depending on the type of code used. This prevents any
    corruption of the users screen regardless of what they are doing when
    they receive the notification.

    User and BBS data MCI codes, along with pipe color codes can be used
    within these boxes.

    #B<header>#<notification>#

    The #B code opens a notification box with a <header> and <notification>
    string, following by an "OK" prompt for the user to press a key. After
    the user pressed a key, Mystic will automatically restore the user's
    original screen content that was overwritten by the box.

    Example:

    |#BThis is a header#This is a test notification box!#


    #I<header>#<notification>#

    This box is similar to the #B notification, except that it does not
    restore the user's screen content after displaying, and it does not
    wait for the user to press a key. One use for this might be during
    a new message scan "Scanning" prompt, for example.

    |#BNew Message Scan#Scanning: |&1...#



    .... that's it! The text file display_codes.txt I have came from Mystic 1.12

    |#BNew Message Scan#Scanning: |&1...#

    A43 03/03/2019 with a file
    datetime of Mar 3 08:03.

    Are you sure you saw the info I am asking about in this doc?

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07── |08[|10eml|08] |15ml@erb.pw |07── |08[|10web|08] |15www.erb.pw |07───┐ |07── |08[|09fsx|08] |1521:1/158 |07── |08[|11tqw|08] |151337:1/101 |07┬──┘ |07── |08[|12rtn|08] |1580:774/81 |07── |08[|14fdn|08] |152:250/5 |07───┘

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: The Quantum Wormhole, Ramsgate, UK. bbs.erb.pw (21:1/158)
  • From g00r00@21:1/108 to MeaTLoTioN on Fri Mar 8 07:24:44 2019
    How can I make one with a yes/no prompt and use that in a menu so that if used for a menu item, the box pops up first and if user chooses yes the menu continues to the desired item, and if no is chosen takes the user back to the main menu?

    Look for the -Y and -N menu command and then I believe you can put the MCI sequence for a Yes/No box in there. Mystic uses the "OK" ACS to do menu branching when executing chained menu commands so you can do stuff like this:

    Command List:

    Cmd: -Y
    Data: Did you have a good day today?

    Cmd: GT
    Data: Thats great!
    ACS: OK

    Cmd: GT
    Data: I'm sorry to hear that
    ACS: !OK

    I would start by getting the menu to work how you want it with just the basic Yes/No question and then we can make it into a pop up box from there.

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Sector 7 (21:1/108)
  • From MeaTLoTioN@21:1/158 to g00r00 on Fri Mar 8 19:36:12 2019
    Hey g00r00,

    I tried doing what you suggested below, which seemed to always give me the "Thats great!" answer, obviously as the previous item was -Y to default to
    yes, which I understand...

    Cmd: -Y
    Data: Did you have a good day today?

    Cmd: GT
    Data: Thats great!
    ACS: OK

    Cmd: GT
    Data: I'm sorry to hear that
    ACS: !OK

    Changing the -Y to this...

    Cmd: GT
    Data: !#Y#2#10# hEAdEr #Body text#

    and then the next two as you made above, will always give me the next item,
    in this case "Thats great!" whether I choose Yes or No in the popup yes/no item.

    Am I missing something here?

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07── |08[|10eml|08] |15ml@erb.pw |07── |08[|10web|08] |15www.erb.pw |07───┐ |07── |08[|09fsx|08] |1521:1/158 |07── |08[|11tqw|08] |151337:1/101 |07┬──┘ |07── |08[|12rtn|08] |1580:774/81 |07── |08[|14fdn|08] |152:250/5 |07───┘

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: The Quantum Wormhole, Ramsgate, UK. bbs.erb.pw (21:1/158)
  • From Gryphon@21:1/120 to g00r00 on Fri Mar 8 12:31:59 2019
    On 08 Mar 2019 &4, g00r00 said the following...

    How can I make one with a yes/no prompt and use that in a menu so tha used for a menu item, the box pops up first and if user chooses yes t menu continues to the desired item, and if no is chosen takes the use back to the main menu?

    Look for the -Y and -N menu command and then I believe you can put the
    MCI sequence for a Yes/No box in there. Mystic uses the "OK" ACS to do menu branching when executing chained menu commands so you can do stuff like this:

    Command List:

    Cmd: -Y
    Data: Did you have a good day today?

    Cmd: GT
    Data: Thats great!
    ACS: OK

    Cmd: GT
    Data: I'm sorry to hear that
    ACS: !OK

    I would start by getting the menu to work how you want it with just the basic Yes/No question and then we can make it into a pop up box from there.

    This is a pretty cool menu option, tho I've never tried it. I have visions of creating a simple mud using a whole menu tree based on this option.

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Cyberia BBS | cyberiabbs.zapto.org | San Jose, CA (21:1/120)
  • From Pequito@21:1/126 to MeaTLoTioN on Fri Mar 8 16:14:11 2019
    On 08 Mar 2019, MeaTLoTioN said the following...

    Hey g00r00,

    I tried doing what you suggested below, which seemed to always give me
    the "Thats great!" answer, obviously as the previous item was -Y to default to yes, which I understand...

    Cmd: -Y
    Data: Did you have a good day today?

    Cmd: GT
    Data: Thats great!
    ACS: OK

    Cmd: GT
    Data: I'm sorry to hear that
    ACS: !OK

    Changing the -Y to this...

    Cmd: GT
    Data: !#Y#2#10# hEAdEr #Body text#

    and then the next two as you made above, will always give me the next item, in this case "Thats great!" whether I choose Yes or No in the
    popup yes/no item.

    Am I missing something here?

    Use this to reset the ACS:
    -R Reset OK ACS flags

    Then do it. =D

    |15:|07: |15pequito |08<|07<|14.|11PH|15EN|11OM|14.|07>|08> |07:|15: |15:|07: |02telnet://|10twinklebbs.net |07:|15:

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Twinkle BBS # (21:1/126)
  • From MeaTLoTioN@21:1/158 to Pequito on Fri Mar 8 23:57:19 2019
    Use this to reset the ACS:
    -R Reset OK ACS flags

    Then do it. =D

    Thanks!! However I literally got it working a different way and just came on here to say to g00r00 that I figured it and saw this... another useful
    snippet of info... muchos gracias!!

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07── |08[|10eml|08] |15ml@erb.pw |07── |08[|10web|08] |15www.erb.pw |07───┐ |07── |08[|09fsx|08] |1521:1/158 |07── |08[|11tqw|08] |151337:1/101 |07┬──┘ |07── |08[|12rtn|08] |1580:774/81 |07── |08[|14fdn|08] |152:250/5 |07───┘

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: The Quantum Wormhole, Ramsgate, UK. bbs.erb.pw (21:1/158)
  • From g00r00@21:1/108 to MeaTLoTioN on Sat Mar 9 14:27:47 2019
    I tried doing what you suggested below, which seemed to always give me
    the "Thats great!" answer, obviously as the previous item was -Y to default to yes, which I understand...

    If you can't get it to work show us the menu. I promise it works. :)

    I made a menu for you and tested it, so it works just fine. Its in the prealpha folder on the website as "testyesno.mnu" so download that and see
    what you're doing different than that.

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Sector 7 (21:1/108)
  • From g00r00@21:1/108 to Gryphon on Sat Mar 9 14:30:41 2019
    This is a pretty cool menu option, tho I've never tried it. I have
    visions of creating a simple mud using a whole menu tree based on this option.

    There is also an option to break chains too, so you can do sort of a "if/then/else" and jump out of those execution points all in the menu system.

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Sector 7 (21:1/108)
  • From g00r00@21:1/108 to Pequito on Sat Mar 9 14:37:39 2019
    Use this to reset the ACS:
    -R Reset OK ACS flags

    Nah he's doing something else wrong you don't need to do that the -Y and -N will set the OK ACS.

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Sector 7 (21:1/108)
  • From MeaTLoTioN@21:1/158 to g00r00 on Sun Mar 10 00:28:12 2019
    If you can't get it to work show us the menu. I promise it works. :)

    Ahh it did work, I was just being dense!

    I made a menu for you and tested it, so it works just fine. Its in the prealpha folder on the website as "testyesno.mnu" so download that and
    see what you're doing different than that.

    Thanks for that, I got it working in the end, not exactly sure what I did wrong, but I just deleted my first attempt and recreated it and, low and behold, it works! Thanks for being patient with me, I knew it was something I was doing, and even though I'm not exactly sure what I did wrong, trying
    again worked a treat.

    Thanks again!! =)

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07── |08[|10eml|08] |15ml@erb.pw |07── |08[|10web|08] |15www.erb.pw |07───┐ |07── |08[|09fsx|08] |1521:1/158 |07── |08[|11tqw|08] |151337:1/101 |07┬──┘ |07── |08[|12rtn|08] |1580:774/81 |07── |08[|14fdn|08] |152:250/5 |07───┘

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: The Quantum Wormhole, Ramsgate, UK. bbs.erb.pw (21:1/158)
  • From g00r00@21:1/120 to Gryphon on Sun Mar 10 10:47:47 2019
    This is a pretty cool menu option, tho I've never tried it. I have
    visions of creating a simple mud using a whole menu tree based on this option.

    You probably could though it may be a bit tedious!

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Cyberia BBS | cyberiabbs.zapto.org | San Jose, CA (21:1/120)