$ltimer: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Doomie (talk | contribs)
No edit summary
Doomie (talk | contribs)
No edit summary
 
Line 9: Line 9:
This alias will at first create a new timer called ''foo'' and then echo the name of the last created time to the active window. This is of course ''foo''.
This alias will at first create a new timer called ''foo'' and then echo the name of the last created time to the active window. This is of course ''foo''.


[[Category:Timer]]
[[Category:Timer Commands and Identifiers]]

Latest revision as of 23:15, 27 November 2005

Returns the number or name of the last timer that was started.

$ltimer

Example

alias timertest {
 timerfoo 1 10 { echo -a moo }
 echo -a $ltimer
}

This alias will at first create a new timer called foo and then echo the name of the last created time to the active window. This is of course foo.