Sending a literal \n

Posted by Tlanuwa on Tue 05 Apr 2005 01:13 AM — 2 posts, 14,359 views.

#0
Alright, I converted my scripts from vbscript to jscript, and everything but one thing is working fine.

In VB, I had world.send "conjure illusion Blah blah\notherstuff" and this worked fine (and as it was supposed to) -- the game world converted the \n to a newline character just as it was supposed to.

In JScript, it converts it automatically before sending, executing the first line correctly ("conjure illusion Blah blah"), and then trying to send the second line ("other stuff") seperately.

Anyone know of a work around?

Thanks in advance.
USA #1
Escape the \n it becomes: "conjure illusion Blah blah\\notherstuff"