Hi again
What you want to do can be done by using two variables, one to indicate when the section is occupied and the other to indicate the direction of travel. You will also need the following conditional driver commands, all by trev999 and on the DLS.
Insert Buff Label kuid:160293:101002
Set S-Variable kuid2:160293:101005:5
Wait Until S-variable V3 kuid2:160293:101006:3
Skip if session-variable kuid2:160293:101014:3
Jump to Label kuid2:160293:101003:2
The Input Table rule, which is built in, needs to be added to the session.
If you look at the description for these rules and commands in CM they explain how to use them.
If this is of interest to you, PM me your email address and I'll put together a short demo route and session to illustrate how it all goes together.
Regards
Brian