i pasted the alias
<aliases>
<alias
match="test2"
enabled="y"
send_to="12"
sequence="100"
>
<send>
do local t = coroutine.create (function (t)
Note ("prepare heal")
wait (t, 1)
Note ("cast heal")
wait (t, 2)
Note ("eat bread")
wait (t, 3)
Note ("Done")
end) assert (coroutine.resume (t, t)) end
</send>
</alias>
</aliases>
and execuated "test2"
but i only saw "prepare heal"
the wait command doesn't work, why?
is there any special setting?
btw, i set the script language to lua and using exampscript.lua(modified date is 2005/11/22, i'm sure it's the original script)
i tried to resintall mushclinet many times, and the script is correct for sure.
<aliases>
<alias
match="test2"
enabled="y"
send_to="12"
sequence="100"
>
<send>
do local t = coroutine.create (function (t)
Note ("prepare heal")
wait (t, 1)
Note ("cast heal")
wait (t, 2)
Note ("eat bread")
wait (t, 3)
Note ("Done")
end) assert (coroutine.resume (t, t)) end
</send>
</alias>
</aliases>
and execuated "test2"
but i only saw "prepare heal"
the wait command doesn't work, why?
is there any special setting?
btw, i set the script language to lua and using exampscript.lua(modified date is 2005/11/22, i'm sure it's the original script)
i tried to resintall mushclinet many times, and the script is correct for sure.