Changed getTriigerCommands Function

This file contains the updated version of the getTriggerCommands function in the titanic.py file.