set the script_text to the script_text & "else if " & condition_variable & space & chosen_operator & space & (item i of the list_items) & " then" & return & tab & "-- item " & (i as string) & " action goes here" & return & "end if"