请问MUSH Lua怎么在SetVariable里连接字符串啊?
大概意思是SetVariable("a", GetVariable("a") .. %1)
北大侠客行MUD,中国最好的MUD SetVariable("test1","h")
SetVariable("test2","i")
SetVariable("test3",GetVariable("test1")..GetVariable("test2")) 回复 2# pssjim
Script error
World: pkuxkx
Execution of line 3 column 42
Immediate execution
Expected identifier
Line in error:
SetVariable("test3",GetVariable("test1")..GetVariable("test2"))
错误啊。。哪儿不对呢我 我去,终于知道为什么了,装了那个task locate插件,结果script设的是java,改成lua就好了
页:
[1]