Running the following statements in the Command window will cause a message to be displayed once, 5 seconds after timer the is enabled:

t = new Timer()

t.onTimer = {; ? "Ding!"; this.enabled = false}

t.interval = 5

t.enabled = true