on *:text:afk*:#:{ inc %afk [ $+ [ $nick ] ] { notice $chan $nick is now afk, $nick has used %afk [ $+ [ $nick ] ] times. } } on *:text:back:#:{ notice $chan $nick is now back from being afk. }