EML3D v.1.0 : Tag Specification
This is the tag specification for EML3D v.1.0:
| Tag | Description | Attributes | Child Nodes |
|---|---|---|---|
| <eml3d> | File identification tag | version (version of the file) : float | <head>, <body> |
| <head> | Declaration container tag | none | <owner>, <server>, <creatorbot>, <perceptorbot> , <statevariable>, <import> |
| <owner> | Definition of the owner of the script | lastname (Last name of the user in SL or OpenSim) : string firstname (First name of the bot user in SL or OpenSim) : string password (Password of the bot user in SL or OpenSim) : string |
none |
| <server> | Definition of the server to connect (Second Life | Open Simulator) | id (Id to identify server in the script): string uri (URI that defines the server to connect) : string type (Type of virtual world server) : (SL | OPENSIM) default (Server to be used by default in tasks) : (TRUE | FALSE) |
none |
| <creatorbot> | Definition of the bot that performs the creation of objects | id (Id to identify the creator in the script) : string lastname (Last name of the bot user in SL or OpenSim) : string firstname (First name of the bot user in SL or OpenSim) : string password (Password of the bot user in SL or OpenSim) : string default (Creatorbot to be used by default in tasks) : (TRUE | FALSE) |
none |
| <perceptorbot> | Definition of the bot that detects the events in the virtual world | id (Id to identify the perceptor in the script) : string serverid (Id of the server in which it wil be logged in) : string creatorbotid (Id of the creator bot that will be the perceptor) : string |
none |
| <statevariable> | Variable definition in the script | name (Name of the variable : string type (Type of the variable) : (STRING | BOOL | FLOAT) default (Default value for the variable) : string |
none |
| <import> | Import EML file into this script | id (Id prefix for the imported file) : string type (Location type of library script file) : URL | FILE uri (URL location of the EML file | Local file) : string |
none |
| <body> | Action container tag | startImmediately (Defines the task that begins execution in the script) : string | <task>, <perception>, <action> |
| <task> | Defines the minimum action unit executed by a bot in a specified server |
id (Id to identify the task in the script. Local to the script) : string serverid (Id of the server in which it wil be executed) : string creatorbotid (Id of the creator bot that will perform the task) : string repeat (Number of times the task is to be repeated) : positive integer or “infinite” startOn (Id of the perception that will start the task) : string (*) startBegin (Id of the task that will begin with this task) : string startEnd (Id of the task that will begin when this task finishes) : string logoutOnEnd (Indicates if the bot should log out when it finishes the task) : (TRUE | FALSE) |
<sequential>, <parallel>, <selected>, <action> |
| <sequential> | Specifies that the tags contained in this structure must be executed sequentially | none | <sequential>, <parallel>, <selected>, <action> |
| <parallel> | Specifies that the tags contained in this structure must be executed in parallel | none | <sequential>, <parallel>, <selected>, <action> |
| <selected> | Specifies that only one internal tag chosen randomly will be executed | none | <sequential>, <parallel>, <selected>, <action> |
| <action> | Defines the actual atomic action in terms of EML | id (Id that idenfies the action in the script. Local to the script) : string conditionexp (Boolean expression that identifies which commands should be executed. If not specified, all commands will be executed : string | string | string … ref (Reference to an id of an action that has already been defined) : string |
<command> |
| <command> | Direct SL or OpenSim commands | name (Command name) : string conditionval (Value used to be evaluated if conditionexp is specified) : string |
<param> |
| <param> | Specifies command parameters | name (Parameter name) : string value (Parameter value) : string |
none |
| <perception> | Structure that defines the events in SL or OpenSim that composes a perception | id (Id to identify the perception. Local to the script) : string grouptype (Defines how the perception will be triggered) : ALL (all events must be triggered), ANY (any event must be triggered). If not specified, ALL is assumed activated (Defines if the perception is in an active state or not) : TRUE | FALSE |
<event> |
| <event> | Defines the events in the virtual world | id (Id that identifies the event) : string
type (Type of event) : string |
<condition> |
| <condition> | Defines the condition needed for the event to be triggered (optional) | variable (Analyzed variable) : string value (Condition value) : string |
none |







