AME (Away Alias)

By PureBlood on Mar 04, 2006

This is a simple script for lettings users know that you are away. You will place it in your REMOTE secion of your script editor!

Below is an example of how it works:
/laterA dialog will pop up for a reason for begin away. It will then display on all channels you are on for reason being away, the time, and changes your nickname. Example: NICKNAME[Away]

/back
Will display on all channels you are back, the reason for being away, the time you left, how long you were gone, and channge your nickname back to normal. Exapmle: NICKNAME

######################
### This Script was made by Lucas (PureBlood) on irc.ewfs.net
### If you have any questions/complaint/suggestions please email
### at: rcb_flying_eagles_football05@hotmail.com
######################

alias later {
  /set %gonereason $$?="Reason for being away:" | /tnick $me $+ [Away] | /set %gonetime $time(hh:nn TT) | /ame 6is away: 12(Reason: %gonereason $+ ) (Time left: $time(hh:nn TT) $+ )
  /away %gonereason
}
alias back {
  /nick $mnick | /ame is back: 6(Reason for being away: %gonereason $+ ) (Time left: %gonetime $+ )  (Time away: $duration($awaytime) $+ ) 
  /unset %gonereason
  /unset %gonetime
  /away
}

Comments

Sign in to comment.
PureBlood   -  Mar 11, 2006

I could, thanks for the tip. Keep in mind though that i am semi new to scripting!

 Respond  
CaRe_Taker   -  Mar 06, 2006

(Reason: %gonereason $+ ) (Time left: $time(hh:nn TT) $+ ) Cant you just use %gonetime ? instead of $time(hh:nn TT) ?
you have just set the Variable
So some thin like (Time left: %gonetime $+ )

 Respond  
PureBlood   -  Mar 05, 2006

Thanks Yoinx, I will look into that! I could always use some advice!

 Respond  
Yoinx   -  Mar 04, 2006

you should look into using mirc\'s identifiers for this instead of variables.
/help $away
$away
Returns the value $true or $false depending on whether you are marked as away or not.

You can also use $awaymsg and $awaytime to return your current away settings.

 Respond  
PureBlood   -  Mar 04, 2006

Please note that this is my first time releasing any of my scripts!

 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.