Hi,
Just create a file with this name, paste the content inside, and put it in your js_includes folder (it's not possible to share .js files over mail)
The relevant code in the data file is:
["practice", "DashedSentence", {s: "This is a practice sentence that can be repeated."},
"Question", {q:"Do you want to see this sentence again?", as:["No","Yes"],hasCorrect:1},
"DashedSentenceRepeat", {s: "This is a practice sentence that can be repeated."}
]
I haven't tested it extensively, and I haven't checked that the results are properly recorded. Make sure that everything works properly before using it in an experiment!
Best,
Alexandre