simple away script

By MAcMAD on Aug 14, 2006

hit the bottuns alt + r and then add /sf12 /away.on.off in your aliases and add the script in your remotes... and to start the away script press shift + f12

alias Away.on.off {
  if ( %away == on ) {
    set %away off
    /amsg 4 Back 12Stats4 are :7 %Awayreason : 4Time to be back :7 %time 12-=*Used 5D4a5r4k 10Script*=-
    unset %time 
    .unset %awayreason
    echo Away off
    set %name $$?="What must your nick be since your back now?"
    /nick %name
  }
  else if ( %away == off ) {
    set %awayreason $$?="Your reason for being away"
    set %time $$?="At what time will you be back?"
    set %name $$?="What is your away nick?"
    /nick %name 
    /amsg 4 Away 12Stats4 are :7 %Awayreason : 4Time to be back :7 %time 12-=*Used 5D4a5r4k 10Script*=-
    set %away on
    echo Away on
    //window -da @PM-Logger
    echo @PM-Logger Away on
  }
  else Set %away off
}
on *:Text:*:?: {
  if ( %away = on ) {
    .msg $nick 4 Away 12Stats4 are :7 %Awayreason : 4Time to be back :7 %time 12-=*Used 5D4a5r4k 10Script*=-
    echo @PM-Logger ( $+ $asctime(HH:nn:ss) $+ ) $nick Pmed you and the msg was ( $1- )
  }
}

on 1:close:@PM-Logger: {
  if ( %away == on ) {
    /amsg 4 Back 12Stats4 are :7 %Awayreason : 4Time to be back :7 %time 12-=*Used 5D4a5r4k 10Script*=-
    set %name $$?="What must your nick be since your back now?"
    /nick %name
    unset %time
    unset %awayreason
    set %away off
    echo Away off
  }
}

Comments

Sign in to comment.
A*1*T*E*A*M   -  Feb 15, 2007

not bad :)

 Respond  
MAcMAD   -  Aug 14, 2006

updated

 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.