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 ?
-----------------------------------
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 ?