you could use the following
Code:
#Stop and go message
text_go=vizinfo.add('GO')
text_go.translate(.5, .9)
def stopSign():
text_go.message('STOP')
vizact.ontimer2(1,0, text_go.message,'GO')
vizact.ontimer(10,stopSign)
your first example uses viz.waittime but its not in a director function