Is this still the correct way to load a script to guests only?
Sorry to wake up an old thread, but i need to know. Thanks in advance
{{if !\IPS\Member::loggedIn()->inGroup(array(4,6,7))}}
<script type="text/javascript" src="script.js"></script>
{{endif}}