
<防脱机系统~/SCOLOR=150> <请在30秒之内正确回答下面的问题/SCOLOR=254>\ <──────────────────────────/SCOLOR=90>\ \ 问题:日本著名的女优是谁?\ \ <Img:0571><提示:回答错误或者超时将会扣除3000万元宝和3万荣誉值!/SCOLOR=249><Img:0571>\ <──────────────────────────/SCOLOR=90>\ <A:张柏芝/@错> <B:苍井空/@对>
/<
lastmsg=""
function 过验证()
local str=获取NPC对话内容()
if str==lastmsg then return end
lastmsg = str
if str:match("防[挂脱]+") or str:match("验证") then
local n={};local cs={};local csc={}
for a in str:gmatch("/(@[^>]+)>") do
if n[a]
then n[a]=n[a]+1
else n[a]=1
end
if cs[#a]
then cs[#a]=cs[#a]+1;csc[#a]=a
else cs[#a]=1;csc[#a]=a
end
end
local s=nil;local ybt=false;
for a,b in pairs(n) do
if b==1 then if a~="@EXIT" then s=a end
else ybt = true end
end
if not ybt then
for a,b in pairs(cs) do
if b==1 then s=csc[a]
else ybt = true end
end end
if s and ybt then
选择(s)
等待(1500)
end
end
end
过验证() -- 回收验证保留此行,删除下面一行
设置用户检测("过验证",2000) -- 脱机验证保留此行,删除上面一行
/>