on *:action:*:*:{ if ($+(*,slap*,$me,*) iswm $1-) { if ($me == away_nickname){ do something } else { do something else } } }