AvAway v1.0

By SilverWolf on Apr 21, 2005

This is a very simple away code for people who dont want them giant scripts taking up so much space.. this snippet displays time gone.. and awymsgs.. Edit if you want but please dont post another script like this with the same name..

Oh and type /avsetup to begin.. after that you will know the rest.

alias avsetup {
  /set %awnick $?="Away Nick"
  /set %dnick $mnick
  echo -a You are now ready to use AvAway2005 V1 please type /avaway to go away and /avback to come back...
}

alias avaway { 
  /away $?="Away Message"
  /ame 1$nick is now away reason: [[ $awaymsg ]]  leaving at: $time
  /nick %awnick
} 

alias avback {
  /nick %dnick
  /back
  /ame 1$nick is now back: [[ $awaymsg ]] gone for: $awaytime

}

Comments

Sign in to comment.
Yoinx   -  Apr 22, 2005

thats what the help file is for. Also, why notice the $mnick (not necessarily your current nick) instead of echoing?\"

 Respond  
SilverWolf   -  Apr 22, 2005

I used $ commands this time..

 Respond  
SilverWolf   -  Apr 22, 2005

Im not really good when it comes to $ commands really most of these commands your telling me i have really no clue what they are but ok.. i guess i could have made it better..

 Respond  
Yoinx   -  Apr 22, 2005

for default nick, I dont understand why you dont set that to $me when in your avaway alias or use $mnick (gives default Nick in the options boxes).

 Respond  
DarthReven   -  Apr 21, 2005

it also has a extra end bracket

 Respond  
xDaeMoN   -  Apr 21, 2005

The score fits the code since it lacks the main command.

 Respond  
xDaeMoN   -  Apr 21, 2005

The code is lacking the /away command. Also no need for variables when you can use $awaytime & $awaymsg.

 Respond  
supergeo   -  Apr 21, 2005

Why so low a score? This is perfect for it\'s designed purpose! People need to take some time before they vote... even if it\'s just 5 seconds... to think if the snippet accomplished it\'s goal. Raise the limit to 100 posts if people don\'t take the time to look at it and evaluate it so that we have better judgings!

 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.