10月11
local ipairs = _G.ipairs
local fnd = _G.string.find
local lower = _G.string.lower
local rep = _G.strreplace
local triggers = {
"求开?.-门",
"求法师开?.-门",
"求FS开?.-门",
"%d+g?.-求法师开?.-门",
"%d+g?.-求FS开?.-门",
"有法师在",
"有FS在",
"帮忙开?.-门",
}
local orig, prevReportTime, prevLineId, result = "", 0, nil
local function filter(_, event, msg, player, _, _, _, _, channelId, _, _, _, lineId)
if lineId == prevLineId then return result else prevLineId = lineId end --Incase a message is sent more than once (registered to more than 1 chatframe)
if event == "CHAT_MSG_CHANNEL" and channelId == 0 then result = nil return end --Only scan official custom channels (gen/trade)
local raw = msg
msg = lower(msg)
msg = rep(msg, " ", "")
for k, v in ipairs(triggers) do
if fnd(msg, v) then
local time = GetTime()
if (time - prevReportTime) > 60 then
prevReportTime = time
PlaySoundFile("Sound\\Creature\\KelThuzad\\KEL_NAXX_HELP.wav")
DEFAULT_CHAT_FRAME:AddMessage("|c333399ff注意 |r有人需要开门,生意上门啦!", 1.0, 1.0, 1.0, 1, 10)
SendChatMessage("开门收费3G!", "WHISPER", nil, player)
else
end
end
end
result = nil
end
ChatFrame_AddMessageEventFilter("CHAT_MSG_CHANNEL", filter)
ChatFrame_AddMessageEventFilter("CHAT_MSG_SAY", filter)
ChatFrame_AddMessageEventFilter("CHAT_MSG_YELL", filter)
ChatFrame_AddMessageEventFilter("CHAT_MSG_WHISPER", filter)
ChatFrame_AddMessageEventFilter("CHAT_MSG_EMOTE", filter)
ChatFrame_AddMessageEventFilter("CHAT_MSG_DND", filter)
ChatFrame_AddMessageEventFilter("CHAT_MSG_AFK", filter)
以上代码的效果是,聊天频道内只要有人喊话中含有“开 门”或“沙门”(如:能帮我开个门么?/求FS开个门),就会自动密他说“3G”,然后FS朋友们就可以舒舒服服的享受了,等着G币自动找上门吧。
插件为本人原创,欢迎转载,但请注明转载出处,谢谢~
下载文件 (已下载 199 次)9月25
最近我的企业邮局到期了,续费觉得划不来,找个免费的用用吧,还真让我找到了。。。
http://domain.mail.qq.com,这个是QQ提供的企业邮局,现在免费,将来收不收费我就不知道了,用着挺好,和QQ邮箱无缝连接在了一起,设置方法和普通企业邮局一样。设置方法参考http://service.mail.qq.com/cgi-bin/help?id=48。发送邮件的时候选择对应的企业邮局账号就可以了。
据说SOGOU也在做免费企业邮局,但是我找了半天,就是没找到注册的地方,瀑布汗。。。
http://domain.mail.qq.com,这个是QQ提供的企业邮局,现在免费,将来收不收费我就不知道了,用着挺好,和QQ邮箱无缝连接在了一起,设置方法和普通企业邮局一样。设置方法参考http://service.mail.qq.com/cgi-bin/help?id=48。发送邮件的时候选择对应的企业邮局账号就可以了。
据说SOGOU也在做免费企业邮局,但是我找了半天,就是没找到注册的地方,瀑布汗。。。
7月29
在清理硬盘垃圾的时候乱翻,翻出了李涛老师的Photoshop教程,看了一下,觉得不错,提供个地址给大家。
入门技巧:
1.光和色的关系:http://cimg3.163.com/tech/school/huoxing/photoshop/ps01.WMV
2.光和色的关系2:http://cimg3.163.com/tech/school/huoxing/photoshop/ps02.WMV
3.色彩模式 图像分辩率:http://cimg3.163.com/tech/school/huoxing/photoshop/ps03.WMV
4.绘画与修饰工具1:http://cimg3.163.com/tech/school/huoxing/photoshop/ps040.WMV
5.绘画与修饰工具2:http://cimg3.163.com/tech/school/huoxing/photoshop/ps05.WMV
6.绘画与修饰工具3:http://cimg3.163.com/tech/school/huoxing/photoshop/ps06.WMV
7.绘画与修饰工具4:http://cimg3.163.com/tech/school/huoxing/photoshop/ps070.WMV
8.绘画与修饰工具5:http://cimg3.163.com/tech/school/huoxing/photoshop/ps08.WMV
入门技巧:
1.光和色的关系:http://cimg3.163.com/tech/school/huoxing/photoshop/ps01.WMV
2.光和色的关系2:http://cimg3.163.com/tech/school/huoxing/photoshop/ps02.WMV
3.色彩模式 图像分辩率:http://cimg3.163.com/tech/school/huoxing/photoshop/ps03.WMV
4.绘画与修饰工具1:http://cimg3.163.com/tech/school/huoxing/photoshop/ps040.WMV
5.绘画与修饰工具2:http://cimg3.163.com/tech/school/huoxing/photoshop/ps05.WMV
6.绘画与修饰工具3:http://cimg3.163.com/tech/school/huoxing/photoshop/ps06.WMV
7.绘画与修饰工具4:http://cimg3.163.com/tech/school/huoxing/photoshop/ps070.WMV
8.绘画与修饰工具5:http://cimg3.163.com/tech/school/huoxing/photoshop/ps08.WMV




16:47


Flash Player文件

