Here is the problem with the player typing the info. scancodekeypressed condition only scans for individual keypress on the keyboard by waiting for asci code to be received.
Their for to type in a correct answer instead of a choice would take the script to wait for multiple scancodekeypressed to be recieve in the proper order. What do you do for people who cant spell.
It could be done but would take a bit of scipting to be accomplished and might be rather laggy in response to the players keypresses, especially if this was a large level or had a lot of scripts in it.
Take this piece of code for an example Written by Mr Game a while back. It is looking for 6 number combo to open a lock.
;Artificial Intelligence Script
;by MrGame
;
;Header
desc = sundial puzzle (secret passage)
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\huds\spin.dds,hudname=usedoorprompt,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=60:hudshow=usedoorprompt,hudfadeout=usedoorprompt,state=2
:state=2:state=50
:state=50:state=2
:state=2,plrdistwithin=50,scancodekeypressed=25:state=3,sound=audiobank\spin.ogg,rotatey=15
:state=2,plrdistwithin=50,scancodekeypressed=24:state=19,sound=audiobank\spin.ogg,rotatey=-15
:state=3:state=4
:state=4,scancodekeypressed=25:state=3
:state=4:state=5
:state=5,plrdistwithin=50,scancodekeypressed=25:state=6,sound=audiobank\spin.ogg,rotatey=15
:state=5,plrdistwithin=50,scancodekeypressed=24:state=19,sound=audiobank\spin.ogg,rotatey=-15
:state=6:state=7
:state=7,scancodekeypressed=25:state=6
:state=7:state=8
:state=8,plrdistwithin=50,scancodekeypressed=25:state=9,sound=audiobank\spin.ogg,rotatey=15
:state=8,plrdistwithin=50,scancodekeypressed=24:state=19,sound=audiobank\spin.ogg,rotatey=-15
:state=9:state=10
:state=10,scancodekeypressed=25:state=9
:state=10:state=11
:state=11,plrdistwithin=50,scancodekeypressed=25:state=19,sound=audiobank\spin.ogg,rotatey=15
:state=11,plrdistwithin=50,scancodekeypressed=24:state=12,sound=audiobank\spin.ogg,rotatey=-15
:state=12:state=13
:state=13,scancodekeypressed=24:state=12
:state=13:state=14
:state=14,plrdistwithin=50,scancodekeypressed=25:state=19,sound=audiobank\spin.ogg,rotatey=15
:state=14,plrdistwithin=50,scancodekeypressed=24:state=15,sound=audiobank\spin.ogg,rotatey=-15
:state=15:state=16
:state=16,scancodekeypressed=24:state=15
:state=16:state=17
:state=17,plrdistwithin=50,scancodekeypressed=25:state=19,sound=audiobank\spin.ogg,rotatey=15
:state=17,plrdistwithin=50,scancodekeypressed=24:state=18,sound=audiobank\spin.ogg,rotatey=-15
:state=18:activateifused=1,state=20
:state=19:state=2
;End of Script
Once the code is entered in the right order then the code is unlocked.
The results where to make an object spin back and forth to simulate a lock beng open.
Not impossible, but will take a bit of work to get it going and working. Take the script I started with and keep adding the scancodekeypress looking for the right letters you desire.
There is not a condition that looks for a wrong scancodekeypress, so you will have to come up with a way to deal with wrong choices made in the specific order that you want the player to type in.
Looks like you will have to learn scripting sooner then you expected. But when you complete it, then you will be armed with an invaluable tool for enhancing your games capabilities.
I will keep looking at this thread to see if I can help down the road.