|
why can`t i run my Script
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Xmarine
(3 posts) bio
|
| Date |
Sun 22 Apr 2012 09:45 AM (UTC) [ quote
] |
| 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 (848 posts) bio
Global Moderator |
| Date |
Reply #1 on Sun 22 Apr 2012 05:04 PM (UTC) [ quote
] |
| Message |
It seems to me that some information is missing.
Where did you put this bit of code? In a plugin? In an alias? |
http://aardwolfclientpackage.googlecode.com/ | top |
|
| Posted by |
Xmarine
(3 posts) bio
|
| Date |
Reply #2 on Sun 22 Apr 2012 05:37 PM (UTC) [ quote
] |
| Message |
| in the document "world" of mushclient | top |
|
| Posted by |
Fiendish
USA (848 posts) bio
Global Moderator |
| Date |
Reply #3 on Sun 22 Apr 2012 05:42 PM (UTC) [ quote
] |
| 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) |
http://aardwolfclientpackage.googlecode.com/ | top |
|
| Posted by |
Fiendish
USA (848 posts) bio
Global Moderator |
| Date |
Reply #5 on Wed 09 May 2012 11:57 PM (UTC) [ quote
] |
| Message |
| You said the code is in a document. Please show the whole document, not just the part you think is important. |
http://aardwolfclientpackage.googlecode.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.
966 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )