Mods/TrainCarts/Signs/Switcher

Introduction
Switcher signs are the linking factor between trains and signs. It can read information from the train or cart above and toggle a lever and rails based on that. It also marks the toggleable nodes of the path finding logic.

Second line: switcher or tag

Third line: The statement for when to switch the track left

Fourth line: The statement for when to switch the track right

For statements it can read cart tags, destination, passengers, items and several other states. It is also possible to sort the carts when using numeric values on the last two lines. This way you can make 1 train or cart go left out of ever 3 trains or carts.

The lever is toggled when either of the two statements match. The tracks are only changed if the sign is powered. (or has power inverted and is not powered)

Statements
The statements shown here are deprecated and will probably be replaced in the near future. You can put a !-sign in front of the statement to act as a NOT. You can read 'the train' as 'the cart' if [cart] is used on the first line.