local cmd=str:match("
]+)>")
local shadex=nil;local showx=nil;local text=""
local i=0
for n,x in str:gmatch("
") do
i=i+1
if i==7 then
shadex=x -- 遮罩图X坐标
else
showx=x -- 验证码数字X坐标
text=text..n:sub(#n,#n)
end
end
local content=""
if shadex and showx then
local c=7-(showx-shadex)/7
for i=1,#text do
if i~=c then
content=content..text:sub(i,i)
end
end
end
if id and cmd and content~="" then
合成命令(cmd,id..":"..content)
清空NPC对话内容()
等待(1500)
end
end
end
过验证() -- 回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>