You need to use a timer.

/help timers

and also
/help /msg