I've made a quote script but I'm having a little trouble with it. If someone does the trigger to show a quote, and the quote has a $ in it, I get an error... say if the line was "blah blah $700 blah blah" ... it would error out on the partyline with "[12:08] can't read "700": no such variable" .. I've tried regsub -all {$} line "\\\$" line .. and I've tried regsub -all {\$} line "\\\$" line, but neither seem to work.. anyone have any suggestions?
I don't think you need regsub, you probably have a string/list issue in your script. Or the quote has been added inside the Tcl script without skipping $.
Its read to a list so I can lindex the author/date added.. I didn't think that would cause a problem but apparently it does.. should I string map it instead?