But I still have something with the script. Can you also set a new word instead of the trigger word when posting???
As far as I understand, this is a similar issue that was discussed in personal correspondence. I will also post the answer here.
To set the first word before the copied message text change this line:
alias -l copymsg { msg #test2 $1- }
To another line:
alias -l copymsg { msg #test2 Your_Word $1- }