The last child? Maybe something like this:
PHP Code:
global $forum_counter;
$show['forumbit_ad'] = false;
if ($depth == 1)
$forum_counter = 0;
else if ($depth == 2)
$show['forumbit_ad'] = !(++$forum_counter % 4);
$children = array_values($vbulletin->iforumcache["$parentid"]);
$show['last_child_forum'] = (end($children) == $forumid);
Then in the template
Code:
<vb:if condition="$show['last_child_forum']">LAST</vb:if>