AWAY script v2.0

By pwnisher3 on Aug 03, 2008

ok here is my away script. just paste into remotes right click in chat screen (the area where all of your words go on input) set your away and back. enjoy

menu * { 
  - 
  away 
  .away 
  ..set away: set %Awayreason $$?="Enter Away Reason" | .scon -at1 displayaway | set %awaytime $ctime 
  ..Set Back: .scon -at1 displayback 
} 
alias displayaway { 
  set %nick $me 
  amsg 11,12(is now AFK1,12) 11,12(Reason: %AwayReason 1,12) 11,12(pm me if you need me1,12) 
  /nick %nick $+ [AFK] 
  away %AwayReason 

} 
alias displayback { 
  amsg 9,3(I am now Back From: %AwayReason 1,3) 9,3(I was away for $duration($calc($ctime - %awaytime)) 1,3) 
  /nick %nick 
  away 
} 

Comments

Sign in to comment.
pwnisher3   -  Aug 03, 2008

UPDATED

it now changes your name when you are away EX. pwnisher3 then set away chnges to pwnisher3[AFK]

any other suggestions?

 Respond  
napa182   -  Aug 03, 2008

you should look into useing $awaytime and $awaymsg
and

menu status,nicklist,query,channel { 

can be

menu * { 
 Respond  
pwnisher3   -  Aug 03, 2008

spencer i don\'t see what the difference between them is but i\'m happy cuz i finally got a script that don\'t really need improvement :P

 Respond  
Jamiie   -  Aug 03, 2008

Not a bad snippet, check out my afk script. Logs highlights also. 4/10

 Respond  
Spanky   -  Aug 03, 2008

maybe u should try
menu status,nicklist,query,channel {

  • afk
    .afk
    ..set away: set %Awayreason $$?=\"Enter Away Reason\" | set %awaytime $ctime | afk
    ..Set Back: back
    }
    alias afk {
    .scon -alt1 amsg is now AFK Reason: %AwayReason pm me if you need me
    away %AwayReason
    }
    alias back {
    .scon -alt1 amsg I am now Back From: %AwayReason I was away for $duration($calc($ctime - %awaytime))
    away
    }
    i think thats right try it let me know

 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.