<vb:if condition="THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'login' AND THIS_SCRIPT != 'someotherscript'"> my code here </vb:if>