winset(editingcode, "tcscode", "text=\"[storedcode]\"")
Problem description:
winset() appears to cut off text when it detects a quotation mark. "tcscode" is an input element, and if the variable "storedcode" were to contain quotation marks (for example: string = "Hello world!") the string would get cut off (for example: string = ).
Is there some way to work around this?
There should be a simple string/text library around here with a replaceText() process. You'll want to replace all occurrences of " with \". Keep in mind that you'll have to escape those characters in Dream Maker itself so it understands you just want the characters. (eg replaceText(storedcode, "\"", "\\\"")
<edit>
Here's a good replaceText() process:
http://www.byond.com/forum/?post=195050