addTimer

addTimer

Synopsis: addTimer( name, inc, do, isActive )

name	: The timer's name.
	  (used by other functinos to access this timer)
inc	: Specify the amount of seconds between two
	  calls to this timer.
do	: If you give a string here, the string is sent to
	  the server.
	  If you specify a sub ref, it's executed.
isActive: The initial timer state (default = 1).
	  (see setTimerState)

Example:
	addTimer("My_Timer1", 0.5, "Hello, it's me");
	# The string "Hello, it's me" is written to the
	# server two times a second.


KDE Logo