Jethro commented on a Page, mIRC [hug]script  -  Aug 31, 2011

chachin. Here is it:

on $*:action:$(/(^| )(hu(g|ggle)s?) \Q $+ $replacecs($me,\E,\E\\E\Q) $+ \E( |$)/iS):*:{
  .ignore -cpu3 $nick 2 | var %2 = $regml(2)
  .describe $iif(#,#,$nick) $iif(s !isin $right(%2,1),$+(%2,s),%2) $nick
}

When a person hugs you, the code will hug him or her back. This works for both PM and channel. There is a trigger protection from whomever hugs you every 3 seconds only.

 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.