Little away without dialog

By [DX] on Jan 06, 2008

Use /away

Check if you are away and going back you from away..
If u are not away, asking you why are you going away and post info about it..

SIMPLE!!

alias away {
  if ($away) {
    ame -- [Away Message System] -- Since: %away.time -- Away Time Duration: $duration($awaytime) -- Motivation: $awaymsg 
    away
    unset %away.time
  }
  else {
    var %away.reason $?="Away Razlog"
    set %away.time $time
    away %away.reason    
    ame -- [Away Message System] -- Motivation: %away.reason 
  }
}

Comments

Sign in to comment.
[DX]   -  Jan 09, 2008

those are separated aliases ;)
but I think that\'s mine solution better and simplier

 Respond  
G13AoUsTiS   -  Jan 07, 2008
 alias away {
if ($away == $true) { .echo -a * Your Are Already Away }
else { 
var %away.reason $?=\"Away Razlog\"
    set %away.time $time
    away %away.reason    
    ame -- [Away Message System] -- Motivation: %away.reason 
  }
}

alias back {
if ($away == $true) {
ame -- [Away Message System] -- Since: %away.time -- Away Time Duration: $duration($awaytime) -- Motivation: $awaymsg 
    away
    unset %away.time
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.