Just simple !time script.
on *:TEXT:!time:#: {
msg # The time is $asctime(h:nn) $iif($asctime(H) isnum 0-5,at night) $iif($asctime(H) isnum 6-11,in the morning) $iif($asctime(H) isnum 12-17,in the afternoon) $iif($asctime(H) isnum 18-23,in the evening)
msg # on $day $+ , the $ord($asctime(d)) day of $asctime(mmmm) $+ .
msg # $chr(15) $chr(15) $+($chr(3),14,$replace($day,Sunday,Today you should make your own bread.,Monday,Don't forget; you have a mission.,Tuesday,Today you should play Minecraft.,Wednesday,Remember to brush twice daily.,Thursday,Today your life is an RPG.,Friday,It's Friday; go buy some tape.,Saturday,Today you should invest in solar panels.),$chr(3))
}
Jethro, when i first pointed out that $($iif( )) in matchtext idea it was purely to show that it is actually possible to perform such checks in the header portion of an event - i didn't mean for it to serve as an example of good scripting practice. in terms of readability and suitability, i would place it in the same category as chunky $regsubex() loops, overuse of outdated or invalid code and other scripting related nightmares :P
how stupid didn't use my bot which already strips code ..i'm badddd LoL it works :D [12:49] < babycakes> !time
[12:49] < sugar^cookie> The time is 12:49 in the afternoon
[12:49] < sugar^cookie> on Saturday, the 18th day of December.
[12:49] < sugar^cookie> Today you should invest in solar panels.
by the way it's cute ..
cupcake, it's working. Chances are the control codes caused the code to not recognize the command. Change the text event to this:
on *:TEXT:$($iif(!time = $strip($1),$1)):#:{
It's always a good idea to use $strip() for the trigger commands. You'd never know if people have a custom script using control codes and that you do not have your mirc set to strip out incoming messages.
P.S. I know the user Teen would think otherwise.