as i was asked to make a script that kicks when using caps, i though of having a De-Vice as well
this is set for FXServer
<config>
<command type="script" usergroup="!admin" case="1">
<in>%PARAM%</in>
<out type="push" extdata="1">0</out>
<out type="break" condition="1" lvalue="%USERVAR[1]%" rvalue="1"></out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="A">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="B">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="C">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="D">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="E">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="F">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="G">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="H">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="I">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="J">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="K">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="L">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="M">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="N">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="O">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="P">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="Q">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="R">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="S">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="T">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="U">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="V">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="W">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="X">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="Y">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="Z">1</out>
<out delay="200" type="normal" condition="4" lvalue="%USERVAR[1]%" rvalue="1">no capitals allowed in here, bye bye</out>
<out delay="2000" condition="4" lvalue="%USERVAR[1]%" rvalue="1">/setuserlevel %NAME% -avcC</out>
</command>
</config>
this one is sed for WCS Server
<config>
<command type="script" usergroup="!admin" case="1">
<in>%PARAM%</in>
<out type="push" extdata="1">0</out>
<out type="break" condition="1" lvalue="%USERVAR[1]%" rvalue="1"></out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="A">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="B">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="C">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="D">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="E">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="F">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="G">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="H">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="I">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="J">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="K">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="L">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="M">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="N">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="O">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="P">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="Q">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="R">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="S">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="T">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="U">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="V">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="W">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="X">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="Y">1</out>
<out delay="100" type="push" extdata="1" condition="4" lvalue="%PARAM%" rvalue="Z">1</out>
<out delay="200" type="normal" condition="4" lvalue="%USERVAR[1]%" rvalue="1">no capitals allowed in here, bye bye</out>
<out delay="2000" condition="4" lvalue="%USERVAR[1]%" rvalue="1">/setaccess %NAME% -Aac</out>
</command>
</config>