Guides and timelines
Your triggers are saved in guides: Markdown files, which people can read and DoctorParser runs. A guide can be a simple list of triggers, or a zone with its bosses in kill order, each with notes for the raid and a timeline: a clock that starts when the boss is pulled, with its abilities laid out on it, kept in step by the log.
This page is the reference: every word and every rule of the guide format and the timeline language, as the code reads them. To learn by example, start with the Timeline cookbook; for the Triggers tab, the form, drafting and sharing, see Triggers.
A guide is a Markdown file. The Markdown part names things and carries notes for people; the ```timeline blocks in it are what runs. Both are described here, since tags in brackets and #off cross from one to the other.
A whole guide
---
zone: The Unknown: Steppes of Oblivion
---
# The Unknown: Steppes of Oblivion
## Yon-Solhoth the Corrupted [Raid]
Powerful Purge is the knockback.
Channeler is priority, Loyalite summoned after it dies.
```timeline
start engage "Yon-Solhoth the Corrupted"
stop death boss
stop idle 30
cycle every 66.6
00:14 "Corruption En Masse" sync hit ~4s
00:25 "Punishment Afar" sync hit ?
00:36 "Curse" sync chat /CURSE$/
01:10 "Powerful Purge" sync hit
alert before "Powerful Purge" 4 tts "Joust Out"
alert after "Powerful Purge" 2 tts "Back in"
# The adds run on their own clock.
cycle every 3:00
02:41 "Channeler Up" sync emote /Channeler is summoned to protect/ ~10
03:26 "Loyalite Up" seen emote /Loyalite of the Consumer is summoned to protect/ ~5,15
alert before "Channeler Up" 5 tts "Channeler Incoming"
```
### Channeler summoned
```timeline
trigger emote /Channeler is summoned to protect/ tts "Channeler up"
```
The guide file
Front matter
Lines between two --- lines at the very top set values for every block in the file:
| Key | Means |
|---|---|
zone: <text> |
Every section runs only in a zone whose name contains this text (case doesn't matter). "Halls of Fate" covers every version of the zone; the tags below pick a version. |
class: <name> |
Every section runs only while you're that class: a class ("Defiler"), a pair ("Shaman") or an archetype ("Priest"). A name that isn't one is an error. |
Values may be in quotes. Other keys (an Obsidian vault's own, say) are ignored. An opening --- with no closing one is an error.
Headings
| Heading | Is |
|---|---|
# Title |
The guide's name. Only the first # before any ## counts. |
## Name |
A section: a boss, or a group like General. Its ```timeline block is one block of the language, and its ### triggers are lines in that block. |
### Name |
A trigger in the section above it. A ### before any ## is an error. |
Tags in square brackets anywhere in a heading's text say where it runs (## Kladnog [Heroic], ### Cure [Defiler]); the name is the heading without them. A heading with nothing but tags is an error. A ### heading's tags go on each of its lines; a line that has tags of its own as well is an error.
Text under a heading
Paragraphs are notes for people, bullets (-, *, +) the short version. They are never run. In the Triggers tab, a section's notes are what you see under its name, and a trigger's notes show with the trigger.
Fenced blocks
```timelineis what runs. Severaltimelinefences under one##are one block. Atimelinefence before the first##is an error: the heading names the block.- Under a
###, atimelinefence may hold onlytrigger,timer,alertandwhenlines. Anything else (start,cycle,show, …) is an error saying it goes in the##block above. - A
##whose block has nothing but triggers and timers, with###triggers under it and nostartof its own, runs wherever the guide applies (as if it saidstart always). A##with a clock of its own needs astart. - A
##with notimelinefence at all is notes only. - Fences in other languages (
```xml, the ACT trigger an import came as) are kept, never run. An unclosed fence is an error.
Hashtags
A line holding only hashtags (#off, #ordered #todo) sets flags on the heading above it. A # followed by a space is a heading, not a flag.
| Hashtag | Does |
|---|---|
#off |
Turns off what it's under: at the top of the file the whole guide, under a ## that section (its block and its timers), under a ### that trigger's lines. An off trigger is still read, so a mistake in it still shows. A trigger's #off doesn't turn off its timer lines: another trigger can still start them. |
#ordered |
Reserved for zone guides: the sections are in kill order, so the app can tell which boss is next. Nothing acts on it yet. |
Any other hashtag is yours and is ignored. One that is a slip away from a known one (#of, #ordred) gets a warning on the guide's page.
The hidden line
<!-- dp key=value ... --> under a heading is for the app. People don't write it; the app does, and reads at most one per guide, section or trigger. Its keys:
| Key | Holds |
|---|---|
id |
A trigger's or guide's identity beyond one file (shared, imported, copied). |
from |
Where it came from: an ACT file, or the player who shared it. |
fp |
A fingerprint of the trigger's timeline block, to tell when it was edited outside the app. |
theirs |
On a section kept beside yours by a chat share: whose it is. |
A value with spaces is in quotes. Unknown keys are ignored (with a warning on the guide's page). Other <!-- --> comments are left alone.
Kinds of guide
The format is one; what a guide is comes from what's in it:
- A list of triggers (General, say): one
##section of###triggers and nothing of its own to run. The Triggers tab shows its triggers straight under the guide. - A zone guide:
zone:in the front matter, a section per boss in kill order. The app adds a section for each named mob you fight (see Triggers). - A class guide:
class:in the front matter, for what you want on every fight while playing that class. It runs once DoctorParser knows your class: from your class spells in a fight, a/whogroupor/whoraidthat lists you, or you saying so in the status bar's class bubble (Class? until then). The log keeps the final say, and each character's last known class is the first guess at the next login. - Imported triggers (
imported.md) and Shared triggers (shared.md): what Import from ACT and the Inbox write. Each trigger keeps the ACT XML it came as in an```xmlfence under its###.
Where guides live
Guides are .md files in the timelines folder beside DoctorParser, and in any folder inside it (not folders whose names start with a dot, so an Obsidian vault can be the folder). Folders are for tidiness only: what a guide does comes from its text. Every save the app makes keeps the file as it was in timelines-history.
The guide editor is the app's own place for writing guides: the Guide editor button on the Triggers page, or on a guide's page. The folder is on the left as it is on disk; a file opens whole, with errors and suggestions marked on their lines as you type, and the check above it, full width, staying in view as you scroll. The toolbar at the top, left to right: new file (a zone's, a class's or an always-on guide, its front matter written), new folder, and save (Ctrl+S; a dot on it means changes not saved); undo, redo, and find and replace; add a section (##), add a trigger (### and its timeline block, its name ready to type over), add a timeline block, and turn the section or trigger the cursor is in off or on (#off); Go to a section or trigger, and the next error or suggestion (F8). Hover a button for its name. The ⋯ beside the file's name renames it (a folder in the new name moves it there) or deletes it (to timelines-history). Folders are yours: where a guide runs is its front matter, not its folder, so editing class: or zone: doesn't move the file. When a guide sits in the wrong one of the starting folders (zones/, classes/, general/), the check says so with a Move to … button; guides in folders of your own are left alone. If the file changes on disk while you have it open, the editor says so. The Triggers page is for the triggers themselves; the editor is for the people who write guides.
You can also edit guides in any editor (Obsidian, VS Code, Notepad) or copy them into the folder. The app checks the folder every couple of seconds and loads what changed by itself, once the file has stopped changing, with a short notice saying which guide. During a fight it waits until the fight ends, so your running timers aren't started over. Files whose names start with a dot, # or ~ (editors' lock and backup files) are left out.
Older .timeline files still load. In them a block starts with a timeline "Name" line, which takes the block's tags, and zone "text", class "Defiler" and off are lines in the block. In a guide, a timeline "Name" line is an error: the ## heading names the block.
What's checked
Only errors stop a guide loading; the Triggers tab lists such a guide at the top with the error and its line. Warnings (it loads, probably not what you meant) and tidy findings (it works, but isn't in the house shape) show as suggestions on the guide's page, many with a Fix. The language rules below say what's an error; the warnings are: a timer nothing starts, a trigger that says nothing, a $name its pattern doesn't capture, two triggers on the same pattern in one block, a hashtag or dp key one slip from a known one, a guide in a zones folder with no zone:, a group named you not spelled YOU.
Writing a block
- One statement per line.
#starts a comment, to the end of the line, anywhere outside quotes, slashes and brackets. So a color written as#rrggbbgoes in quotes. "Names"go in double quotes; regexes between/slashes/. Inside them,\"is a quote and\/a slash. A string or regex that isn't closed is an error.[Tags]in brackets can sit anywhere on a line that takes them (see Tags). Inside a regex, brackets are the regex's own.- A word ends at a space, a tab or a quote. Spaces and tabs between words don't matter, so line things up however you like.
- Words of the language are matched without regard to case (
Start,START). Names in quotes ignore case too, and a mob's name ignores a leading "a" or "an" ("a Loyalite"is"Loyalite"). Regexes ignore case unless they start with(?-i). - Times are seconds (
70,66.6,4s) or minutes and seconds (1:10,1:10.5,03:26). Thesis optional everywhere a time is written. - Indented lines (starting with a space or a tab) belong to the
cycle,showormapabove them. The first unindented line ends it; blank lines and comments don't. - In the syntax lines below, parts in
(parentheses)may be left out, and|means one or the other.
Every statement
| Statement | Where | What |
|---|---|---|
start, stop, zone, class, per |
the ## block |
The clock |
<time> "Name" … |
the ## block, or indented under cycle |
an entry |
cycle every N (times N) |
the ## block |
a repeating group of entries |
reset <match> to "Entry" |
the ## block |
moves the clock |
show "Name" … |
the ## block |
a value or a list on screen |
map "Name" |
the ## block |
a table of answers |
color <color> |
the ## block |
the block's color |
trigger …, alert …, when … |
the ## block or a ### fence |
a match says something; a named thing says something; something changes a show |
timer "Name" N … |
the ## block or a ### fence |
a countdown triggers start by name |
off |
a ## block (.timeline files) |
now #off; still read |
Any other first word is an error ("unknown statement").
The clock
Each section's block is a clock: it starts on something, runs, and stops. While it runs, its entries show as timers, its shows are on screen and its triggers listen. When it stops, all of that goes.
| Line | Means |
|---|---|
start <match> |
The clock starts when the match fits a line. start engage "Mob" also makes that mob the block's boss: boss in any match of the block means it. (engage me, engage raid and the like set no boss.) |
start always |
Runs from the first line on and never stops. A ## of only ### triggers doesn't need it. |
start fight |
Runs during every fight: from its first blow (two different names hitting) until 6 s pass without combat. Shows start fresh each fight. |
stop <match> |
Stops it when the match fits. Several stop lines are allowed. |
stop idle N |
Stops it after N seconds without a line the block cares about: a combat line with the boss as source or target, or a line one of its own matches takes (a sync, a reset, a list's begin or end, a trigger). |
stop after N |
Stops it N seconds after it started. |
zone "text" |
Runs only in a zone whose name contains the text. A guide's zone: does this for every section; a zone line in a block does the same for that one. |
class "A" ("B" …) |
Runs only while you're one of these: a class, a pair ("Shaman") or an archetype ("Priest"). An unknown name is an error. |
per $capture |
One clock per value of that capture, caught by the start: start use "Rez" by raid with per $caster is a clock per player who uses it. |
A block needs a start of some kind (a ###-only section gets start always); otherwise it's an error. An engage start with no stop, stop idle or stop after gets stop idle 30.
How starts and stops behave
- An
engagestart does nothing while its clock runs, nor for 10 seconds after it stops: a kill's last ticks and procs land on the corpse a moment later and mustn't start the fight again. (The replay tool prints these as ignored.) - Any other start, seen while the clock runs, stops it and starts it over with the new line's captures (a cooldown used again).
- With
per, the key is the capture's value on the start line; a start line without that capture gives the key "". A match on a keyed clock that catches the same capture only counts when it's this clock's value:reset use "Refresh" by $caster to "Ready"resets the right player's clock. - A block limited by
class(or a class tag) doesn't start until your class is known, and stops when you turn out to be another class (a persona or character swap, read afresh each fight). - A block whose
zoneor tags stop fitting (you zoned, the Untold stage changed) stops. One whose lines' tags changed keeps its clock and goes on with the lines that fit now: a class found mid-fight doesn't lose the boss's timer. - Saving a guide in the app loads every guide again, so a running clock stops and waits for its next start.
- The clock runs on the log's own timestamps; between lines, on this computer's clock. Replaying a log gives exactly what would have happened live.
Matches
A match says what to look for in the log. Every start, stop, sync, seen, reset, begin, end, trigger, cancel and when … <match> takes one.
| Match | Fits a line where | Captures |
|---|---|---|
engage <who> |
that one hits or is hit (any combat event with a source; engage anyone is any) |
the event's |
death <who> |
that one dies | $target who died, $caster the killer |
hit ("Ability") (by X) (on Y) |
the ability lands, misses or drains power | $caster, $target, $ability, $amount |
use ("Ability") (by X) (on Y) |
the ability does anything: damage, heal, ward, cure, miss… (any event with an ability and a source) | the same |
cure ("Affliction") (by X) (on Y) |
the affliction is cured: a cure event in a fight, or the "The X effect has been removed from A by B!" notice, which comes outside fights too | $caster the curer, $target the cured, $affliction |
absorb ("Ward") (by X) (on Y) |
a ward absorbs damage | $ability the ward, $caster whose it is, $target who it's on, $amount absorbed, $left what the ward has left |
chat /regex/ or chat "text" |
a raid or group chat message (not tells, says, shouts or custom channels) fits | the regex's groups, $speaker |
emote /regex/ or emote "text" |
the line with the game's link codes (\aNPC 123 Name:Name\/a → Name) and color codes taken out fits: emotes, shouts, notices, as you read them on screen |
the regex's groups |
line /regex/ or line "text" |
the line after its timestamp, exactly as logged, fits | the regex's groups |
hit, use, cure and absorb without a name fit any ability; by and on can come in either order. The old raid /regex/ is an error that says to write chat.
A "text" after chat, emote or line is plain text: the line fits when it contains the text, case ignored, nothing to escape (emote "hunts beyond for souls..."). It catches nothing. A /regex/ is for alternatives (/must (crouch|sit|stand)/) and captures.
Who
After engage, death, by and on:
| Who | Is |
|---|---|
"Name" |
that name (case and a leading "a"/"an" don't matter) |
me |
you |
boss |
the block's boss, from its start engage "Mob"; nothing fits when the block has no boss |
group |
anyone in your group: the names from your last /whogroup, and you |
raid |
your group, the names from your last /whoraid, and anyone who has spoken in raid chat |
anyone |
no condition |
$capture |
the one named by a value caught earlier (the clock's start, a list row's begin): end cure "Doom" on $player. It never catches anything new. |
Group and raid are emptied when the group disbands. Anything else is an error.
Regexes
- Go's regex syntax: most characters match themselves;
\w+a word,\d+a number,.+?as little as possible,(a|b)one or the other,(?:…)a group that doesn't capture. Look-ahead, look-behind and back-references (\1) aren't supported and give a "bad regex" error. - Every regex ignores case;
(?-i)at the start makes it exact. A(?i)isn't needed (the lint offers to remove it). (?<name>…)captures$name; names are read without regard to case. Groups are also$1,$2, … in order.(?<YOU>…), in capitals, is your own name. The line matches only when the name in that spot is yours (ACT's convention, and the old trigger engine's). A|whose matching branch leaves the group out matches nobody. A group namedyouin any other spelling is an ordinary capture, and the guide's page warns about it.- A capture that is "You" or "yourself" becomes your name (the log writes YOU in your place).
- A color code stuck to a captured name (
\#00BFFFJest) is dropped from the capture. - Don't start a
lineoremoteregex with^unless you mean the start of the message: the timestamp is already taken off, but a boss's line often begins with a link. Inchat,^is the start of what was said.
Entries and cycles
<time> "Name" (sync <match> | seen <match>) (~N | ~early,late) (?) (once N)
An entry is something expected at a time after the clock's start. It shows as a timer counting down to it. Two entries with the same name in one block is an error.
cycle every <time> (times N)
<time> "Name" …
<time> "Name" …
A cycle repeats its entries every so many seconds, times N times (without it, for as long as the clock runs). Its lines are written at their times in the first cycle, as read off a fight (0:14, 0:25, 1:10); the cycle starts at the earliest of them and each later cycle adds every. A cycle has no name (one is an error: say what it is in a comment above it) and must have at least one indented line. A block can have several cycles, each with its own clock within the clock.
sync, seen and the window
sync <match>recognises the line that shows the entry happened and sets the clock by it: the entry's own cycle (or, for an entry outside a cycle, everything outside cycles) moves so the entry is exactly then. Timers drift in a long fight; syncs pull them back.seen <match>recognises the line and nothing more, for things whose timing wanders. An entry takessyncorseenonce.sync hit,use,cureorabsorbwith no name means the entry's own name (0:20 "Big Slam" sync hitis the ability Big Slam). Write the name when it differs ("Frontal" sync hit "Searing Breath"), andby bosswhen an add has the same ability.~Nis the window: how far from the expected time the line may be. 3 s either side unless set;~4sis 4 either side;~5s,15sis up to 5 early or 15 late. A line outside the window is ignored and the clock stays put. In a cycle, the line is compared with the nearest occurrence (by rounding to the cycle's period), so a window wider than half the period makes no sense.- Of one occurrence, only the first line counts: an AE's other targets and a DoT's later ticks are skipped.
once Nignores the match for N seconds after it's taken, for the rare line that repeats some other way. ?says it may not happen at all. A missing line never costs anything (the clock keeps going);?records that, and the entry's timer shows with a?.- The old words
window,optionalandlooseare errors that say what to write instead.
reset
reset <match> to "Entry"
When the match fits, the clock moves so that entry is now: a cooldown reset, a phase change. The entry must exist in the block (case doesn't matter); otherwise it's an error. It moves what a sync on that entry would move: its cycle, or the entries outside cycles.
What's on screen
Every running clock's next entry shows as a timer however far off; the ones after it show for the 30 seconds before they're due. An entry with ? shows with " ?" after its name; on a per clock the key is added (Rez ready · Bob). A block's color colors its entries' timers; anything counting down turns red near the end. When the clock stops, its timers go.
Tags
EQ2 names a zone's version in brackets: "Gerion: Realm of Conquest [Heroic]". Guides use the same brackets as tags, on a heading or on a line of a block.
| Tag | Fits |
|---|---|
[Solo], [Heroic], [Raid], [Untold Heroic], [Event Heroic], [Event Solo], [Expert], [Challenge], [Advanced Solo], [Duo], [x2 Raid], [Public Quest], [Public], [Contested], [Signature], [Mythic Passage], [Tradeskill], [City], [Agnostic] |
a zone whose version starts with the tag's words: [Heroic] fits [Heroic], [Heroic I] and [Heroic II], not [Untold Heroic]; [Untold] fits [Untold Heroic]. A Roman numeral may follow ([Heroic II]). |
[Untold N] |
an Untold zone at stage N or higher. The stage comes from the "The Stage has been set to N!" line when the group votes; before it, only untagged and plain [Untold] lines apply. The stage is forgotten when you enter another zone. |
[Fury], [Shaman], [Priest], …: a class, pair or archetype |
while you're that class |
- On a
##or on a.timelinefile'stimelineline, a tag covers the whole block; on a###, that trigger; on a line of a block, that line. Lines that take tags: an entry,cycle,show,reset,alert,whenandtrigger. A tag anywhere else (start,stop,timer, a map's line…) is an error, as is a tag on a line with nothing else. - Several tags: any of the zone tags will do, and any of the class tags will do, but when both kinds are there both must fit (
[Raid] [Fury]is "in a raid, as a Fury"). - A line without a tag runs in every version, and a tagged line runs as well, not instead: harder versions add mechanics, so a guide adds up.
- An unknown tag is an error naming the versions it knows. A number goes only with Untold (
[Heroic 2]is an error;[Heroic II]is fine). - An alert,
whenorresetabout an entry, list or show that a tag leaves out is left out with it.
Your class comes from a /whogroup or /whoraid that lists you (the game says so), or else from the class spells you cast in the last 10 minutes, read afresh each fight.
Captures and values
What a match catches
- Combat events (
engage,death,hit,use,cure,absorb):$caster,$target,$ability,$affliction,$amount(when there is one) and, on a ward,$left. chat: the regex's groups and$speaker.emoteandline: the regex's groups, by name and by number.$meis always your name.
A clock keeps its start's captures for everything in the block; a list row keeps its begin's, on top of the clock's; a trigger's or when's own match adds its captures for that firing. A $name nothing caught is left as written (the lint warns when a trigger's pattern can't supply one).
Values
In texts (tts, bar, text), in if and in set:
| Value | Is |
|---|---|
"text with $captures and ${lookups}" |
the text with them filled in |
$name |
a capture; $me your name |
$name:short |
the capture as EQ2 rounds a number: 198652870656 is 198.7B (K, M, B, T, Q). Not a number: as it is. |
${Show}, ${Show:field} |
a one-value show's value, or one of its fields |
${List:key} |
that row's text; "" when there's no such row |
${List:key:capture} |
one of that row's captures |
${Map:key} |
the map's answer for the key; "" for a key it doesn't have |
me (bare, in if) |
your name |
| anything else | as written (a number, a word) |
Captures inside a lookup are filled in first: ${gazes:$mob}, ${$verb:$mob}. Lookups see only the block's own shows and maps. A name that is no show or map gives "".
Shows: what stays on screen
Everything a guide puts on screen is a timer (counts down: an entry, a timer, a countdown row) or a show (stays until it changes). They appear on the meter, the timer strip and the dashboard, timers first.
One value
show "Name" (text "...") (color <color>)
text "..."
color <color>
start engage "Sentry Dillius"
show "Spirits" text "Killed $killed of 5 · escaped $escaped"
when death "Spirit of Truth" add "Spirits" killed 1
when emote /Spirit of Truth escapes/ add "Spirits" escaped 1
A one-value show holds named fields, set by when (add, set). It appears once any field is set and goes when cleared or the clock stops. text says how to write it, with $field for each field (a field never set reads as 0); without text it shows Name: $value. text and color go on the show line or indented under it; begin, end and the other list words under a one-value show are errors.
A list
show "Name" per $key | per "text of $captures" (text "..." (countdown)) (color <color>)
begin <match>
end <match>
timeout N
idle N
sort key
text "..." (countdown)
replace
color <color>
start engage "Vexmora the Hexbinder"
show "Hexed" per $player
begin chat /^(?<player>\w+) HEXED$/
end cure "Withering Hex" on $player
timeout 30
text "$player"
alert begin "Hexed" tts "You're hexed" if $player is me
per makes it a list: one row per value of the key. The key is a capture (per $player) or a text of captures (per "$target · $ability", a row per pair).
| In a list | Does |
|---|---|
begin <match> |
adds a row for the match's key. Required; several allowed. A begin for a key that has a row does nothing, unless replace. |
end <match> |
removes the row its match names: the match is tried with the row's captures (end cure "Doom" on $player), and what it catches must give this row's key (end line /(?<player>\w+) is cured/ ends that player's row only). Several allowed. On one line, ends are checked before begins. |
timeout N |
removes a row N seconds after it began |
idle N |
removes a row N seconds after its latest line (its begin, or a replace) |
sort key |
rows in key order (case doesn't matter). Without it, oldest first. sort takes only key. |
text "..." |
what a row shows, with the row's captures. Without it, the key. |
countdown |
the rows are timers counting down to their timeout, which is then required |
replace |
a new begin for a key that has a row replaces its captures. The row keeps when it began (its timeout counts from then); its idle restarts. |
color <color> |
the rows' color |
Two shows with one name in a block is an error. "Has it happened?" is "is there a row": if ${Hexed:Bob} is not "".
Alerts about a list
| Event | When |
|---|---|
begin "List" |
a row was added |
change "List" |
a row was added, or replaced (with replace) |
end "List" |
a row was removed by an end match |
timeout "List" |
a row was removed by timeout or idle |
They fire with the row's captures. Naming a show without per here is an error.
Maps
map "Name"
key "answer"
"a key with spaces" "answer"
start always
map "gazes"
Emnitiun "Quandion"
Quandion "Dovinita"
Dovinita "Quandion"
trigger emote /(?<mob>Emnitiun|Quandion|Dovinita) gazes at (?<YOU>\w+)/ tts "Go to ${gazes:$mob}"
A table of answers, looked up with ${Name:key}. Each indented line is a key and a value, each a bare word or a "quoted" text (not a regex). Keys ignore case; the same key twice, or an empty map, is an error. Shows and maps share names in a block: one name is one of them. A key may contain colons (${Map:a:b} looks up a:b when Map is a map).
When: changing what's on screen
when <event | match> <actions and settings>
The event is any alert event (before "Entry" 4, at "Entry", begin "List", …); anything else after when is read as a match. Then any of:
| Action | Does |
|---|---|
add "Show" (field) N |
adds N to a field (value when no field is named). N may be negative or a decimal. |
set "Show" (field) <value> |
sets a field. set "Phase" "Adds" sets value; set "Last" who $target sets who. |
clear "Show" |
empties a one-value show (it leaves the screen), or removes every row of a list |
A field name is a bare word of letters and underscores (digits after the first); it isn't one when it's a word of the language (tts, if, …) or me. add and set work on one-value shows only; clear on either. Naming a show the block doesn't have is an error.
A when can also tts, bar, sound, color and take if; an if that fails stops the actions too. It needs at least one action, tts, bar or sound. Writing add, set or clear on an alert or trigger is an error that says to write when.
Alerts and triggers: telling you things
alert before "Entry" N … N seconds before the entry is expected
alert at "Entry" … at it
alert after "Entry" N … N seconds after it
alert seen "Entry" … when its sync or seen line comes (within the window)
alert begin|change|end|timeout "List" … a list's rows, as above
trigger <match> … whenever the match fits
The first word says what follows: trigger a match, alert a name in quotes, when either (it changes a show). alert on <match> is an error that says to write trigger.
Followed by any of:
| Does | |
|---|---|
tts "words" |
spoken |
bar "text" |
shown on the info bar, for its usual 5 seconds. A time right after the text says how long: bar "Joust out" 2s. |
color <color> |
the info bar's color for this alert (over the block's); its text turns light or dark to suit. |
card "name" |
the bar text goes to the named card of that name on the Live page instead of the on-screen info bar: trigger chat /(?<said>.+)/ bar "$speaker: $said" card "chat" puts raid chat on the card "chat". Names ignore case. Without a bar it's an error. |
sound <name> |
plays chime, siren, ping or alarm. Any other name is an error. |
if <value> <test> <value> |
only when it holds; several ifs must all hold. See below. |
timer "Name" |
(trigger only) starts that timer. On an alert or when it's an error. |
An alert needs tts, bar or sound; a trigger needs one of those or timer. Any other word is an error ("unknown alert setting"). An alert naming an entry or list the block doesn't have is an error; names ignore case.
How alerts fire
before,atandafterfire once per occurrence of the entry (once per cycle), when the clock reaches the time. One that falls before the clock started, or that is more than 10 seconds overdue when the clock gets there (a sync just moved the clock back), is skipped rather than said late; the replay tool prints it as skipped.seenfires once per occurrence, with the clock's captures.triggerfires on every line that fits, once per match on the line (an AE hitting five people is five matches). "Only for me" is(?<YOU>…)in the pattern, oron me/by mein an event match. A trigger whose timer haskeepand is running stays quiet until the timer runs out.- Alerts run in the block's clock: a boss section's triggers listen only while the boss's clock runs.
if
is and is not compare as text, ignoring case. The one common use is an alert about a list's row that everyone's screen shows but only one player should hear: alert begin "Hexed" tts "You're hexed" if $player is me. >, <, >= and <= compare as numbers: the right side must be a number (else false); a left side that is empty counts as 0 (a count never set), and any other text that isn't a number is false. me is your name: if $player is me. Anything other than these six tests is an error.
Timers: triggers and the timers they start
The way ACT keeps them: a trigger, and a timer it starts by name. Import from ACT and the trigger form write these.
trigger <match> (tts "…") (bar "…" (Ns) (color c) (card "name")) (sound x) (if …) (timer "Name")
timer "Name" <time> (warn N (tts "…") (sound x)) (color c) (linger N) (keep) (per $x) (use (by X) (on Y)) (cancel <match>)
## General
### Void Flow
```timeline
timer "Void Flow" 180 warn 90 tts "Void Flow down" color "#1f4fbf" cancel line /flow ends/
trigger line /Void Flow begins/ tts "Void Flow" timer "Void Flow"
```
### Putrefy
```timeline
timer "Putrefy" 19.5 warn 2 tts "Putrefy" per $target use by me
```
A timer line is a clock of its own with one entry at its length, shown as a countdown for its whole length. It starts when a trigger that names it fires, or, with use, when its own ability is used.
| On a timer | Does |
|---|---|
warn N |
N seconds before the end the timer turns to its warning color. With tts "…" or sound x right after it, it also says or plays that then; warn 0 says it when the timer runs out. tts or sound not after a warn is an error. |
color <color> |
the timer's color (a #rrggbb in quotes) |
linger N |
it stays on screen N seconds after zero (1 s without it) |
keep |
a start while it runs is ignored and it runs on; without keep it starts over. A trigger naming a kept timer stays quiet while it runs. |
per $capture |
one timer per value of that capture (per $target), from the trigger's or the use's captures |
use (by X) (on Y) |
its own ability (one of its name) starts it: use by me only when you use it. This adds a listener to the block, so it listens where the block does. |
cancel <match> |
stops it when the match fits; several allowed |
- Timer names are shared across the whole guide: a trigger may name a timer line in any section of the same file, before or after it. Two
timerlines with the same name anywhere in one guide is an error, as is a trigger naming a timer the guide doesn't have. - A timer runs where its section does (its zone, tags and class). A
timerline can't carry tags of its own. - Its clock stops a second after its entry;
after,stop,warnand the rest aren't things it needs written.
Colors
A color is an HTML color name (red, orange, gold, hotpink, …, the web's whole list), "#rrggbb" in quotes (a bare # starts a comment), or a value that gives one when it runs ($capture, ${Map:key}). A name that is none of these is an error at load; a value that gives none at run time means the app's own color.
color on |
Colors |
|---|---|
the block (a color line) |
everything it puts on screen: its shows, its lists' rows, its entries' timers and its info bar messages |
a show |
that show or list (over the block's) |
an alert, when or trigger |
its info bar message (over the block's) |
a timer |
that timer |
Anything that counts down turns red as it runs out.
Old words
From before the move to guides (Nov 2026). Each is an error that says what to write instead.
| Old | Now |
|---|---|
loop "name" from T every N with +N offsets |
cycle every N, its lines at the first cycle's times |
cycle "name" every N |
cycle every N; say what it is in a comment |
window 4, window 5,15 |
~4s, ~5s,15s |
optional |
? |
sync <match> loose |
seen <match> |
raid /regex/ |
chat /regex/ |
static "Name" |
show "Name" |
track "Name" key $x, its show "…" line |
show "Name" per $x, text "…" |
alert on <match> |
trigger <match> |
for $player |
(?<YOU>…) in the pattern; on a list's alert, if $player is me |
if $you is me beside a (?<YOU>…) group |
nothing: the group already does it (the lint offers to remove it) |
off line |
#off under the heading (the line still reads; the lint offers the fix) |
timeline "Name", zone "…", note "…" in a guide |
the ## heading, the front matter, the text under the heading |