<?xml version="1.0" encoding="UTF-8"?>
<packets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="packets.xsd" delay="2000">
<!--
Information:
* To send this mapping use admin command '//send demo'.
* Each packet is sent with delay {packets#delay} between them.
* Each packet part can be repeated many times by specifying attribute {part#repeat}
i.e. <part type="c" value="0x00" repeat="29"/>
-->
<!-- Example: send first SM_MESSAGE packet -->
<!-- Format: ccdhS -->
<packet opcode="0x18">
<part type="c" value="10"/><!-- chat type: legion -->
<part type="c" value="0x00"/>
<part type="d" value="${objectId}"/><!-- write sender objectId -->
<part type="h" value="0x00"/>
<part type="s" value="Hello, World!"/>
</packet>
<!--
Example: send second SM_MESSAGE packet.
Packet will be sent after {packets#delay} milliseconds.
-->
<packet opcode="0x18">
<part type="c" value="1"/><!-- chat type: npc -->
<part type="c" value="0x00"/>
<part type="d" value="${targetObjectId}"/>
<part type="h" value="0x00"/>
<part type="s" value="New message!"/>
</packet>
</packets>