Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ the example of pasuing script alias doesn't work?

the example of pasuing script alias doesn't work?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Fred   (11 posts)  Bio
Date Wed 04 Jan 2006 11:58 AM (UTC)
Message
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.
Top

Posted by Fred   (11 posts)  Bio
Date Reply #1 on Wed 04 Jan 2006 01:09 PM (UTC)
Message
k... bug fixed..
i made a stupid mistake again,
I forgot the timer is diable
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #2 on Wed 04 Jan 2006 08:19 PM (UTC)
Message
What do you mean "diable"? These examples are supposed to work. Can you explain what went wrong, and how you fixed it?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,034 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.