Hi can anyone please help me?
i am trying to get this script to run in my room if nobody chats for 30 minutes. it works ok on the settings it has now,but when i change them, it will not run.
<config>
<command type="script" mode="thread" condition="0" lvalue="1" rvalue="$sil scr$">
<in>!shhh</in>
<out type="push" extdata="sil scr">1</out>
//exchange the 20 for the amount of minuites you wish to leave as idle time
<out type="push" extdata="simp mult"><operator type="*" lvalue="8" rvalue="60"/></out>
<out condition="-1">Starting script. Interval #c2#$simp mult$#c1# seconds.</out>
<out type="push" extdata="timedown">$simp mult$</out>
<out type="sleep" extdata="1000"condition="-1"> </out>
<out type="goto" extdata="5" condition=">" lvalue="0" rvalue="$timedown$"> </out>
<out type="push" extdata="timedown2">$timedown$</out>
<out type="push" extdata="timedown"><operator type="-" lvalue="$timedown2$" rvalue="1"/></out>
<out type="goto" extdata="-4" condition="0" lvalue="$timedown$" rvalue="0"> </out>
<out type="goto" extdata="3"> </out>
<out condition="-1">#c8##ERROR -0178</out>
<out type="goto" extdata="3"> </out>
<out>#c13#Come on people, you all are a bunch of dead beats, #c13# WAKEEEEE UPPP!!!!!!</out>
<out>#c13# OK ,I guess i will play around then with the commands or you all can just come out and#c13# !chat !!!!!!!!!!!</out>
<out type="goto" extdata="-11"> </out>
<out type="push" extdata="sil scr">0</out>
<out type="break"></out>
</command>
<command type="script" mode="thread" condition="1" lvalue="1" rvalue="$sil scr$">
<in>*</in>
//place idle time in seconds here
<out type="push" extdata="timedown">480</out>
</command>
</config>