Description of MUSHclient world function: world.ExportXML
Name | ExportXML |
---|---|
Type | Method |
Summary | Exports a world item in XML format |
Prototype | BSTR ExportXML(short Type, BSTR Name);
|
Description | This lets you export one trigger, timer, alias, macro, keypad item or variable in XML format. This is symmetrical with the ImportXML function - a trigger exported with ExportXML will be syntactically correct for importing with ImportXML. However, it may not actually import if, say, there is a clash where two triggers both have the same label. Note: Available in version 3.41 onwards. |
VBscript example |
|
Jscript example |
|
PerlScript example |
|
Python example |
|
Lua example |
|
Returns | The XML text of the nominated item. If the "type" is not valid, or the item cannot be found, then the return value is the empty string. |
Introduced in version | 3.41 |
See also ...
Function | Description |
---|---|
ImportXML | Imports configuration data in XML format |
Enter a word or phrase in the box below to narrow the list down to those that match.
The function name, prototype, summary, and description are searched.
Leave blank to show all functions.
Many functions return a "code" which indicates the success or otherwise of the function.
You can view a list of the return codes
The "prototype" part of each function description lists exactly how the function is called (what arguments, if any, to pass to it).
You can view a list of the data types used in function prototypes
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.