in reply to Re: using Net::IRC for actions
in thread using Net::IRC for actions

Sorry, do you mean elsif ($text =~ m/\001slaps\001/i)? I tried that as the regex and it didn't change anything.

Replies are listed 'Best First'.
Re^3: using Net::IRC for actions
by iblech (Friar) on May 03, 2005 at 15:48 UTC

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

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

    --Ingo