handles ctcp actions