Menu

action support (/me command)

Help
2000-08-03
2000-08-06
  • Shawn A. Wilson

    Shawn A. Wilson - 2000-08-03

    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.

     
    • Jeremy Muhlich

      Jeremy Muhlich - 2000-08-06

      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.)

       
      • Shawn A. Wilson

        Shawn A. Wilson - 2000-08-06

        sweet, thanks a lot =)
        im faced with my own stupidity and finaly got it to work =)

        thanks a million!

        -Shawn

         

Log in to post a comment.