Thanks for the comment. I will have to play around with it. As the link has a link to the manual which gives descriptions of text commands and as I know not what they do or how to implement them it will be a learning curve for me to over come.
If I understand it right I will need to use tokenat(src, index, separator) to get word.
compare two variables word = answer then get random word
set text invisible
set text mid(text, index, count) 0
set global txt1 = mid(text, index, count) 0
set text invisible
set text mid(text, index, count) 1
set global txt2 = mid(text, index, count) 1
set text invisible
set text mid(text, index, count) 2
set global txt3 = mid(text, index, count) 2
on keypressed C compare global txt 1, compare global txt2, compare global txt3
if global txt = C then set Text visible
else play sorry try again.
I am sure I will have to play around with it so don't go by the code above as truth just my understanding of how it should work. from a newbies view on coding.
Thanks again for pointing me in the right direction. Jeremy C.