/ function 过验证() local str = 获取NPC对话内容() if string.find(str,/@@InPut%a+%d+)~=NULL then function maskMsg ( text, set, repl ) if #text = 0 then return text end local function maskor ( str ) return repl or string.rep( *, #str ) end f
/ lastmsg= function 过验证() local str=获取NPC对话内容() if lastmsg==str then return end lastmsg=str if str:match(验证码) then local cmd=str:match(/(@@[^]+)) local content=str:match(ImgNum:%d:(%d+):) if cmd and content then 合成命令(cmd,co