I wouldn't remember all the commands off the top of my head...but here goes :
:state=0:movefore=3,state=1
:state=1:moveback=3,state=2
or, if you want it timed:
:state=0:timerstart,movefore=1,state=1
:state=1,timerlessthan=3000:movefore=1,state=1
:state=1,timergreaterthan=3000:timerstart,moveback=1,state=2
:state=2,timerlessthan=3000:moveback=1,state=2
:state=2,timergreaterthan=3000:state=3
I am not really sure about the movefore and moveback commands, but I remember something like that being there.
Hope this helps
-filya
-- game dev is fun...but taking up too much time --