Clock

by Kaiochao
A periodically-firing event that keeps track of its own time. [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Kaiochao.Clock##version=3

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Kaiochao.Clock##version=3

196 downloads
Version 3
Date added: Jul 8 2016
Last updated: Aug 5 2016
0 fans
A periodically-firing event that keeps track of its own time.

var clock/update_clock

mob
Login()
EVENT_ADD(update_clock.OnTick, src, .proc/Update)

Del()
EVENT_REMOVE_OBJECT(update_clock.OnTick, src)
..()

proc
Update()
src << "Tick!"

Comments

Delta0Zero2: (Jul 24 2016, 6:03 pm)
Fascinating!