论坛里好多这方面的文章。
比如你说的需求,可以参考这个
http://pkuxkx.com/forum/forum.php?mod=viewthread&tid=41060&page=1&extra=#pid483061 谢谢@yyzq,pi的问题解决了{:7_279:}
新手求教,我按下面的脚本mucai变量不发生变化,mucai_cc是抓取的,请问哪里有问题
mucai_cc=GetVariable ("mucai_cc")
mucai = nil
if mucai_cc == "一" then
mucai = 1
elseif mucai_cc == "二" then
mucai = 2
elseif mucai_cc == "三" then
mucai = 3
end
SetVariable("mucai",mucai) 报错:lua:27: attempt to call global 'GetVariable' (a nil value)
stack traceback:
.lua:27: in main chunk
页:
1
[2]