All pastes #466638 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-01 02:51 UTC
rendered paste body
alias goaway { 
  set %away $1-
  set %awaytime $ctime
  set %awayreason $1-
  away $1-
  amsg [[AWAY]]: I am away at $time for reason: %awayreason $+ . If you need me, please /ms send $me MESSAGE.
}

alias comeback {
  set %away off
  if (%away == $null) { notice $me You aren't away, idiot! | halt }
  else {
    away 
    amsg [[BACK]]: I am now back from: %awayreason $+ . I was gone for $duration($calc($ctime - %awaytime))
    unsetall
  }
}