on *:OPEN:?:*: { if ($away) msg $nick Sorry $nick I've been away for $+(,$duration($awaytime),) with the reason $+(,$awaymsg),) }