show ads for unregistered users

#1
Hello. Is there a simple way to add html/javascript advertisement to a template based on usergroup? Something like:

Code:
if usergroup=2,3 in forum=8,9 show
 
<google adsense code>
 
end if
Does anyone know if this is possible? Thanks.
 
Top