That IS WCF built-in code.
No, you got the syntax slightly off by closing the if-block prematurely. Putting it together you'd get:
Code{assign var=groupIDs value= "1"|explode} {if $__wcf->getUser()->getGroupIDs()|in_array:$groupIDs} You're seeing this because you're a member of a particular usergroup {else} Nope :( {/if}
You only need to assign once to fetch the values, there is no point in repeating it.
Sadly this is not working. I wrapped the whole template usersOnlineList .... No change.