I've been trying that, and it doesn't seem to work. It's getting the data from a $did(4).seltext.
Code:
$iif($did(14).state == 1, writeini scripts/ACGuide.ini $("$did(201).seltext") Gotten Yes)
Wherein 201 is a list of items. 14 is a checkbox, so when you click on the item in 201 and check the box, it is written in the INI file that you have collected the item. The problem occurs when the title of the item is two words - I've been using two words because for reading purposes, it makes more sense for it to be displayed as "Red chair," and not "Redchair."