Advertisement
Wikked

Simple auto-away script

Oct 30th, 2014
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.41 KB | None | 0 0
  1. on *:input:*:{
  2.   if ($away) {
  3.     away
  4.     ame Has Returned, Was Gone For: $duration($calc($ctime - %awaytime )) - (Reason: Auto A-F-K After 30 minutes..)
  5.     unset %awaytime. [ $+ [ $network ] ]
  6.   }
  7. }
  8. on *:ping:{
  9.   if ($idle >= 1800 && !$away) {
  10.     set %awaytime. [ $+ [ $network ] ] $ctime
  11.     away Auto A-F-K After 30 minutes..
  12.     ame Has Gone Away... - (Reason: Auto A-F-K After 30 minutes..)
  13.   }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement