Age Detector

By Kirbeh_Pr0nz on Apr 29, 2009

This is just an age detecting alias. where it says year/month/day enter your own birthday. (ex. 2009/04/29) then in a channel or query, type /age and WAHPAO!

alias age { var %age.b = $ctime(year/month/day 00:00:00) | var %age.s = 31556926 | var %age.o = $calc(($ctime - %age.b) / %age.s) | var %age.n = $floor($calc(%age.o + 1)) | var %age.t = $duration($calc((%age.n - %age.o) * %age.s)) | me is %age.o years old and will be %age.n in %age.t }

Comments

Sign in to comment.
Yilena   -  May 12, 2009

ah oke ^^

 Respond  
Kirbeh_Pr0nz   -  May 12, 2009

An IRCop gave it to me ^^

 Respond  
Yilena   -  May 10, 2009

Its a fun snippet, tho i have it for over a year allready :o
exact the same.

 Respond  
Aucun50   -  May 02, 2009

I like that it shows more then the age, good script.

 Respond  
PATX   -  Apr 29, 2009

lol. pointless, but a good snipt for learning alias. good job.

 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.