Add the addCommandList function which allows the user to insert a list of commands at once instead of having to include them in the console one by one.