Please read the KiXtart Manual for correct syntax and ways to debug scripts!
code:
IF InGroup('example')
Use J: $s+'/example' /persistent
ENDIF

_________________________
There are two types of vessels, submarines and targets.