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
➜ Lua
➜ why can`t i run my Script
|
why can`t i run my Script
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Xmarine
(3 posts) Bio
|
| Date
| Sun 22 Apr 2012 09:45 AM (UTC) |
| Message
| here is my code:
-----------------------------------
require "wait"
function test()
wait.make (function () --- coroutine below here
Execute("say Hello")
wait.time (5)
Execute("say I love MUSH")
end) -- end of coroutine
end
-------------------------------------
but the mush give such message:
Compile error
World: XXXX
Immediate execution
[string "Command line"]:1: '=' expected near '<eof>'
who can tell me why ? | | Top |
|
| Posted by
| Fiendish
USA (2,551 posts) Bio
Global Moderator |
| Date
| Reply #1 on Sun 22 Apr 2012 05:04 PM (UTC) |
| Message
| It seems to me that some information is missing.
Where did you put this bit of code? In a plugin? In an alias? |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Xmarine
(3 posts) Bio
|
| Date
| Reply #2 on Sun 22 Apr 2012 05:37 PM (UTC) |
| Message
| | in the document "world" of mushclient | | Top |
|
| Posted by
| Fiendish
USA (2,551 posts) Bio
Global Moderator |
| Date
| Reply #3 on Sun 22 Apr 2012 05:42 PM (UTC) |
| Message
| So in some file like MUSHclient/worlds/myworld.mcl ?
Can you show the entire document contents? (make sure it does not include any passwords or anything) |
https://github.com/fiendish/aardwolfclientpackage | | Top |
|
| Posted by
| Xmarine
(3 posts) Bio
|
| Date
| Reply #4 on Wed 09 May 2012 02:45 PM (UTC) |
| Message
| what`s your mean sir ?
| | Top |
|
| Posted by
| Fiendish
USA (2,551 posts) Bio
Global Moderator |
| Date
| Reply #5 on Wed 09 May 2012 11:57 PM (UTC) |
| Message
| | You said the code is in a document. Please show the whole document, not just the part you think is important. |
https://github.com/fiendish/aardwolfclientpackage | | 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.
17,910 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top