I thought you wanted to save only the last.
To save all the commands remove the write -c HIGHLIGHT.txt
But how will you make the bot to msg all of them? You would need a big message or seperated timed messages.