How to make that in 3 steps:
Step 1 - make an alias which will do what you want;
Step 2 - make on-text event for w\e you want (!deathcounter in this case) with "timer 1 $2 alias-from-step-1";
Step 3 - enjoy.


Dont give a fish - teach to fish!