← Developer · changelog

launcher

v2026.08.18.1857

18 Aug 2026
Launcher 2026.08.18.1857 — scripts get a UI and a type system


Scripts can build their own interface

A running script can now put its own tab on the launcher and fill it with real controls, then read them back live. Build a setup wizard, then watch the bot narrate itself while it runs.
  • Controls:
    uiHeader
    ,
    uiLabel
    ,
    uiProgress
    ,
    uiButton
    ,
    uiToggle
    ,
    uiChoice
    ,
    uiInput
  • Read them back:
    uiToggled
    ,
    uiChosen
    ,
    uiText
  • Housekeeping:
    uiTab
    ,
    uiHas
    ,
    uiRemove
    ,
    uiClear
  • Rows update in place by key, so calling one every pass never grows the tab.
  • A button runs one of your functions between passes, on the script thread — never mid-loop, never a race. The function name is checked when you write it: a typo is a red squiggle, not a dead button.

Enums — your own set of names as a type

enum Mode { POWER, BANK, SELL }

Declare a fixed set of names and use it as a real type. A
setting
typed with an enum shows up on the settings panel as a dropdown automatically. The checker refuses comparing an enum to a string or to a different enum, so a whole class of typo can't reach the game.
.name
gives the member back as a string.
New commands

  • itemDefCount()
    — how many item definitions the cache holds, so a script can sweep every id with
    itemDef(id)
  • replace(text, find, with)
    — literal string replace

The full, always-current command reference is at /textdoc. Relaunch to update.