Gammon Forum
Entire forum
MUSHclient
Bug reports
Serious problem with version 3.20?
Serious problem with version 3.20?
|
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Pages: 1
2
Posted by
| Shadowfyr
USA (1,786 posts) bio
|
Date
| Reply #15 on Sun 23 Jun 2002 08:33 PM (UTC) |
Message
| Ok... Never mind. Just checked again, there was either something really wrong with the script I was using or this glitch was previously fixed. :p Seems to return the full string now, though why not before... Should have realized when Gammon didn't comment. lol | top |
|
Posted by
| Nick Gammon
Australia (22,973 posts) bio
Forum Administrator |
Date
| Reply #16 on Mon 24 Jun 2002 05:24 AM (UTC) |
Message
|
Quote:
Right now it is (I assume) the only way someone can theoretically extend the implimentation unless the extension is color, variable or command definition.
MXP is extensible, so I don't see what is stopping you doing your own "<!ELEMENT ...>" definition. eg. for your example:
<!ELEMENT render ATT="stream" empty >
This then lets you use <render stream="blah"> without any error message. Then, inside the client (in MUSHclient anyway) you add a script routine for "Opening tag". This script routine gets passed all the attributes (parsed from the element) so you can then make it do whatever you want.
However if someone doesn't have your extra script routine installed then the client quietly discards the element. This is what you want, I think.
In older (current?) versions of zMUD you might see:
<render stream="blah">
in the output window, which - I submit - is not what you want. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
Posted by
| Shadowfyr
USA (1,786 posts) bio
|
Date
| Reply #17 on Mon 24 Jun 2002 10:32 PM (UTC) |
Message
| Ah.. Yeah that would work.. Helps if you actually have some clue what you are doing. lol Didn't realize you could define elements like that or even think about the 'opening tag' scripting. :p | 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.
46,683 views.
This is page 2, subject is 2 pages long:
1
2
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.