首页 > 互联资讯 > 技术交流  > 

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

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

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) = "
〖精彩春风之聊天室的系统公告〗"&hrefname&"" &""& "掉线了..." & "" & " <" & time() & ">
" & application
("content" & j)
end if
next
end if
end if
next

[1]

如何判断用户是否非正常离开聊天室?由讯客互联技术交流栏目发布,感谢您对讯客互联的认可,以及对我们原创作品以及文章的青睐,非常欢迎各位朋友分享到个人网站或者朋友圈,但转载请说明文章出处“如何判断用户是否非正常离开聊天室?