Just an explanation about the 2 files :
- EVENTS file:
A new incomming message must be declared like this
<message>
<name>Test</name>
<class>xAPBSC.event</class>
<address>ptrinchi.*</address>
<Desc>pti</Desc>
<body>
output.state
{
state=[state]
text=[text]
}
</body>
</message>
You can add a * to the adress if you want.
You can specify two filed [state] and or [txt] to indicate where XL could find the information for text two variables
plugin>xAP-Xlobby>state>XXXX.YYY
plugin>xAP-Xlobby>text>XXXX.YYY
That all for the incomming messages.
- ACTIONS file:
You can add as any outgoing messages as you want, just add this lines
<event>
<name>Basic Control</name>
<class>xAPBSC.cmd</class>
<adress>*Xlobby*</adress>
<Desc>bsc 1.3</Desc>
<body>
output.state
{
id=*
state=[On,Off,Toggle]
}
</body>
</event>
Only one parameter available, *Xlobby* to indicate where xl xap adress is.
the field like [ON,Off] can indicate multiple possibility.