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
➜ General
➜ <comment> directives in the XML file format
|
<comment> directives in the XML file format
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Thu 16 May 2002 09:13 AM (UTC) Amended on Thu 16 May 2002 09:20 AM (UTC) by Nick Gammon
|
| Message
| For those of you who have downloaded the new version of MUSHclient that supports XML (3.21) you might want to try this new, and (as yet) undocumented feature. Try selecting the text below the line here, copy it to the clipboard, and then go to an open MUSHclient world, and select:
File -> Import -> Clipboard
<muclient>
<comment>
<![CDATA[
The <comment> tag allows you to imbed comments into your snippets,
that will be read by the person installing (importing) the snippet.
This is intended to be used by people distributing snippets, to be used for:
* What the snippet does (eg. a wilderness walker)
* Installation instructions
* How to use it
* Code to be pasted into the script file
By using the optional "<![CDATA[" sequence (which is standard XML), you can imbed the
normally forbidden characters "<", "&", ">" and others without worrying about having to
"escape" them.
Because of this, you should be able to simply copy and paste your VBscript (or JScript etc.)
code into the <comment>, unless it has the (rather unlikely) CDATA termination sequence,
in which case you would simply reformat the code slightly to avoid that happening.
You can have multiple <comment> directives in your XML documents, they will be concatenated
and presented in the order in which they occur.
]]>
</comment>
</muclient>
|
- 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.
5,417 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top