egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Showing the time

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
dokueki
Voice


Joined: 28 Apr 2007
Posts: 31
Location: Bat Yam, Israel

PostPosted: Sat Jun 23, 2007 4:43 am    Post subject: Showing the time Reply with quote

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?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sat Jun 23, 2007 5:02 am    Post subject: Reply with quote

[unixtime]
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
dokueki
Voice


Joined: 28 Apr 2007
Posts: 31
Location: Bat Yam, Israel

PostPosted: Sat Jun 23, 2007 5:06 am    Post subject: Reply with quote

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

EDIT: Nvm got it covered
Code:
[strftime %H:%M:%S]
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber