ID:160104
 
Ok i cant seem to find the answer to this and its the first time ive looked at it so im using long text strings for some npc conversations and ran into a problem. if I input the text like so...
var
msg={"Skills are learned throughout the game either by scrolls or from NPCs and completing quest. To see
your skills and assign them to one of the 4 attack keys use the T key(or HUD button). Just drag and drop in
one of the four spots and the attack is assigned."}

it outputs like this
"Skills are learned throughout the game either by scrolls or from NPCs and completing quest. To see
your skills and assign them to one of the 4 attack keys use the T key(or HUD button). Just drag and drop in
one of the four spots and the attack is assigned."

Instead of like this
"Skills are learned throughout the game either by scrolls or from NPCs and completing quest. To see your skills and assign them to one of the 4 attack keys use the T key(or HUD button). Just drag and drop in one of the four spots and the attack is assigned.

It carries the enter over in the code to the output but I would like it not to carry it over but not have a really long single line of text.
That's because {" "} uses EXACTLY what you type out. If you want to spread some text to multiple lines in the .dm file, but not when the code is executed, use " " in conjunction with \.

world << "This is a good example of \
a single line spread to multiple \
lines with \\"
// \\ is equal to \ when outputted
In response to Jeff8500
Thank you I couldnt find that any where and it was pissing me off cause im a pretty good coder and couldnt figure it out (not the same as other languages i use) and couldnt find it in the guide or reference anywhere.