Listener Countdown Remaining (Expression) — skLambda
Addon: skLambda · Category: Expression · Since: 0.0.2-alpha
Syntax
[the] remaining countdownDescription
How much time is left before a listener's countdown fires `on timeout`. Forms: - `remaining countdown` (no operand) only works inside an `on trigger` block. - `countdown of %listener%` and `%listener%'s countdown` work anywhere. Adding or removing time reschedules the pending timeout so `on timeout` fires at the new instant.
Examples
listen for damage:
countdown: 30 seconds
on trigger:
send "time left: %remaining countdown%" to victim
add 10 seconds to {shield}'s countdown
set countdown of {shield} to 1 minute