backIndex

Xelagot action script

Events: ElevDumpComplete

Requires xelagot 3.608 or newer and the world server must be 3.3 (build 39) or higher.

Refer to Events for general information..

ElevDumpComplete event is triggered whenever the bot completes or aborts making a terrain backup (elevdump) in a 3.3 world or higher.

To request an elevdump:
ElevDump $f [%rc]
where $f is a filename, and an optional parameter %rc gets a 0 if an elevdump may be done, and -1 if not (for example, the world does not support terrain).

If the path of file $f is not specified, the file is downloaded to the script's folder. The filename convention for $f is explained in the section Filenames. If the destination path and folder does not exist, it will be created to accommodate the file.

Installer:

OnElevDumpCompleteEvent <eventlabel>
Event type: 10501

Specific statements (must be inside the event handler):

GetEventType %a stores the event type code in variable %a
GetEventResult %a stores the event result code in variable %a. 0 means success, any other means failure. This must be tested
GetFilename $f stores the filename in $f. Not usually needed, as you already know the filename when calling ElevDump $f


backIndex