请按上面的提示输入指定位置汉字验证:
/<
function 过验证()
local str=获取NPC对话内容()
if str:match("输入验证") then
local cmd=str:match("/(@@[^>]+)>")
w1,w2 = str:match("第【(%d)】个文字%-%-【([^%-]+)】%-")
if cmd and w1 and w2 then
local content=w2:sub(tonumber(w1)*2-1,tonumber(w1)*2)
合成命令(cmd,content)
清空NPC对话内容()
等待(1500)
end
end
end
过验证() -- 回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>