手机
当前位置:查字典教程网 >编程开发 >编程10000问 >如何判断用户是否非正常离开聊天室?
如何判断用户是否非正常离开聊天室?
摘要:如何判断用户是否非正常离开聊天室?total=application("AllPeople")'聊天总人数.aryHuman=split(t...

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

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]

【如何判断用户是否非正常离开聊天室?】相关文章:

如何实现人民币的大写转换?

如何制作K线图?

如何拒绝同一张表单被多次提交?

如何做一个只搜索本网站的引擎?

如何用数据库制作一个多用户版的计数器?

如何在ADSI中查询用户属性?

如何验证字符串是否包含有效字符?

如何制作关联的下拉菜单?

如何实时获知多少人在线?

如何对一个文件夹进行创建和删除?

精品推荐
分类导航