openSAM calls commands 

openSAM/post_dock
after docking

and

openSAM/pre_undock
before undocking

The openSAM.lua file in this directory provides some actions for the ToLiss fleet
and can be used as a starting point for your customization.

If desired copy it over to your FlyWithLua/Scripts directory.

You may find more examples to use in the contributed directory.
