I'm interested in making autoinstructural material that responds to user input differently depending on the user's competency level (appears to be on the right track, and makes few mistakes , vs. appears to generally doing well, but makes many mistakes, vs. seems to be in over his/her head and rather lost), and the seriousness of the error (simple typo, vs. intelligent guess but shows a lack of insight, vs. wild guess). Depending on those two measures, the user would be directed differently, e.g., user might see, "Wrong. Try again." or, "You are being sent back to program step 123. Check your understanding of "integer." or, "You are being returned to the top of this chapter. Perhaps you need to take notes on some of the basic concepts explained there."
To do this, I need one array that goes with the user's identity information and records how far through the lesson s/he was when quitting last time, his/her general level of competency, etc. and another array that lists each step in the lesson and where to go next depending on whether the user response was correct, almost correct, shows a need to go through the last few steps before this one, or needs to do substantial review.
I hope to be able to produce a version of the auto-instructional language called PILOT. It was good but severely limited (in the days before the Internet) by being unable to show graphics, and being limited to integer math only.
Are there plugins that can at least make and read arrays, or other already existing features of DokuWiki that might help me get some experience?