脚本宝典收集整理的这篇文章主要介绍了如何判断用户是否非正常离开聊天室?,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
total = application("AllPEople")
' 聊天总人数.
aryHuman = splIT(total,";")
for i = lbound(aryHuman) to ubound(aryHuman) - 1
if application("user" & i) = "online" then
if int(timer) - int(application("TimeBegin" & i)) > 120 then
application("user" & i) = ""
temp = aryHuman(i)
aryName = split(temp,",")
hrefname = aryName(0)
for j = lbound(aryHuman) to ubound(aryHuman) - 1
if application("user" & j) = "online" then
application("content" & j) = "<FONT color=#000000>〖精彩春风之聊天室的系统公告〗"&hrefname&"</FONT>" &"<font color=#F08000 >"& "掉线了..." & "</font><font color = #000000 class=p9>" & " <" & time() & "></font><br>" & application
("content" & j)
end if
next
end if
end if
next
[1]
以上是脚本宝典为你收集整理的如何判断用户是否非正常离开聊天室?全部内容,希望文章能够帮你解决如何判断用户是否非正常离开聊天室?所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。