The macro works fine, sometimes crashes,the second half way suggest not to depart. To enable the macro you need as soon as you boarded the ship.
Download the program (Download) and go to the macro editor
press the button «Open file»
and select the downloaded file
assign a macro to a key and run the program