All pastes #421488 Raw Edit

Something

public text v1 · immutable
·published 2007-04-02 21:14 UTC
rendered paste body
on *:TEXT:*Dra9*:#: {
  if ($nick == Y) { halt }
  if ($nick == X) { halt }
  if ($nick == PK) { halt }
  if ($nick == [PC]iKick) { halt }
  if ($nick == iKick) { halt }
  if ($nick == [Pc]Rspc-Security) { halt }
  { notice Dra9 $chan $time < $nick > $1- }
  if (%away == off) { halt }
  { notice $nick Gone for $duration($calc($ctime - %time),20) [ Reason - %away ] }
}

*change to your name ^^*

hi {
  if (%away == off) { halt }
  else { /ame is Back - Reason for away - %away - Gone for $duration($calc($ctime - %time),20) }
  { set %away off }
}

cya {
  /ame Gone at $time [Reason - $1-]
  { set %time $ctime }
  { set %away $1- } 
}

*put in alias ^^ and change to customize msg*