Fred
A stop allocation is a regular sensor, normally internal, you use it in the transit definition. It's set the same way as any other sensor in a script.
Do not use providesensor method as you want the script to error if it doesn't exist.
Steve G.
?