TXTML

The markup language for Subversive (Mobile) Storytelling

authoring txtml : events


<enter>, <exit>, <input>, and <time> are event handler types. A state may contain at most one of each type of handler, and handlers are the only type of element that can exist as children of the state element.

...
     <state name="example">
          <enter>
               executed when a user first enters this state
          </enter>
          <input>
               executed when a user sends a message to the system
          </input>
          <time>
               executed every minute
          </time>
          <exit>
               executed when a user is assigned to a different state, before the execution of that state's <enter> handler
          <exit>
     </state>
...

introduction
installation
authoring txtml
definition
event handlers
flow control
conditions
variables
content
math
other
feeds
requestors
formats
admin interface
extending