Jump to content

Archived

This topic is now archived and is closed to further replies.

chain

Away Script

Recommended Posts

  • Administrators
>menu menubar,channel,status {

 $iif(%away,Return from away,Go away):/aaway $iif(!%away,$?="Reason")

}

alias /aaway {

 if (%away) {

   ame is now back - %away - gone for $duration($ctime - %time))

   away

   unset %away %time

 }

 else {

   set -e %away $iif($1,$1-,No Reason)

   set -e %time $ctime

   ame is now away - %away - left at: $asctime(hh:nn:ss TT)

   away %away

 }

}

Link to comment
Share on other sites



×
×
  • Create New...