页面导航: 首页网络编程编程10000问 → 正文内容

如何判断用户是否非正常离开聊天室?

发布:dxy 字体:[增加 减小] 类型:转载

如何判断用户是否非正常离开聊天室?

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]

浏览次数:载入中... 打印本文关闭本文文章来源
·在百度中搜索关于“如何判断用户是否非正常离开聊天室?”相关内容
·在谷歌中搜索关于“如何判断用户是否非正常离开聊天室?”相关内容

文章评论

共有 位脚本之家网友发表了评论我来说两句

同 类 文 章
最 近 更 新
热 点 排 行