Phil, you like to hug yourself too? :P Add a ! prefix to the join event to negate that occurrence. Also, you can make the group enable and disable into one switch. Toggle it once to turn it on and off depending on whether it's on or off:
#jhugs on
on !*:join:#:{
inc %jhugs
describe # hugs $nick 9,6(Total Hugs:8,6 %jhugs $+ 9,6 $+ )
}
#jhugs end
menu channel {
.. --Join Hugs--
.Switch {
$+($iif($group(#jhugs) != off,.dis,.en),able) #jhugs
echo -a Hugs on Join $+($replace($group(#jhugs),on,Ac,off,Deac),tivated.)
}
}
I like to play crosswords so don't mind me if I connect those words in fragments. lol