<?xml version="1.0" encoding="utf-8" ?>
<Distribution Name="TFS 0.3.6">
<Global Directory="data/lib">
<SourceFunctions> <!--Lua script for debugging-->
</SourceFunctions>
</Global>
<State Name="Action" Directory ="data/actions/scripts" XMLFile="data/actions/actions.xml">
<SourceFunctions>
</SourceFunctions>
<XMLFile ScriptDirectory="" XmlDirectory="">
<Pattern>
<actions self="(law)DoSomething">
<action self="(law)DoSomething"
itemid="numberarray"
fromid="number (law)ItemIDorFromIDToID"
toid="number (law)ItemIDorFromIDToID"
event="(list) script buffer"/>
</actions>
</Pattern>
<Description>
<actions self="The Main Branch.">
<action self="A part where a single file is bound."
itemid="This activates on use by activating it, can be put as 1234-5678 or 1234, they can be stacked with a list by adding ; in between."/>
</actions>
</Description>
<Law Name="ItemIDorFromIDToID">
function(Attribute, Value)
if Attribute["itemid"] ~= nil then
Attribute["itemid"] = nil
msgbox("You can't set itemid at the same time as from and toid.")
end
end
</Law>
</XMLFile>
<Event Name="onUse" parameters="cid item fromPosition itemEx toPosition">
function onUse(cid, item, fromPosition, itemEx, toPosition)
end
</Event>
</State>
</Distribution>