|
|
Joined: Dec 2008
Posts: 1,483
Hoopy frood
|
OP
Hoopy frood
Joined: Dec 2008
Posts: 1,483 |
It will be good to add the $year identifier to return the currently year that we have! 
|
|
|
|
Joined: Aug 2004
Posts: 7,168
Hoopy frood
|
Hoopy frood
Joined: Aug 2004
Posts: 7,168 |
What's wrong with these options which already exist? 1) $asctime(yyyy) 2) $date(yyyy) 3) $time(yyyy)
|
|
|
|
Joined: Dec 2002
Posts: 1,995
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,995 |
//echo -a $time(yyyy)
alias year return $time(yyyy)
//echo -a $year
|
|
|
|
Joined: Nov 2006
Posts: 1,552
Hoopy frood
|
Hoopy frood
Joined: Nov 2006
Posts: 1,552 |
Would be a mere convenience. But why shouldn't it be one? From a minimalistic point of view, only $asctime is needed. $day can for example be made with $asctime(dddd). Yet we have $day, $time, $date, etc. - $year wouldn't hurt either. 
|
|
|
|
Joined: Dec 2008
Posts: 1,483
Hoopy frood
|
OP
Hoopy frood
Joined: Dec 2008
Posts: 1,483 |
yes but this dosen't mean something, The $day is the same but exists and it could be good to exists and the $year identifier!
e.g: //echo -s Example: $time(dddd) - $day
|
|
|
|
Joined: Oct 2003
Posts: 3,641
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,641 |
What about $month $hour $minute $second $ampm?
It's a slippery slope.
$day really stands out of the bunch you mentioned. I can't imagine $day is used by itself in scripts that often (how many times do you just need: "/msg # You came here on $day"?), whereas a default formatting for a full $time and $date is indeed useful quite often. For that reason I wouldn't group $time and $date with $day.
IMHO, I don't even really think $day is justified, so saying we should have $year because we already have $day doesn't really convince *me*, anyway. It doesn't convince me because of the first sentence of my post.
If $year were to be added, most of the others would probably need to be added too, to be consistent. Otherwise we'll have this same discussion with $month in a $asctime(yyyy) from now.
|
|
|
|
Joined: Dec 2008
Posts: 1,483
Hoopy frood
|
OP
Hoopy frood
Joined: Dec 2008
Posts: 1,483 |
Why not man these identifiers will be very helpful, I say my opinion that is good to be added and $month too and i thing these identifiers will not be an mIRC problem to be added!
|
|
|
|
Joined: Dec 2002
Posts: 3,534
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,534 |
If you want it so badly use the above methods, I wouldnt hold your breath about this being added, I'm sure its probably been suggested before and if anything $day should be taken out and used with $asctime if its needed.
|
|
|
|
|
|