Here, have this old TextBox code I found:
In Create Event
//this is the mssg, th '#' are new lines
message[0]="Hello World! I am Text 0!"
message[1]="Blah blah blah, I am Text 1!"
//speed
length=0;
//message id
messagen=0
alarm[0]=60 //Optional. I'd use this Alarm only if the next message will show on its own.
In Alarm[0] Event
if (length<string_length(message[messagen]))
alarm[0]=240
else
{
length=0
messagen+=1
alarm[0]=240
}
or some Key Press Event
if (length>=string_length(message[messagen]))
{
length=0
messagen+=1
}
In Draw Event
if (length<string_length(message[messagen]))
length+=0.25
draw_text(view_xview+0,view_yview+320,string_copy(message[messagen],0,length));