Public feed #598720

Miscellany

public text v1 · immutable
Raw Edit
·published 2007-07-01 16:09 UTC
rendered paste body
; Start of Alias, put the code below in your alias window (alt+r, alias tab) after changing AWAYNICKNAME in line 8

away {
  if ( %status == away ) { $null }
  else { set %status away
    set %awayreason $1-
    set %awaytime $asctime(hh:nn:ss)
    nick AWAYNICKNAME
    ame is away ( %awayreason )
  }
}

back {
  if ( %status == present ) { $null }
  else { set %status present
    nick PRESENTNICKNAME
    ame has been away since %awaytime but has returned from ( %awayreason )
  }
}

; End of Alias

; Start of Remote, put the below code in your Remote (Alt+r, tab remote)

on *:TEXT:*:?:{
  if ( %status == away ) {
    if ( %spamcheck == 0 ) {
      msg $nick I am currently Away from the computer
      timer 7 1 /dec -N %spamcheck 1
      timer 1 8 /inc -N %spamcheck 7
    }
    else { $null }
  }
  else { $null }
}

;end of Remote