I had made a plugin which will parse commands from a csv format string, then execute them through function object.
In this case, you might first create function like
[quote:ghtwvy05]function name: "talk"
function parameter 0: character name
function parameter 1: content
...
Then add
[quote:ghtwvy05]0, talk, "Name", "content"
In csv.