Examples
Object Creation Sample Script:
<eml3d>
<head>
<owner lastname="Doe" firstname="John" password="password"></owner>
<server id="SL" uri="" type="SL"></server>
<creatorbot id="SLCREATOR" lastname="Doe" firstname="John" password="password"></creatorbot>
</head>
<body startImmediately="MYFIRSTTASK">
<task id="MYFIRSTTASK" serverid="SL" creatorbotid="SLCREATOR">
<sequential>
<action id="CREATE_SOMETHING">
<command name="CREATEPRIM">
<param name="ID" value="MYFIRSTPRIM"></param>
<param name="PRIMTYPE" value="SPHERE"></param>
<param name="POSITIONTYPE" value="RELATIVE"></param>
<param name="POSITION" value="0:0:2.5"></param>
</command>
</action>
</sequential>
</task>
</body>
</eml3d>
Perception Sample Script:
<eml3d>
<head>
<owner lastname="Doe" firstname="John" password="password"></owner>
<server id="SL" uri="" type="SL"></server>
<creatorbot id="SLCREATOR" lastname="Doe" firstname="John" password="password"></creatorbot>
<perceptorbot id="SLPERCEPTOR" creatorbotid="SLCREATOR" serverid="SL"></perceptorbot>
</head>
<body>
<perception id="LISTEN">
<event id="GREETING" type="CHATCHANNEL">
<condition variable="MESSAGE" value="Hello"></condition>
<condition variable="LISTENER" value="SLPERCEPTOR"></condition>
</event>
</perception>
<task id="MYSECONDTASK" serverid="SL" creatorbotid="SLCREATOR" starton="LISTEN">
<sequential>
<action id="SAY_SOMETHING">
<command name="SPEAK">
<param name="CHANNEL" value="0"></param>
<param name="TEXT" value="Hello. This is a nice primitive I created!"></param>
<param name="CHATTYPE" value="NORMAL"></param>
</command>
</action>
</sequential>
</task>
</body>
</eml3d>







