0 Members and 1 Guest are viewing this topic.
a script where when the bot had already been triggered through a " script " command that another word would stop it instantly
is it possible to have a script that when someone says 3 specefic things in 3 different lines triggers a final command. Eg. Someone says, 1,2,3 in 3 different lines in the room, then the bot is triggered and replies with " wow you can count "
<command type="script"><in>start</in><out type="push" extdata="RunScript">1</out><out type="self">!Running!</out></command><command type="script"><in>stop</in><out type="break" condition="==" lvalue="%NAME%" rvalue="_BOT_SELF_TRIGGER_"></out><out type="push" extdata="RunScript">0</out></command><command type="script" mode="thread"><in users="_BOT_SELF_TRIGGER_">!Running!</in><out type="break" condition="==" lvalue="%USERVAR[RunScript]%" rvalue="0"></out><out>#c1#This script will pause for #c8#5 #c1#seconds,</out><out type="sleep" extdata="5000"></out><out type="break" condition="==" lvalue="%USERVAR[RunScript]%" rvalue="0"></out><out>#c1#and keep repeating until you type #c8#sleep#c1#.</out><out type="break" condition="==" lvalue="%USERVAR[RunScript]%" rvalue="0"></out><out type="self">!Running!</out></command>