//修复了几个错误
//打开QQ聊天界面就能自动聊天了
"auto"
t = 0; //延迟
toast("打开QQ消息界面自动聊天");
threads.start(notificationmsg);
while (true) {
other = "";
findMessage();
othersay = getMessage();
if (othersay != null) {
var info = othersay;
log("\n\nTa:\n" + ":" + othersay);
i = "";
i += Me();
i += "";
sendMessage(i);
log("我:\n" + i);
sleep(t)
back();
}
findboxmsg();
}

function Me() {
var url = "http://www.tuling123.com/openapi/api";
id1 = "llmjk";
var res = http.post(url, {
key: "767e8fb7cd8448759b23d1a0da38d33f", //图灵
info: info,
userid: "1",
});
var html = res.body.string();
eval("b=" + html);
return b.text;
}