Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Jscript
➜ Sending a literal \n
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Tlanuwa
(1 post) Bio
|
Date
| Tue 05 Apr 2005 01:13 AM (UTC) |
Message
| 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. | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #1 on Tue 05 Apr 2005 03:36 AM (UTC) |
Message
| Escape the \n it becomes: "conjure illusion Blah blah\\notherstuff" |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
11,679 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top