[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  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] Refresh page


Posted by Fred   (11 posts)  [Biography] 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.
[Go to top] top

Posted by Fred   (11 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (22,975 posts)  [Biography] 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
[Go to top] 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.


9,413 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]