Great bekar $group(#groupname) was what I was after.

Maybe you (or anybody else) wants to help with my other question? I've an event script right and I want to be able to turn off some features of it like

on *:join:#:{
#test on
some event stuff here
#test off
if (etc etc.. <- rest of the event script
when i do something like this it returns an error. Is there any way to do this or will I just have to make the event twice and enclose it in different group names so if one is enabled the other is desabled and vice versa?