DoAfter

Posted by Kresslack on Thu 29 Oct 2009 04:05 AM — 3 posts, 14,430 views.

#0
I am trying to get the DoAfter function to work, with no results.

<triggers>
<trigger
enabled="y"
ignore_case="y"
match="You say, &quot;Hello.&quot;"
regexp="y"
send_to="12"
sequence="2050"
>
<send>require "wait"
wait.make (function ()
wait.time (2.0)
Execute ("say Nice to meet you.")
end)</send>
</trigger>
</triggers>

Cannot seem to get it to work at all.
Australia Forum Administrator #1
Worked for me...


<24hp 145m 110mv> <#21036> 
You say, "Hello."

say Nice to meet you.
You say 'Nice to meet you.'


Check the trigger line, that it doesn't have a space or something at the end. Check timers are enabled.
#2
I didn't change a single thing and for some reason it works now...O.o