I made one
I have made one out of variables.
So if a train was heading along a railway line to a coal mine with yard.
Then, depending on the type of train, the train would alter a variable via a driver command (I'm sure I ahve used one that does that that was retrieved fromt he DLS) and the train fills up with coal and checks a variable via a rule and a rule executes checking if there is a train already in the siding, assigning the driver with some commands which orders him to park it in an empty siding.
Then, a trigger check rule executes, altering another variable to change (depending on what type it is and if it is loaded).
Then, the train exits and another train enters, and it changes the variable to the type,, then it goes through the same process and this time, it gets commands to couple to the existing rake since variables have changed since then.
The needed assets are:
Couple At Trackmark <[FONT=Verdana, Arial]
KUID2:[/FONT][FONT=Verdana, Arial]
57145:81100:1>
[/FONT]
ChangeSVariables <KUID:131986:1005>
WaitUntilSVariable <[FONT=Verdana, Arial]
KUID:[/FONT][FONT=Verdana, Arial]
131986:1006[/FONT]
>
Session Variables <[FONT=Verdana, Arial]
KUID2:[/FONT] [FONT=Verdana, Arial]
122381:10015:1[/FONT]
>
Check Trackside <[FONT=Verdana, Arial]
KUID2:[/FONT] [FONT=Verdana, Arial]
122381:10011:3>
[/FONT]
Driver Schedule Rule <[FONT=Verdana, Arial]
KUID2:[/FONT] [FONT=Verdana, Arial]
82445:90001:7>[/FONT][FONT=Verdana, Arial][/FONT]