This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Showing the time

Help for those learning Tcl or writing their own scripts.
Post Reply
d
dokueki
Voice
Posts: 31
Joined: Sat Apr 28, 2007 8:42 am
Location: Bat Yam, Israel
Contact:

Showing the time

Post by dokueki »

I'm making a script that sends me a PM whenever one of a list of words is said in the channel. The script works fine, but there's a small delay and when I'm using torrents, a larger one. is there a way to show the exact time in which the bind was triggered as a variable or function or something?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

[unixtime]
d
dokueki
Voice
Posts: 31
Joined: Sat Apr 28, 2007 8:42 am
Location: Bat Yam, Israel
Contact:

Post by dokueki »

Thanks. I do see it uses unix time though, is there a way to regularly format it?

EDIT: Nvm got it covered

Code: Select all

[strftime %H:%M:%S]
Post Reply