You want to hook the 'caction' event, which is for CTCP ACTION. Check the sub on_ctcp_action in PerlbotCore.pm for an example. (This is the code that logs actions to your logfiles. Pretty much the same idea as the 'public' handler that logs public text.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,.. I'm rather new to perl, and more so perlbot,.. and i havent been able to find a way to make this beast respond to actions, the /me command.
if there a hook for this? or can one be easily made? or maybe a feature request for down the road =)
Thanks.
You want to hook the 'caction' event, which is for CTCP ACTION. Check the sub on_ctcp_action in PerlbotCore.pm for an example. (This is the code that logs actions to your logfiles. Pretty much the same idea as the 'public' handler that logs public text.)
sweet, thanks a lot =)
im faced with my own stupidity and finaly got it to work =)
thanks a million!
-Shawn