this is how you do it Vinney
PHP Code:
if($bbuserinfo[usergroupid] != 2) {
eval("standarderror(\"".gettemplate(" [ template name here ] ")."\");");
}
then create a new template:
and place the error message in the template call the template whatever you want (ie. error_restricted)
if you call it error_restricted then you must change eval the error template accordingly...
ie:
PHP Code:
if($bbuserinfo[usergroupid] != 2) {
eval("standarderror(\"".gettemplate("error_restricted ")."\");");
}
hope that helps again man

regards...
g-force2k2