I took a look. You can't say, tell or emote that due to the color coding I assume, it won't let you. So I dumped it into the logs differently, this is how it looks like (coloring it as it is in game):
(1192915234)[Sat Oct 20 23:20:34 2007] Unknown command: 'dontsay \#22FF22+1 wis
\#22FF22+3 power
\#22FF22+56 vs divine '
The problem is you can't do unknown commands automatically, they will just silently fail. I had to do this one by dumping the text to the chat entry line via the "beginchatinput" command and then hitting enter manually. Maybe you can think of another command that goes directly to the logfiles, none comes to mind. Alternatively just have your button dump everything to the chat entry line via "beginchatinput" and do it that way.