morgenstern09
Member
Hello,
As the title says, I would like a CLEO script to show a different message depending on the current server hour.
To be more precise, I would like to have a function that if the hour is past 19, for example, it will say "Have a nice evening", and if it's past 06 am it would say "Have a nice day".
This would happen when I type a certain command in chat.
I already got the command typing stuff, but I don't really know how to do the message according to the server hour part.
Any help would be appreciated.
As the title says, I would like a CLEO script to show a different message depending on the current server hour.
To be more precise, I would like to have a function that if the hour is past 19, for example, it will say "Have a nice evening", and if it's past 06 am it would say "Have a nice day".
This would happen when I type a certain command in chat.
I already got the command typing stuff, but I don't really know how to do the message according to the server hour part.
Any help would be appreciated.