本帖最后由 yyahoo 于 2013-4-27 05:32 PM 编辑
-
- require "wait"
- require "tprint"
- function dating()
- wait.make (function()
- wait.time(5)
- Execute ("dating")
- end)
- end
- path={
- ["西门"]={"out;w;w;w;w", "e;e;e;e;enter shudong"},
- ["东门"]={"out;e;e;e;e", "w;w;w;w;enter shudong"},
- ["北门"]={"out;n;n;n", "s;s;s;enter shudong"},
- ["南门"]={"out;s;s;s;s", "n;n;n;n;enter shudong"},
- }
- go_quest=function(position)
- Note(position)
- wait.make (function()
- wait.time(2)
- place=position
- Execute(path[place][1])
- end)
- end
- back=function()
- wait.make (function()
- wait.time(3)
- Execute(path[place][2])
- end)
- end
复制代码
35行的wait.make和38行的end加上就提示错误,但是删除之后可以正常使用 |