I have no idea where the codesnippet went.
I'll try again in plain text then.
--------------------------------------
;Artificial Intelligence Script
;Header
desc = NPC Talk Script
;Triggers
:state=0:hudreset,hudx=50,hudy=80,hudimagefine=conversation\message_1.tga,hudname=Greet,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=80,hudimagefine=conversation\message_2.tga,hudname=LoopMsg,hudhide=1,hudmake=display
:state=1:state=10
:state=5,plrdistfurther=65:state=20
:state=10,plrdistwithin=60:waypointstop,rotatetoplr,hudshow=Greet,timerstart,state=11
:state=11,timergreater=3000:hudfadeout=Greet,state=5
:state=11,plrdistfurther=65:hudfadeout=Greet,state=5
:state=20,plrdistwithin=60:waypointstop,rotatetoplr,hudshow=LoopMsg,timerstart,state=21
:state=21,timergreater=3000:hudfadeout=LoopMsg,state=5
:state=21,plrdistfurther=65:hudfadeout=LoopMsg,state=5
;End of Script