in reply to using Net::IRC for actions

prefix and suffix the action text with \001.

UPDATE: As far as I can tell/recall ACTION is not in the IRC RFC (or the addendum), but rather the CTCP specification.

Replies are listed 'Best First'.
Re^2: using Net::IRC for actions
by Anonymous Monk on May 03, 2005 at 00:47 UTC
    Sorry, do you mean elsif ($text =~ m/\001slaps\001/i)? I tried that as the regex and it didn't change anything.

      No, that's wrong. According to the CTCP Specification, correct is:

      $text =~ m/^\001ACTION slaps Wizard\001$/

      --Ingo