Model Train Script
English
English
  • Model Train Script
  • About
  • Manual
    • Supported systems
    • Settings
    • Profile
    • Throttle
    • Vehicles
    • Layout
    • Automation
      • Scripts
        • Section
        • Action
          • Vehicle control
          • Layout control
          • Timing
          • Structure
          • Scenery
      • Time tables
      • Flags
      • Routes
      • Sounds
      • Cameras
      • Examples
        • Block control
        • Auto switch turnout
        • Camera detection
  • Release notes
Powered by GitBook
On this page
  • Execute Script​
  • Set Flags​
  • Show Notification

Was this helpful?

  1. Manual
  2. Automation
  3. Scripts
  4. Action

Structure

Last updated 21 days ago

Was this helpful?

This chapter describes the actions you have to structure your scripts, to make them more generic and flexible to reuse.

Execute Script

This allows you to execute another script as part of the current script. This allows you to reuse a on multiple places.

Set Flags

can be set on different scopes. This action allows you to set the flags on script level. The flags you set as long as the script is running or until the next instance of the set flags action.

Show Notification

The show notification action allows you to show notifications to the user while executing a script. The can for example be useful if a train is approaching and no empty track is available at the station.

​
script
​
Flags