Group: Forum Members
Posts: 38,
Visits: 190
|
Hello, I found an old script that did this like so
<parameters> / id = 0 </parameters>
<values> / id_selected = 0 </values>
<batch select> / file = "pracprac.iqx" / file = "1.2_5d62ecf0163.iqx" / file = "1.2_5e0fe5cc2fc.iqx" / file = "1.2_5ca616e03.iqx" / file = "1.2_5923e1de6944f.iqx" / file = "1.2_5f47f430ebf.iqx" / file = "1.2_5c3fa8e18c.iqx" / file = "1.2_5feb9213e14.iqx" / file = "1.2_59f110d1be.iqx" / file = "1.2_5efb35574b.iqx" / file = "1.2_59daaf5de5.iqx" / file = "1.2_5e23164bff2.iqx"
/ onscriptend = [ if (batch.select.currentscript == "pracprac.iqx") { parameters.id = values.id_selected; } ] </batch>
but Inquisit says my /onexptbegin = [ if (parameters.id != 1) script.abort(false) is an invalid identifier.
|