View Full Version : Something happening after allocated time

07-06-2002, 01:27 PM
how would I go about putting in code that does something when the saber is turned off for 3 seconds

I know it's an if command, but where do I put it?

07-20-2002, 03:09 PM
this might make me look like a jackass, but here goes...

while (saber=off)
count 3 consecutive seconds with saber off
if (saber=off & 3 seconds elapsed)
do what you want to happen

if that doesnt make any sense and/or is inefficient/wrong, im sorry, its 1 am my evening was spent unloading fedex trucks and i got a coupla 151/cokes in me

07-26-2002, 12:55 AM
lol, nah that should be fine

thanks :D