Scripting

I tried to keep scripting as simple as possible and I believe it is simple. A presentation script's lines can be:

Comments: Starting with // they are ignored by the program. Use those to add your own comments or ToDo in the presentation script.
Tagged lines:
Starting with a <tag>, use these to assign actions to objects. Note that if a tag was not found in a query it is ignored.
Presentation Text:
If it's not a comment or a tag then it's presentation text, the bot will transmit these.

An example that is included with the bot (the numbering is used just here for reference, do not number lines in real scripts):

1: //You can add C++ style comments to your presentation by starting a line with with "//"
2: //Your presentation is not altered in any way with these comments
3: Pretty easy to handle, all text is scanned before transmiting to make sure each line is less than 255 chars
4: //
5: <midi>create sound http://www2.bonet.co.id/cpr/midi/pop/mandy/candy.mid
6: Midi object was changed, to add a midi or wav or mp3 you start the line with the <midi> tag and add the action line after that
7: //
8: <pict>create picture http://pippinville.homestead.com/files/Garfield.jpg
9: Picture was changed, to add a picture use the <pict> tag
10: //
11: <midi>create sound http://www.midi.net/midifiles/Pop_and_Top40/bush_kate/army.mid
12: And another midi
13: //
14: <pict>create picture http://img.cmpnet.com/nc/graphics/exp/exp-people.jpg
15: And another picture
16:
17:

Lines 1,2,4,7,10,13, are comments therefore ignored
Lines 3,6,9,12,15,16,17 are text therefore "spoken" by the bot. Note the blank lines 16 and 17, the bot will do just that...send a blank line.
Line 5 changes the object action line that has the <midi> tag to
create sound http://www2.bonet.co.id/cpr/midi/pop/mandy/candy.mid
The rest of the tagged lines do as above, change the action lines of the objects that were assigned the specified tag during querying the area.