<vb:if condition="$post[postcount] % $vboptions[maxposts] ==1 AND $post['islastshown']">MY CODE </vb:if>