From Scriptwiki
Jump to: navigation, search

Returns name of timer that triggered the current script.



alias testctimer { echo -a $ctimer }
timerfoobar 2 1 { testctimer }

In the first line of this example, we make a new alias called testctimer. The only task of this alias is to echo $ctimer to the active window. The second line makes a new timer called foobar, that will execute our just made alias testctimer 2 times with 1 second delay between.