In this example, usergroups 2 and 26 can see the spell button:
Code:
<if condition="$bbuserinfo[usergroupid] == 2 OR $bbuserinfo[usergroupid] == 26">
<if condition="DOTOOLBAR!=2">
<input type="hidden" name="toolbar" value="1" />
<input type="button" class="button" name="spellcheck" value="SpellCheck" accesskey="c" tabindex="1" onclick="openspell('1');"/>
<else />
<input type="hidden" name="toolbar" value="2" />
<input type="button" class="button" name="spellcheck" value="SpellCheck" accesskey="c" tabindex="1" onclick="openspell('2');"/>
</if>
</if>