+xNo sorry, my solution does not work. If I remove start button this way it causes looping. If I am understanding it correctly, this is because the start button is tied to branching to forcedoption when maxsameoption met?
How do I remove START-button after trial 1 of each block without affecting the rest of the task?
<trial start> performs various functions crucial to the script working. Just look at the various things in its /ontrialbegin and /branch logic:
<trial start>
/ontrialbegin = [values.countstart += 1]
/ontrialbegin = [values.selectlightbulb_standard = 1; values.selectlightbulb_adjust = 1; values.selectbank = 1]
/ontrialbegin = [values.current_adjustamount = values.adjustamount]
/stimulusframes = [1 = start, standardbox_out, standardbox_in, lightbulb_standard, adjustbox_out, adjustbox_in, lightbulb_adjust,
standard_amount, adjust_amount, bank, total_amount]
/validresponse = (start)
/branch = [if (values.forced == 0 && values.count_consec_standard != 0 && mod(values.count_consec_standard,values.maxsameoption) == 0) {values.response = "forced_adjust"; trial.force_adjust}]
/branch = [if (values.forced == 0 && values.count_consec_adjust != 0 && mod(values.count_consec_adjust,values.maxsameoption) == 0) {values.response = "forced_standard"; trial.force_standard}]
/branch = [trial.choicephase]
/recorddata = false
</trial>
You need to *preserve* that functionality. Make a copy of <trial start> and call it <trial start2>. Edit it to look like so:
<trial start2>
/ontrialbegin = [values.countstart += 1]
/ontrialbegin = [values.selectlightbulb_standard = 1; values.selectlightbulb_adjust = 1; values.selectbank = 1]
/ontrialbegin = [values.current_adjustamount = values.adjustamount]
/stimulusframes = [1 = standardbox_out, standardbox_in, lightbulb_standard, adjustbox_out, adjustbox_in, lightbulb_adjust,
standard_amount, adjust_amount, bank, total_amount]
/validresponse = (0)
/trialduration = 10
/branch = [if (values.forced == 0 && values.count_consec_standard != 0 && mod(values.count_consec_standard,values.maxsameoption) == 0) {values.response = "forced_adjust"; trial.force_adjust}]
/branch = [if (values.forced == 0 && values.count_consec_adjust != 0 && mod(values.count_consec_adjust,values.maxsameoption) == 0) {values.response = "forced_standard"; trial.force_standard}]
/branch = [trial.choicephase]
/recorddata = false
</trial>
Then adjust the various /branch attributes throughout the script to branch to trial.start2 instead of trial.start.