Here\'s the other raw events that you missed. I know there\'s more. =): if ($numeric == 305) { echo -a 12You are no longer marked as being Away | halt } if ($numeric == 306) { echo -a 10You have been marked as being Away -[7 $+ $awaymsg $+ ]- | halt } if ($numeric == 330) { echo -a 7 $+ $2 is logged in as $3 | halt }