This script will show in the room when someone will kick an user etc...
Warning:
This script works ONLY on WCS because i've made that script into this server. This is an old script and I can't say if it will work with you. If not, change this script.
<usergroup name="KBadmin" case="1"> //All names here will not show any commands in the room.
//Don't remove that name!
*_BOT_SELF_TRIGGER_*
</usergroup>
<OnOpMessage type="script" usergroup="!KBadmin">
<in>%PARAMETER%</in>
<out type="push" extdata="KBOPmsg">%PARAMETER%</out>
<out type="push" extdata="KBOPmsg"><operator type="strright" lvalue="$KBOPmsg$" rvalue="2"/></out>
<out type="push" extdata="KBOPmsgLWR"><operator type="strlwr" lvalue="$KBOPmsg$"/></out>
<out type="push" extdata="KBlen"><operator type="strfind" lvalue="$KBOPmsg$" rvalue="/"/></out>
<out type="break" condition="!=" lvalue="$KBlen$" rvalue="0"/>
<out type="push" extdata="KBname"><operator type="strright" lvalue="%NAME%" rvalue="5"/></out>
<out type="push" extdata="KBlen"><operator type="strlen" lvalue="$KBname$"/></out>
<out type="push" extdata="KBlen"><operator type="-" lvalue="$KBlen$" rvalue="2"/></out>
<out type="push" extdata="KBname"><operator type="strleft" lvalue="$KBname$" rvalue="$KBlen$"/></out>
<out type="push" extdata="KBlen"><operator type="-" lvalue="$KBlen$" rvalue="10"/></out>
<out type="push" extdata="KBname"><operator type="strleft" lvalue="$KBname$" rvalue="$KBlen$"/></out>
//######################################################################
//# If you want to save all commands in a file, put 1 in rvalue below. #
//######################################################################
<out type="file" mode="a" extdata="C:\RoomCommands.ini" condition="==" lvalue="1" rvalue="0">[%LOCALTIME%] $KBname$ «» $KBOPmsg$\n</out>
//############################################################################################################
//# If you want to show all commands in opmsg, put 1 in rvalue below but commands will not show in the room. #
//############################################################################################################
<out type="push" extdata="KBexileName">0</out>
<out type="push" extdata="KBkickORban">0</out>
<out type="push" extdata="KBkickORban" condition="?" lvalue="$KBOPmsgLWR$" rvalue="/">99</out>
<out type="push" extdata="KBkickORban" condition="?" lvalue="$KBOPmsgLWR$" rvalue="/kick ">1</out>
<out type="push" extdata="KBkickORban" condition="?" lvalue="$KBOPmsgLWR$" rvalue="/ban ">2</out>
<out type="push" extdata="KBkickORban" condition="?" lvalue="$KBOPmsgLWR$" rvalue="/exile ">3</out>
<out type="push" extdata="KBkickORban" condition="?" lvalue="$KBOPmsgLWR$" rvalue="/kickban ">4</out>
<out type="push" extdata="KBkickORban" condition="?" lvalue="$KBOPmsgLWR$" rvalue="/banip ">5</out>
<out type="push" extdata="KBkickORban" condition="?" lvalue="$KBOPmsgLWR$" rvalue="/setaccess ">6</out>
<out type="break" condition="?" lvalue="$KBOPmsgLWR$" rvalue="/notice "/> //I don't want to see notices! ;o)
<out type="break" condition="==" lvalue="$KBkickORban$" rvalue="0"/>
<out type="script" condition="==" lvalue="$KBexileName$" rvalue="1">/opmsg $KBname$ «» $KBOPmsg$</out>
<out type="break" condition="==" lvalue="$KBexileName$" rvalue="1"/>
<out type="push" extdata="KBOPmsg" condition="==" lvalue="$KBkickORban$" rvalue="1"><operator type="strright" lvalue="$KBOPmsg$" rvalue="6"/></out>
<out type="script" condition="==" lvalue="$KBkickORban$" rvalue="1">#c6#$KBname$ #c2#used command #c5#kick #c2#on #c4#$KBOPmsg$</out>
<out type="push" extdata="KBOPmsg" condition="==" lvalue="$KBkickORban$" rvalue="2"><operator type="strright" lvalue="$KBOPmsg$" rvalue="5"/></out>
<out type="script" condition="==" lvalue="$KBkickORban$" rvalue="2">#c6#$KBname$ #c2#used command #c5#ban #c2#on #c4#$KBOPmsg$</out>
<out type="push" extdata="KBOPmsg" condition="==" lvalue="$KBkickORban$" rvalue="3"><operator type="strright" lvalue="$KBOPmsg$" rvalue="7"/></out>
<out type="push" extdata="KBlen" condition="==" lvalue="$KBkickORban$" rvalue="3"><operator type="strfind" lvalue="$KBOPmsg$" rvalue=" "/></out>
<out type="push" extdata="KBexileName" condition="==" lvalue="$KBkickORban$" rvalue="3"><operator type="strleft" lvalue="$KBOPmsg$" rvalue="$KBlen$"/></out>
<out type="push" extdata="KBOPmsg" condition="==" lvalue="$KBkickORban$" rvalue="3"><operator type="strrep" nvalue="$KBOPmsg$" lvalue="$KBexileName$ " rvalue=" "/></out>
<out type="script" condition="==" lvalue="$KBkickORban$" rvalue="3">#c6#$KBname$ #c2#used command #c5#exile #c2#to send #c4#$KBexileName$ #c2#to#c4#$KBOPmsg$</out>
<out type="push" extdata="KBOPmsg" condition="==" lvalue="$KBkickORban$" rvalue="4"><operator type="strright" lvalue="$KBOPmsg$" rvalue="9"/></out>
<out type="script" condition="==" lvalue="$KBkickORban$" rvalue="4">#c6#$KBname$ #c2#used command #c5#kickban #c2#on #c4#$KBOPmsg$</out>
<out type="push" extdata="KBOPmsg" condition="==" lvalue="$KBkickORban$" rvalue="5"><operator type="strright" lvalue="$KBOPmsg$" rvalue="7"/></out>
<out type="script" condition="==" lvalue="$KBkickORban$" rvalue="5">#c6#$KBname$ #c2#used command #c5#banip #c2#on #c4#$KBOPmsg$</out>
<out type="push" extdata="KBOPmsg" condition="==" lvalue="$KBkickORban$" rvalue="6"><operator type="strright" lvalue="$KBOPmsg$" rvalue="11"/></out>
<out type="push" extdata="KBlen" condition="==" lvalue="$KBkickORban$" rvalue="6"><operator type="strfind" lvalue="$KBOPmsg$" rvalue=" "/></out>
<out type="push" extdata="KBexileName" condition="==" lvalue="$KBkickORban$" rvalue="6"><operator type="strleft" lvalue="$KBOPmsg$" rvalue="$KBlen$"/></out>
<out type="push" extdata="KBOPmsg" condition="==" lvalue="$KBkickORban$" rvalue="6"><operator type="strrep" nvalue="$KBOPmsg$" lvalue="$KBexileName$ " rvalue=" "/></out>
<out type="script" condition="==" lvalue="$KBkickORban$" rvalue="6">#c6#$KBname$ #c2#used command #c5#setaccess #c2#on #c4#$KBexileName$ #c2#to that access:#c4#$KBOPmsg$</out>
<out type="break" condition="!=" lvalue="$KBkickORban$" rvalue="99"/>
<out type="push" extdata="KBOPmsg"><operator type="strright" lvalue="$KBOPmsg$" rvalue="1"/></out>
<out type="push" extdata="KBlen"><operator type="strfind" lvalue="$KBOPmsg$" rvalue=" "/></out>
<out type="push" extdata="KBexileName"><operator type="strleft" lvalue="$KBOPmsg$" rvalue="$KBlen$"/></out>
<out type="script" condition="==" lvalue="$KBlen$" rvalue="-1">#c6#$KBname$ #c2#used command #c5#$KBOPmsg$</out>
<out type="script" condition="!=" lvalue="$KBlen$" rvalue="-1">#c6#$KBname$ #c2#used command #c5#$KBexileName$</out>
</OnOpMessage>