action2 = function()
if GetVariable("findmubiao") == "0" then
if GetVariable("sdbl_pause") == "1" then
Note("-------遍历暂停,处理手头的事情继续")
return
end
sdbianli()
else
if GetVariable("findmubiao") == "1" then
Execute("drop 找到目标,遍历结束")
Execute("t- sdbl")
end
end
if GetVariable("flag_tuiche") == "遍历找伙计" then
func_temp = function(n, l, w)
if GetVariable("target_room") == w[1] then
DoAfterSpecial(3, "set ac 走出再走回" .. w[1], 10)
else
walkto(GetVariable("target_room"))
SetVariable("target_room", w[1])
SetVariable("flag_tuiche", "找到伙计了继续推")
Note("目标房间已经设定为:" .. w[1])
end
end
cntr1("^.*haha找到唯一编号\\-\\-(\\d+).*$")
Execute("#loc2")
end
end