ssod

<AUTOLINK> Tag Documentation

The <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.


📌 Purpose

<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.


🔧 Syntax

<AUTOLINK=destination_id>

🧠 Behaviour


✅ Use Case Example

You attempt to sneak past the guard.
<SNEAKTEST name="City Guard" sneak=9>
<AUTOLINK=1234>
<AUTOLINK=5678>

⚠️ Notes for Content Authors


🚫 Common Mistakes

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