mIRC Away Nick

By bassrocks on Aug 13, 2016

Hi, first script I've posted on here... This script allows you to input an away nick, away msg, and turn it on/off via right click menu.

#############################################################
#      Away Global Nick Changer Created by Vladimir         #
#############################################################

on *:open:*?:{
  .msg $nick $iif($away,%amsg)
}

Menu * {
  -
  Away Functions
  .On {
    set -e %totalnets $scon(0)
    while (%totalnets > 0) {
      scon %totalnets nick %anick
      scon %totalnets away %amsg
      dec %totalnets  
    }
  }
  .Off {
    set -e %totalnets $scon(0)
    while (%totalnets > 0) {
      scon %totalnets nick %onick
      scon %totalnets away
      dec %totalnets  
    }
  }
  .Set Away Options
  ..Away Nick {
    set %anick $$?="What do you want your away nick to be?"
    set %onick $me
    echo $active Your away nick is now %anick $+ , and your original nick is now %onick $+ .
  }
  ..Away Message {
    set %amsg $$?="What do you want your away message to be when you are gone?"
    echo $active Your away message is now %amsg $+ .
  }
}   

Comments

Sign in to comment.
fahadmehar   -  Dec 02, 2016

Add Auto Away!

 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.