ST Keypad - ironmonk88/monks-module-wiki GitHub Wiki

https://github.com/ironmonk88/monks-module-wiki/blob/56079c0325220025974305eafb43e5ff87aa569b/MATT/Sample_Tiles/Keypad/Keypad_Example.gif

Keypad

A button that prompts the user to to input a pass-code when triggered; then runs the appropriate action thread once the proper code is entered and the dialog is closed.

Setup Required

https://github.com/ironmonk88/monks-module-wiki/blob/56079c0325220025974305eafb43e5ff87aa569b/MATT/Sample_Tiles/Keypad/Keypad.png

In order to use the _failedlanding thread, you need to modify the HTML file slightly; it contains instructions on how to do so. Copy it and place the modified version outside of the MATT module files, as any future updates will overwrite it otherwise.

Actions

  • Landing
    • Name: _failedlanding Use this for any actions meant to run if they get the password wrong, otherwise you can leave it out.
    • The 12345 landing needs to be renamed to whatever your desired pass-code is. This landing must match the pass-code inside the HTML file as well.
  • Show Dialog
    • The HTML file is included in MATT's module files, and should already be selected if you import the template. See below.

The Chat Message are for informative purposes only. Or they can be used as is.

Tile Template

The tile template is included inside MATT's module files at \modules\monks-active-tiles\dialogs\keypad.

Page Last Updated

MATT 11.17