Age (yours and theres)
mIRC Code
+ 2 likes
Please Register to submit score.
| Average Score | 4.5 (of 2 scores) |
| Date Added | Jul 18, 2009 |
| Last Updated | Jul 18, 2009 |
Introduction
ask you for your Date of Birth and save it as a variable.
The basic command is:
/age (day/month/year)
If you use "/age" on it's own, it will say how old you are based
on the DOB you gave on initialization. To change your DOB use:
/age.setdob day/month/year
Using "/age day/month/year" will say how old that DOB is today.
Enjoy =)
mIRC Snippet:
Age (yours and theres)
Posted on Jul 18, 2009 7:45 pm
Posted on Jul 18, 2009 7:45 pm
Nice. It works fine for me...6/10, lol?
mIRC Snippet:
Age (yours and theres)
Posted on Jul 18, 2009 7:52 pm
Posted on Jul 18, 2009 7:52 pm
cool :o
(2009)(08:44:42pm)(Jul18) <&Pickle> I am 15 years, 44 weeks, and 2days old!
(2009)(08:44:42pm)(Jul18) <&Pickle> I am 15 years, 44 weeks, and 2days old!
mIRC Snippet:
Age (yours and theres)
Posted on Jul 19, 2009 6:05 pm
Posted on Jul 19, 2009 6:05 pm
thank you =)
mIRC Snippet:
Age (yours and theres)
Posted on Jul 20, 2009 10:39 am
Posted on Jul 20, 2009 10:39 am
u can do also this
my result is "You are 27 years, 3 weeks, and 3days old."
no i'm not 27 yet XD
u have to make sur if $active is a chan or query
u can do this also
| Code: |
| on *:load:age.setdob |
my result is "You are 27 years, 3 weeks, and 3days old."
no i'm not 27 yet XD
u have to make sur if $active is a chan or query
u can do this also
| Code: |
| alias age { if ($1) var %d $date($ctime($1),dd/mm/yyyy) if (!%dob) { var %x $$?="Please enter your Date of Birth in this format: day/month/year." set %dob $date($ctime(%x),dd/mm/yyyy) } tokenize 47 $iif($1,%d,%dob) var %a $calc($date(yyyy) - $3 - 1),%b $calc($date(m) - $2 + 11),%c $calc($date(d) - $1 + $iif($istok(1.3.5.7.8.10.12,$date(m),46),30,29))) msg $active $iif($+($1,/,$2,/,$3) == %dob,I am,You are) %a years $+ , %b months $+ , and %c day $+ $iif(%c > 1,s) old! } |




