• Mystic Menu Timer Settings

    From zharvek@46:1/118 to All on Wed Jan 3 16:25:49 2018
    Hello all,

    Can somebody explain what the timer settings on menu entries do? I see a
    timer interval in seconds, and a choice of per-redraw, once, interval.

    I'm looking for a way to execute an action if sitting at a menu idle for specific amount of seconds.

    I made a blank named item, invisible with a correct ACS but nothing seems to happen. I am also using Standard Menus, no lightbars.

    Thanks.

    --- Mystic BBS v1.12 A36 2017/12/03 (Windows/32)
    * Origin: Archaic Binary (46:1/118)
  • From g00r00@46:1/127 to zharvek on Thu Jan 4 00:01:36 2018
    I'm looking for a way to execute an action if sitting at a menu idle for specific amount of seconds.

    You can do exactly that with a TIMER command in a menu. There is a Demo of that very thing in the default installation on the Demo menu, where it goes back to the main menu if you sit idle for 60 seconds.

    To do what you want you'd create a new menu command with a blank "Display" field, set the hotkey to "TIMER", and then set the timer to 60 seconds.

    Then press TAB to move to the execution list. Insert a new menu function "GO" to go to a new menu, and set the optional data to the menu name that you want to go to.

    Mystic will now automatically move to the menu if the user sits at that menu for 60 seconds.

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (46:1/127)
  • From Accession@46:1/100 to zharvek on Thu Jan 4 10:27:36 2018
    Hello zharvek,

    On Wed Jan 03 2018 16:25:48, zharvek wrote to All:

    Can somebody explain what the timer settings on menu entries do? I see
    a timer interval in seconds, and a choice of per-redraw, once,
    interval.

    I've only used it once in the past, but from what I remember it's exactly what you're looking for.

    I'm looking for a way to execute an action if sitting at a menu idle
    for specific amount of seconds.

    In that case, I think you would use the "once" setting since you only want it to happen once, and put in your amount of time in seconds. "per-redraw" would mean every time the menu is redrawn (say if you were to hit enter at the command prompt), interval would do something every time that seconds parameter hits.

    For example, I used it for a rumors mod, where it would display a random rumor above the command prompt on the main menu. With "interval" it would change every 15 seconds or something.. with "per-redraw" it would change every time you hit enter or came back to the main menu.. etc.

    I made a blank named item, invisible with a correct ACS but nothing
    seems to happen. I am also using Standard Menus, no lightbars.

    I'm not sure I understand this. If it's a blank item, nothing would happen anyways, right?

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (46:1/100)
  • From zharvek@46:1/118 to g00r00 on Fri Jan 5 09:41:28 2018
    Thanks g00r00 and Accession for the info. I'm going to test now, and I believe what I am missing was setting the hotkey to TIMER. I didn't see this in any docs, but I'll check again as I might have missed that.

    --- Mystic BBS v1.12 A36 2017/12/03 (Windows/32)
    * Origin: Archaic Binary (46:1/118)
  • From g00r00@46:1/127 to zharvek on Fri Jan 5 13:54:10 2018
    Thanks g00r00 and Accession for the info. I'm going to test now, and I believe what I am missing was setting the hotkey to TIMER. I didn't see this in any docs, but I'll check again as I might have missed that.

    On a related note: You can press CTRL+L on the hotkey field to get a list of predefined hotkeys.

    --- Mystic BBS v1.12 A39 2018/01/05 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (46:1/127)