I haven't much time this weekend to do a proper implementation from scratch but might I suggest you study script 87 in King's Quest 1?
Alternatively, there's the Easy Way Out where you just use a Print statement, with perhaps an #at to put it into position. Middle difficulty, you create the dialog yourself instead of letting Print handle it.