Public feed #598731

Miscellany

public text v1 · immutable
Raw Edit
·published 2007-07-01 16:12 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 0
    nick Meka`gone
    ame is away ( %awayreason )
    timer1 0 1 /inc -N %awaytime 1
  }
}

back {
  if ( %status == present ) { $null }
  else { set %status present
    nick Mekasa
    ame has returned from %awayreason (Has been away for $duration( %awaytime ) )
  }
}

; 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 my computer.
      timer 7 1 /dec -N %spamcheck 1
      timer 1 8 /inc -N %spamcheck 7
    }
    else { $null }
  }
  else { $null }
}

;end of Remote