Very Simple Away/AFK Script

By MattW on Apr 26, 2012

A simple script which uses ame to broadcast to all channels your in that your away. Try it out, useage is /afk reason and /ImBack . Most useful for clients or main installations not useful on Bots or inactive mIRC installations. Please report any bugs either in Comments section or email me matt112234@gmail.com, You are free to publish any issues in my Channel on GeekShed #matt irc.geekshed.net and If I'm around I will see to it immediately

alias AFK { 
   set %away $1-
   ame is Away %away1
   away %away1
  }

alias ImBack {
   ame is back from being Away %away1
   unset %away1
   away
}

Comments

Sign in to comment.
newbie28   -  Apr 29, 2012

@Jethro for mirc 7.22 no you mean :( . Please Make a script @Jethro :D

 Respond  
kiri   -  Apr 28, 2012

Yes it is gouts and colors of people that :p
Later I go to the simplest not need of x alias for the same function in the end ^^

 Respond  
napa182   -  Apr 27, 2012

kiri, if I understand you right... yes you can just use one alias to do this.
as an example:

alias AFK { 
  if (!$away) {
    ame is Away $iif(!$1,Gone,$1-)
   .away $iif(!$1,Gone,$1-)
  }  
  else {
    ame is back from being Away - $awaymsg
    .away
  }
}

I personally find no real use for an away snippet to be honest, but a-lot of people like to use them so to each their own.
anyways it's just one more way of learning msl.
So keep trying an never stop learning.....

 Respond  
Jethro   -  Apr 27, 2012

Aha2Y and newbie28, you don't have to use any snippet. mIRC has an in-built box where you can input a quit message of your choice under mIRC Options -> IRC -> Quit message

 Respond  
kiri   -  Apr 27, 2012

I do not see much use for over two aliases $away you can see if when you throw our alias you are away or not and act accordingly

 Respond  
Jordyk19   -  Apr 27, 2012
on *:quit:{ if ($nick == $me) { quit <Quit MSG> } } 

:P

 Respond  
newbie28   -  Apr 26, 2012

is there a script that could make me quit reason

 Respond  
napa182   -  Apr 26, 2012

it's no big deal Nos it's just thats how people learn to do msl. so don't think i am slamming you...

 Respond  
Nos   -  Apr 26, 2012

ouh :P

 Respond  
napa182   -  Apr 26, 2012

Nos almost everyone has done a version of an away an back snippet. so no it's not creative. Why try an slam this person?

Nos ur version has been done before as well years ago....

 Respond  
Nos   -  Apr 26, 2012

not creative

 Respond  
Nos   -  Apr 26, 2012

I think this post just as I posted yesterday
http://www.hawkee.com/snippet/9454/

 Respond  
napa182   -  Apr 26, 2012

I just don't see the point in using a global var in something like this. Look into $awaymsg instead of using a global var. An yes away messages are annoying.

alias AFK { 
  ame is Away $iif(!$1,Gone,$1-)
  away $iif(!$1,Gone,$1-)
}  
alias ImBack {
  ame is back from being Away - $awaymsg
  away
}
 Respond  
Sorasyn   -  Apr 26, 2012

Aha2y has a point, but you can manage such channels manually through a regulated "amsg" alias or within the away snippet itself. A relatively simple snippet that would track any blacklisted channels and bypass it accordingly.

 Respond  
Jordyk19   -  Apr 26, 2012

It can be very annoying for others to see your away/back spam in channels. And since its a Automatic you don't have control of where it will be send to, Think about service channels.

 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.