Jethro commented on a Page, Hug on join  -  Feb 09, 2011

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

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.