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
➜ SMAUG
➜ SMAUG coding
➜ Special Characters in Smaug
|
Special Characters in Smaug
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Gradius
(10 posts) Bio
|
| Date
| Tue 19 Oct 2004 07:37 PM (UTC) |
| Message
| I am using Smaug 1.4 and using area editor to build my zones. For some reason i cannot use characters like "~" or "^". The "~" are not allowed by area editor and if i change it in-game the ~ shows up as a -. when i use ^ they are just dont show up in the right spots... i was wondering if ther was some sort of code snippet somewhere that allows for special characters.. maybe some special characters on the ascii character map. like ♥ and such.. any help would be appreciated :)
Gradius
Head Administrator/Builder
Lands of Genesis
66.118.225.154:4000 | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #1 on Tue 19 Oct 2004 08:38 PM (UTC) |
| Message
| | Both those cannot be used, because ~ represents an end of the string, and ^ lets the string continue to multiple lines. I've seen a MUD or two with special characters, such as a Godwars MUD. Not sure how to do it though. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #2 on Tue 19 Oct 2004 10:31 PM (UTC) |
| Message
| If you look at the code that reads in the area files, it delimits the description (for a room, say) with the ~ character, so clearly you can't have that in the middle of a room description.
Using the &#blah; approach would work, if the player was using MXP, however you would be in trouble if they are not. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
12,209 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top