Record Split / Lap
timer_splitRecord a split on a running timer and compare it to your personal best to know if you're ahead or behind pace.
Instructions
Record a split (lap) on a running timer without stopping it — speedrun style.
If a personal-best run exists for this timer name, the split is compared against the SAME split index on the PB run and delta_vs_best_ms is returned (negative = ahead of PB pace, like LiveSplit green).
Args:
name (string, default "main"): Running timer to split.
label (string, optional): Name the checkpoint, e.g. "deploy done", "lap 2". Defaults to "Split N".
Returns: { name, index, label, at_ms, formatted, delta_vs_best_ms?, announcement }
Relay the announcement; if delta_vs_best_ms is present, call out ahead/behind PB pace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Running timer to split | main |
| label | No | Checkpoint label |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| at_ms | Yes | ||
| index | Yes | ||
| label | Yes | ||
| formatted | Yes | ||
| announcement | Yes | ||
| delta_vs_best_ms | No |