# 
# Copyright(C) 1996, 1997 Network Flight Recorder, Inc. 
# All rights reserved. 
#       
# Use and distribution of this software and its source code 
# are governed by the terms and conditions of the 
# Network Flight Recorder Software License ("LICENSE.TXT") 
# 


filter OnTime timeout ( sec : 3, repeat ) {
    echo( $1, " What Now?\n" );
    wabi = $1;
}

filter lastTime timeout( sec: 5 ) {
    echo( $1, " LastTime...onTime is", wabi, "\n" );
    on timeout ( sec: time ) call lastTime;
    time = time + 3;
    if (time > 11) {
	echo ("Off'n ", wabi, "\n" );
	off wabi;
    }
}

time = 5;
