Away/Auto away system

By blackvenomm666 on Aug 23, 2011

This is a simple away system that also has an auto away feature to it. Open a new remote put in there save it. Then right click in the nicklist and go to tools then away system. In the away system area you will see lots of settings the first things you want to do are A. go down and click set your away nick. put the nick you want in the box that pops up for your away nick then click ok. B. go back into the away system settings go to set normal nick. this is where you add what your normal nickname is. C. at the top click on set check. this option is to set how often you want it to check your idletime and see if you are at the set ammount of idletime. D. go back into the away system and go to set awaytime. this option is to set how long you must be idle before the auto away kicks in. ok after all thats done you still have one more option to choose before turning it on. you can choose set for active server which means it will only work for that server. or set for all servers which means it will work on all servers you are on. As of right now if you choose active server. it will only work on one server at a time so once its set for that active server you cannot do others. Now after your away when you want to come back just do /back it will automatically bring you back on all servers you are away on. you can also do /multaway reasonhere which will make you go away on all the servers you are on. if you use the /backit command it will only bring you back on the server you use it on

Menu Menubar,Nicklist,Channel {
  Tools
  .Away system
  ..set check: { .set %awaycheck $$?="This is how often you want the timer to check and see if your idle time exceeds the set time enter time in minutes 1 2 3 4 etcetc" }
  ..$iif($group(#autoaway) == On,$style(2)) autoaway on: { .enable #autoaway | .timergoaway 0 $calc(%awaycheck * 60) goaway } 
  ..$iif($group(#autoaway) == Off,$style(2)) autoaway off: { .disable #autoaway | .timergoaway off }
  ..set awaytime: { .set %awaytime $$?="How long do you want to be idle before auto away kicks in" }
  ..set for active server: { .set %oneserver yes }
  ..set for all servers: { .set %oneserver no } 
  ..set awaynick: { .set %awaynick $$?="What do you want your away nickname to be" }
  ..set normalnick { .set %normalnick $$?="What is your normal nickname" }
}
#autoaway on
alias goaway {
  if (%oneserver == yes) && ($away == $false) && ($idle >= $calc(%awaytime * 60)) {
    .away auto away after %awaytime minutes
    .nick %awaynick
  }
  elseif (%oneserver == no)  {
    var %tot = $scon(0), %curr = 1
    while (%curr <= %tot) {
      if ($scon(%curr).server.away == $false) && ($scon(%curr).server.idle >= $calc(%awaytime * 60)) {
        $scon(%curr).server.awayit        
      }
      inc %curr
    }
  }
}
alias awayit {
  .away auto away after %awaytime minutes
  .nick %awaynick
  .amsg auto away after %awaytime minutes
}
#autoway end
alias multaway {
  scid -a .away $1-
  scid -a .nick %awaynick
}

alias back {
  var %tot = $scon(0), %curr = 1
  while (%curr <= %tot) {
    if ($scon(%curr).server.away == $true) {
      $scon(%curr).server.backit        
    }
    inc %curr
  }
}
alias backit {
  .away
  .nick %normalnick
}

Comments

Sign in to comment.
Warriorii   -  Mar 16, 2012

The same thing happen to me, sometimes it would work just fine and other times it wouldn't work. thats a shame because i really like the program itself. I didnt try it on just one network but on 2 networks. it might work great on just one network.

More
 Respond  
zelf0r   -  Sep 12, 2011

fishy pie?

More
 Respond  
D34th   -  Sep 12, 2011

I LIKE PIE :D

More
 Respond  
blackvenomm666   -  Sep 12, 2011

.< i keel you buddy. you and i both know i didnt rip anything tyvm. hmmph make something YOU request then i get this crap

More
 Respond  
zelf0r   -  Sep 12, 2011

How long did it take you to rip this profesionaly?

More
 Respond  
blackvenomm666   -  Aug 24, 2011

umm i've been using it for like 2 days now and it works fine for me

More
 Respond  
naramsin   -  Aug 24, 2011

work as stated. BUT, is it just me or anyone? Sometime this script it did not responding and sometime it works just fine. If this just me, i might need to reinstall mirc.

More
 Respond  
AmytiX   -  Aug 23, 2011

nice one !

More
 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.