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

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

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

--Ingo