Thread: Timeout Cancel
View Single Post
  #11  
Old 04-21-2002, 10:19 PM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
umm

you can cancel at time out like this:


if (timeout) {
if (clause) {this.timeagain = 0; sleep .1;
}

if (this.timeagain>0) {timeout = .1;
}
}

sleep will terminate a timeout until another command calls it. Or atleast it used to . It should work, because for me, sleep nulls timeout if I don't call timeout again.
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote