All pastes #962891 Raw Edit

Anonymous

public text v1 · immutable
#962891 ·published 2008-03-30 02:13 UTC
rendered paste body
on $*:text:/(Vamp(y(re195)?)?|Jim)/Si:*: {
  if ($readini(awayhighlights.ini,n,highlights,$nick) == $true) && ($away == $true) { halt
  }
  elseif ($readini(awayhighlights.ini,n,highlights,$nick) == $null) && ($away == $true) {
    notice $nick I'm away:  %reason ...one time Response to highlight
    writeini awayhighlights.ini highlights $nick $true
  }
  if ($away == $true) {
    away.logwin You were highlighted in $chan by $nick $+ . Message: $1-
  }
}
alias gone { 
  set %reason $1-
  set %awayctime $ctime 
  nick Vampy|AFK
  away %reason
  ame is am now away. Reason %reason $+ . Time left: $timestamp
}
alias back {
  nick Vampyre195
  ame is am now back. Reason was: %reason $+ . Left at: $asctime(%awayctime) $+ . Been gone for: $duration($calc($ctime - %awayctime)) $+ .
  away
  remini awayhighlights.ini highlights
  unset %reason | unset %awayctime
}
alias -l Away.Logwin {
  if (!$window(@Away.Logs)) window -eknz @Away.Logs
  echo -ti2 @Away.Logs $1-