This really small alias can retrieve horoscope sign from specified birth date.
I used this for my bot, so they had only to set birthday and not horoscope anymore. (Means that they can't lie either)
Syntax:
Suggestions are welcome.
Didn't see anything like this around, so posted this simple, but yet - time taking snippet. :)
alias horoscope {
var %x = $1, %y = $iif($prop = num,1), %c = $iif($isid,return,echo -at)
if (03.21 <= %x) && (04.19 >= %x) %c $iif(%y,1,Aries)
if (04.20 <= %x) && (05.20 >= %x) %c $iif(%y,2,Taurus)
if (05.21 <= %x) && (06.21 >= %x) %c $iif(%y,3,Gemini)
if (06.22 <= %x) && (07.22 >= %x) %c $iif(%y,4,Cancer)
if (07.23 <= %x) && (08.22 >= %x) %c $iif(%y,5,Leo)
if (08.23 <= %x) && (09.22 >= %x) %c $iif(%y,6,Virgo)
if (09.23 <= %x) && (10.23 >= %x) %c $iif(%y,7,Libra)
if (10.24 <= %x) && (11.21 >= %x) %c $iif(%y,8,Scorpio)
if (11.22 <= %x) && (12.21 >= %x) %c $iif(%y,9,Sagittarius)
if (12.22 <= %x) && (12.31 >= %x) %c $iif(%y,10,Capricorn)
if (01.01 <= %x) && (01.19 >= %x) %c $iif(%y,10,Capricorn)
if (01.20 <= %x) && (02.18 >= %x) %c $iif(%y,11,Aquarius)
if (02.19 <= %x) && (03.20 >= %x) %c $iif(%y,12,Pisces)
}