Inquisit Language Reference
This function sends messages to the Inquisit output window during the execution of the script.
The following writes the count of a given trial to the Output Window:
/ ontrialend= [script.debugtrace(trial.sometrial.count);]
The following writes a message to the Output Window when percent correct drops below 50:
/ ontrialend= [if ( trial.sometrial.percentcorrect <= 50% ) script.debugtrace("Percent correct below 50, currently at <% trial.sometrial.percentcorrect %>");]