the regex needs to be changed to this:
js code:
/[\"](.+?)[\"]/gi
it was just placing it around the whole message
so the highlighted line would be:
js code:
Message = Message.replace(/[\"](.+?)[\"]/gi, "[c=4]\"$1\"[/c]");
well atleast i think it should work... i did it in PHP =p