The syntax is the same as the $if command. There are no other variants corresponding to the different types of 'if' command.
$if @code = 1
$next_box good ; transfer to good.iif
$elseif @code = 2
$next_box maybe ; transfer to maybe.iif
$next box bad ; transfer to bad.iif