<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://doku.stellwerksim.de/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://doku.stellwerksim.de/feed.php">
        <title>STS Handbuch stellwerksim:erbauer:themascripte</title>
        <description></description>
        <link>http://doku.stellwerksim.de/</link>
        <image rdf:resource="http://doku.stellwerksim.de/lib/tpl/stellwerksim/images/favicon.ico" />
       <dc:date>2026-05-18T17:56:06+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:allgemeine-themascripte&amp;rev=1601377297&amp;do=diff"/>
                <rdf:li rdf:resource="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:beispiele&amp;rev=1547984434&amp;do=diff"/>
                <rdf:li rdf:resource="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:blockkopf&amp;rev=1547985188&amp;do=diff"/>
                <rdf:li rdf:resource="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:boolesche_operatoren&amp;rev=1618408795&amp;do=diff"/>
                <rdf:li rdf:resource="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:hooks&amp;rev=1618409307&amp;do=diff"/>
                <rdf:li rdf:resource="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:klassen&amp;rev=1674547098&amp;do=diff"/>
                <rdf:li rdf:resource="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:mathematische_operatoren&amp;rev=1457866715&amp;do=diff"/>
                <rdf:li rdf:resource="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:programmfluss&amp;rev=1674558305&amp;do=diff"/>
                <rdf:li rdf:resource="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:simparam&amp;rev=1691500334&amp;do=diff"/>
                <rdf:li rdf:resource="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:sim_befehle&amp;rev=1779055236&amp;do=diff"/>
                <rdf:li rdf:resource="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:tdesigner&amp;rev=1618409864&amp;do=diff"/>
                <rdf:li rdf:resource="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:themen&amp;rev=1620161955&amp;do=diff"/>
                <rdf:li rdf:resource="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:ts_tester&amp;rev=1618410886&amp;do=diff"/>
                <rdf:li rdf:resource="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:upn&amp;rev=1618409609&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://doku.stellwerksim.de/lib/tpl/stellwerksim/images/favicon.ico">
        <title>STS Handbuch</title>
        <link>http://doku.stellwerksim.de/</link>
        <url>http://doku.stellwerksim.de/lib/tpl/stellwerksim/images/favicon.ico</url>
    </image>
    <item rdf:about="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:allgemeine-themascripte&amp;rev=1601377297&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-09-29T13:01:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Allgemeine ThemaScripte</title>
        <link>http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:allgemeine-themascripte&amp;rev=1601377297&amp;do=diff</link>
        <description>Allgemeine ThemaScripte

Zu folgenden ThemaScripten gibt es weitere Dokumentation:
allgemeine-themascripte index</description>
    </item>
    <item rdf:about="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:beispiele&amp;rev=1547984434&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-01-20T12:40:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Beispiele</title>
        <link>http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:beispiele&amp;rev=1547984434&amp;do=diff</link>
        <description>Beispiele

Grundsätzlich ist ThemaScript sehr einfach, man muss es nur einmal verstanden haben. Um das Verständnis zu fördern gibt es auf dieser Seite einige Beispiele.

Einfache Beispiele

Beispiel 1 - Verspätung setzen

winter:start(5,verspätung);</description>
    </item>
    <item rdf:about="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:blockkopf&amp;rev=1547985188&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-01-20T12:53:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Der Blockkopf</title>
        <link>http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:blockkopf&amp;rev=1547985188&amp;do=diff</link>
        <description>Der Blockkopf

Der Blockkopf besteht aus den Parametern „Thema“, „Klasse“, „AID“ und „TID“. Die Angaben müssen immer in dieser Reihenfolge eingegeben und durch einen : (Doppelpunkt) voneinander getrennt werden.

sommer:bahnhof:760:18885 
Gilt nur für Züge aus dem Zugtemplate 18885 im Sommer während sie die Anlagen ID 760 befahren.</description>
    </item>
    <item rdf:about="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:boolesche_operatoren&amp;rev=1618408795&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-04-14T15:59:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Boolesche Operatoren</title>
        <link>http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:boolesche_operatoren&amp;rev=1618408795&amp;do=diff</link>
        <description>Boolesche Operatoren
 Operator  Vergleich auf  Anzahl Parameter  Beispiel „Wahr“  Beispiel „Falsch“  =  Gleichheit  2  1,1,=  1,3,=  &lt;  kleiner als  2  1,3,&lt;  1,1,&lt;  &gt;  größer als  2  3,1,&gt; 1,1,&gt;  &lt;=  kleiner gleich  2  1,3,&lt;= und 1,1,&lt;=</description>
    </item>
    <item rdf:about="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:hooks&amp;rev=1618409307&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-04-14T16:08:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Die Hooks</title>
        <link>http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:hooks&amp;rev=1618409307&amp;do=diff</link>
        <description>Die Hooks

Hooks erlauben es, den Zügen einer Region flexibel Code einzufügen, ohne das dem Zugtemplate zugeordnete ThemaScript anpassen zu müssen. Dazu muss im Script des Zugtemplates (oder einem eingebundenen Script) nur ein Hook-Aufruf vorhanden sein. Sollte kein passendes Script gefunden werden, wird der Befehl übersprungen.</description>
    </item>
    <item rdf:about="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:klassen&amp;rev=1674547098&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-01-24T08:58:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Die Klassen</title>
        <link>http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:klassen&amp;rev=1674547098&amp;do=diff</link>
        <description>Die Klassen
 Klasse  Ausführungszeitpunkt  start  Erzeugung des Zuges  bahnhof  Einfahrt in das nächste Stellwerks 
Somit können mit der Klasse „bahnhof“ die Werte eines Zuges in jeder Anlage neu überschrieben werden, bei der Klasse „start</description>
    </item>
    <item rdf:about="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:mathematische_operatoren&amp;rev=1457866715&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-03-13T11:58:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Mathematische Operatoren</title>
        <link>http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:mathematische_operatoren&amp;rev=1457866715&amp;do=diff</link>
        <description>Mathematische Operatoren
 Operator  Operation  Parameter  Beispiel  Ausgabe Beispiel  rnd  Zufallszahl zwischen den Parametern  kleinste Zahl, grösste Zahl  1,3,rnd  1, 2 oder 3  dayrnd  Zufallszahl zwischen den Parametern (ändert sich während eines Spieltages nicht)</description>
    </item>
    <item rdf:about="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:programmfluss&amp;rev=1674558305&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-01-24T12:05:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Programmfluss Befehle</title>
        <link>http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:programmfluss&amp;rev=1674558305&amp;do=diff</link>
        <description>Programmfluss Befehle
 Befehl  Aktion  Parameter  Beispiel  Aktion Beispiel  sub  Import eines anderen ThemaScripts  ScriptID  1,sub  Importiert den Inhalt von TSID 1  tsub  Import der Befehlszeilen zu einem Thema aus einem anderen ThemaScript  ScriptID, Thema</description>
    </item>
    <item rdf:about="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:simparam&amp;rev=1691500334&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-08-08T15:12:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Simparam</title>
        <link>http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:simparam&amp;rev=1691500334&amp;do=diff</link>
        <description>Simparam

Mit Simparams kann das Verhalten eines Zuges im Sim stark verändert werden.

Die Werte des Simparams sind jeweils von der Abfahrt am vorhergehenden Bahnsteig bis zur Abfahrt am angegebenen Bahnsteig wirksam.
Handelt es sich beim angegebenen Bahnsteig um den ersten im Stellwerk gilt das simparam ab der Einfahrt.
Wurde der letzte Bahnsteig im Stellwerk angegeben, so gilt das simparam von der Abfahrt am vorhergehenden Bahnsteig bis zur Ausfahrt.</description>
    </item>
    <item rdf:about="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:sim_befehle&amp;rev=1779055236&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-05-18T00:00:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Stellwerk-Sim spezifische Befehle</title>
        <link>http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:sim_befehle&amp;rev=1779055236&amp;do=diff</link>
        <description>Stellwerk-Sim spezifische Befehle
„“„“
*:start($abstunde); 
Gibt die letzte Abfahrtszeit des Zuges im letzten Stellwerk zurück.

*:bahnhof($abstunde);
Gibt die letzte Abfahrtszeit des Zuges im nächsten Stellwerk zurück.

Schreibende Befehle</description>
    </item>
    <item rdf:about="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:tdesigner&amp;rev=1618409864&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-04-14T16:17:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ThemaScript-Designer</title>
        <link>http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:tdesigner&amp;rev=1618409864&amp;do=diff</link>
        <description>ThemaScript-Designer

Der T-Designer ist eine Rolle wie der Zug-Designer. Mit dieser Rolle können in der Region ThemaScripte angelegt, bearbeitet und umbenannt werden.

Dieses Recht wird grundsätzlich durch den R-Admin der Region über den Rechtemanager vergeben.

themascript t-designer r-admin</description>
    </item>
    <item rdf:about="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:themen&amp;rev=1620161955&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-05-04T22:59:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Verfügbare Themen</title>
        <link>http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:themen&amp;rev=1620161955&amp;do=diff</link>
        <description>Verfügbare Themen

Pro Kategorie kann nur ein Thema aktiv sein. 
 Den Spielern angezeigter Name  interner Name  Kategorie  Sommer  Sommer  Jahreszeit  Herbst  Herbst  Jahreszeit  Winter  Winter  Jahreszeit  schwerer Winter  Schwerer_Winter  Jahreszeit</description>
    </item>
    <item rdf:about="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:ts_tester&amp;rev=1618410886&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-04-14T16:34:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ThemaScript-Tester</title>
        <link>http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:ts_tester&amp;rev=1618410886&amp;do=diff</link>
        <description>ThemaScript-Tester

Der ThemaScript-Tester dient zum Ausprobieren von ThemaScripten. Hierzu muss nicht gespeichert werden.



Der Tester lässt sich oben rechts mit dem Knopf „Script-Tester“ einblenden, die Ausgabe mit dem Knopf „Testergebnis“</description>
    </item>
    <item rdf:about="http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:upn&amp;rev=1618409609&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-04-14T16:13:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Umgekehrt polnische Notation (UPN)</title>
        <link>http://doku.stellwerksim.de/doku.php?id=stellwerksim:erbauer:themascripte:upn&amp;rev=1618409609&amp;do=diff</link>
        <description>Umgekehrt polnische Notation (UPN)

Im Gegensatz zu der Schreibweise, die wir normalerweise in der Schule lernen, werden bei der umgekehrt polnischen Notation (kurz UPN) zunächst die Zahlen niedergeschrieben und erst danach der darauf anzuwendende Operator (+, -, / ,*).</description>
    </item>
</rdf:RDF>
