Navigation: Form Commands > $IF
$If - Question|Answer|Interaction(attachments)
$if -q/a/int(attachments)$ -- True if the interaction has attachments. Can be used inside a $repeat that has an interaction context, or outside of $repeat using -Pid to specify an interaction ID.