<AUTOLINK> Tag DocumentationThe <AUTOLINK> tag in Seven Spells is used to automatically create navigation buttons that are conditionally enabled based on the outcome of a test—such as <TEST> or <SNEAKTEST>. This tag does not display inline and is exclusively used in tandem with test-based logic.
<AUTOLINK> provides branching logic: only one of the two defined AUTOLINK tags will be enabled depending on whether the player passes or fails a test.
<AUTOLINK=destination_id>
destination_id: The numeric ID of the paragraph to jump to if this link is enabled.<TEST> or <SNEAKTEST> tag.<AUTOLINK> is activated if the player passes the test.<AUTOLINK> is activated if the player fails the test.You attempt to sneak past the guard.
<SNEAKTEST name="City Guard" sneak=9>
<AUTOLINK=1234>
<AUTOLINK=5678>
1234.5678.<AUTOLINK> is not clickable by itself; it creates hidden conditional navigation buttons.<TEST> or <SNEAKTEST> precedes it, or the outcome logic won’t trigger.<TEST> or <SNEAKTEST> appear in one paragraph.| Mistake | Why it’s a problem |
|---|---|
Using only one <AUTOLINK> |
You must provide both success and failure branches |
Using <AUTOLINK> without a test |
The system won’t know which link to activate |
| Placing unrelated tags between test and autolinks | May disrupt outcome resolution |