求助:为什么这个变量没办法被触发器赋值呢?
祝大家新年快乐。触发后,dodge_count_py打印出来始终为0。。这是为什么呢?新手上路,请各位解答下,谢谢。
dodge_count_py = 0
creat_trigger_py = function(name_py, match_py, response_py, sequence_py)
AddTriggerEx(name_py, match_py, response_py, 1 + 8 + 32 + 1024, -1, 0, "", "", 12, sequence_py)
end
creat_trigger_py("learn_dodge_py", "^[> ]*你的「基本轻功」进步了!.*$", "dodge_count_py = dodge_count_py + 1",100)
function learn_dodge_py()
wait.make(function()
while dodge_count_py <= 5
do
Send("xue wushi for dodge 1")
wait.time(7)
print(dodge_count_py)
end
end)
end
北大侠客行MUD,中国最好的MUD 原来格式设置是UTF-8不是GB2312,改成GB2312就好了..
页:
[1]