very simple away script

By cofvempire on Dec 10, 2010

just a simple away script, just do /aw to put you away (add reason).
and /ba to put u back
any suggestions r welcome, just b gentle to me xD

alias aw {
  set %away.reason $$?="what reason?"
  if %away.reason == $null { set %away.reason %default }
  amsg 4=> i'm afk for now 4<= why? 4=> %away.reason 4<=
  away %away.reason
  halt
}

alias ba {
    amsg 4=> i'm back 4<= from 4=> %away.reason 4<= i was gone for 4=> $Duration($awaytime) 4<=
    away
    halt
  }

Comments

Sign in to comment.
cofvempire   -  Dec 10, 2010

edited xD tnx

 Respond  
_Teen_   -  Dec 10, 2010

double bracket on

alias ba { {
 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.