Simple /time

By Sovetskeey on Aug 25, 2004

Just a simple little snippet to show the current time and date in a nice format.
The command will return something like this:

"It's currently 05:37 AM on Wed August 25 here."

Just add this to your aliases or, if you want to add it to a script (which I'm sure many many other scripts already have a similar command), it can be added to the remotes with a little modification.

As simple as this will seem to most of the gurus out there, it took me the better part of an hour to figure out. This is a nice little piece of code for a beginner mIRC scripter to learn. The most time consuming part was to make it look presentable. $adate and $time would make it work just fine but this makes it alot more presentable.

/time //say It's currently $time(hh:nn TT) on $date(ddd) $date(mmmm) $date(dd) here.

Comments

Sign in to comment.
Zach   -  Aug 25, 2004

Ok... First don\'t use / because you don\'t need them. Second $date(ddd) $date(mmmm) $date(dd) could be just $date(ddd mmmm dd)

 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.