Away System
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 3.0 |
| Scores Submitted | 1 |
| Date Added | Jul 22, 2008 |
| Last Updated | Aug 03, 2008 |
| Tags | away |
|
|
Introduction
mIRC Snippet:
Away System
Posted on Jul 22, 2008 11:05 am
Posted on Jul 22, 2008 11:05 am
i hope this script dont upset you guys thought i would pst it i know its really really short but it is a little useful
mIRC Snippet:
Away System
Posted on Jul 22, 2008 11:56 am
Posted on Jul 22, 2008 11:56 am
Keep in mind, you don't need to use /'s inside of scripts.
Also if you didn't know about them check out the $awaytime and $awaymsg identifiers. Theyre very handy and could be used for instance when you come back to announce why you left and how long you were gone. $awaymsg stores the reason you set when you set yourself away or returns "User is away" if no reason was given. $awaytime returns the total amount of seconds you have been set top away so make sure you check it before you set back so it isnt null. To convert the seconds into readable time use $duration($awaytime).
Also, you forgot to unset %away when the user returns and your using two .'s in your menues when you only need one . For instance,
..-=[ Come Back ]=-:{
should be
.-=[ Come Back ]=-:{
Good luck.
Also if you didn't know about them check out the $awaytime and $awaymsg identifiers. Theyre very handy and could be used for instance when you come back to announce why you left and how long you were gone. $awaymsg stores the reason you set when you set yourself away or returns "User is away" if no reason was given. $awaytime returns the total amount of seconds you have been set top away so make sure you check it before you set back so it isnt null. To convert the seconds into readable time use $duration($awaytime).
Also, you forgot to unset %away when the user returns and your using two .'s in your menues when you only need one . For instance,
..-=[ Come Back ]=-:{
should be
.-=[ Come Back ]=-:{
Good luck.



