求助 一小段vbs代码
public n,num,ref
n=0
num="1"
ref=1
sub init
on error resume next
parent.window.focus
setinterval "receive",15000
setinterval "flesh",150000
setinterval "if ref=0 then flesh",1200000
if "guest"="guest" then window.open "welcome.asp","","toolbar=no,width=340,height=200"
end sub
sub receive
on error resume next
if document.forms(0).reftm.value="1" then
document.forms(0).refmenu.value="0"
n=n+1
parent.app13_ft1.window.location="reflesh.asp?n="&n
end if
end sub
sub flesh
on error resume next
if num<>document.forms(0).online_num.value and document.forms(0).refmenu.value="1" then
ref=1
num=document.forms(0).online_num.value
if document.agent.document.forms(0).msgnum.value="0" then document.agent.window.location.reload
if document.friend.document.forms(0).msgnum.value="0" then document.friend.window.location.reload
if document.ollist.document.forms(0).msgnum.value="0" then
document.forms(0).reftm.value="0"
document.ollist.window.location.reload
end if
else
ref=0
end if
end sub
setinterval 是什么意思,搜索也没有
n=0
num="1"
ref=1
sub init
on error resume next
parent.window.focus
setinterval "receive",15000
setinterval "flesh",150000
setinterval "if ref=0 then flesh",1200000
if "guest"="guest" then window.open "welcome.asp","","toolbar=no,width=340,height=200"
end sub
sub receive
on error resume next
if document.forms(0).reftm.value="1" then
document.forms(0).refmenu.value="0"
n=n+1
parent.app13_ft1.window.location="reflesh.asp?n="&n
end if
end sub
sub flesh
on error resume next
if num<>document.forms(0).online_num.value and document.forms(0).refmenu.value="1" then
ref=1
num=document.forms(0).online_num.value
if document.agent.document.forms(0).msgnum.value="0" then document.agent.window.location.reload
if document.friend.document.forms(0).msgnum.value="0" then document.friend.window.location.reload
if document.ollist.document.forms(0).msgnum.value="0" then
document.forms(0).reftm.value="0"
document.ollist.window.location.reload
end if
else
ref=0
end if
end sub
setinterval 是什么意思,搜索也没有
...全文
相关推荐
vbs蓝屏代码用vbs做的蓝屏代码
vbs的蓝屏代码,不要乱试,否则后果自己负责哦,希望大家喜欢,有什么好的vbs的教程也可以推荐一下。另存为后缀名为vbs就可运行。
VBS整人代码大全
VBS也可以用来整人?对,可以。不爽时用此代码做成一个小程序,让对方运行
VBS整人代码(绝对可行,菜鸟也能玩)
里面纯代码,只需要将记事本输入代码,后面的.txt改成.vbs即可
vbs表白代码
抖音爆火vbs表白代码,亲测可用,含if-else选择语句,do-loop循环语句,inputbox()输入函数,功能较多,仅需修改文字即可使用。
vbs整人代码
vbs整人代码,内附破解程序,可以发给朋友娱乐哦,想自己改的话把vbs后缀名改成txt即可


