All pastes #709285 Raw Edit

Away/Come-Back Script for Sp33d_

public text v1 · immutable
#709285 ·published 2007-09-24 15:17 UTC
rendered paste body
alias away {
  if (%away == yes) { .echo Your already away! | halt }
  if ($1 == $null) { .ame is now away! Reason: None set | set %away yes | set %awr none | halt }
  else { .ame is now away! Reason: $1- $+ ! | set %away yes | set %awr $1- }
}
alias cb {
  if (%away == $null) { .echo You can't come back if your not away! | halt }
  if (%awr == $null) { .ame is now back! | unset %away | unset %awr | halt }
  else { .ame is now back from %awr $+ ! | unset %away | unset %awr | halt }
}