LackeyCCG

LackeyCCG Forum => General Discussion Forum => Topic started by: Jynks on December 08, 2011, 06:13:35 AM

Title: Can u save the chat log to a text file?
Post by: Jynks on December 08, 2011, 06:13:35 AM
Is there a save chat log command?
Title: Re: Can u save the chat log to a text file?
Post by: Trevor on December 08, 2011, 03:16:31 PM
I just implemented this. It is going to be "/logsave FILENAME" in the next release. If you just type "/logsave" it will save it as a file named based on the date and time it was created.

I think I'll have them saved to a folder it creates in the plugin folder called logs/.
Title: Re: Can u save the chat log to a text file?
Post by: Jynks on December 08, 2011, 03:31:17 PM
Quote from: Trevor on December 08, 2011, 03:16:31 PM
I just implemented this. It is going to be "/logsave FILENAME" in the next release. If you just type "/logsave" it will save it as a file named based on the date and time it was created.

I think I'll have them saved to a folder it creates in the plugin folder called logs/.

you are a legend man.. serious.
Title: Re: Can u save the chat log to a text file?
Post by: Trevor on December 08, 2011, 04:10:07 PM
update:

It's now /log instead of /logsave.
If you have the timestamps on in the chat log as you save, it will also write them in the log file.

btw, you can toggle time stamps by right clicking the log field.
Title: Re: Can u save the chat log to a text file?
Post by: Jynks on December 08, 2011, 10:19:31 PM
it is worth noting though that time stamps are in local time, so when you compare logs with your partner you are unable to give a global or "game time" code so you can both look at your own log and find the same point easily.
Title: Re: Can u save the chat log to a text file?
Post by: Trevor on December 09, 2011, 12:51:57 AM
Quote from: Jynks on December 08, 2011, 10:19:31 PM
it is worth noting though that time stamps are in local time, so when you compare logs with your partner you are unable to give a global or "game time" code so you can both look at your own log and find the same point easily.
I think local time is preferable. It's a lot more convenient for YOU to look at your own logs when they are in local time. And as far as communication goes, just find out your delta t, and do the math.
Title: Re: Can u save the chat log to a text file?
Post by: Jynks on December 13, 2011, 12:01:11 AM
Makes sense... but... "Do the math"... lol.. programmers!  ::)
Title: Re: Can u save the chat log to a text file?
Post by: Jynks on January 10, 2012, 05:49:37 AM
is this function working? I just get and error when I try it?

"error: log function undefined"
Title: Re: Can u save the chat log to a text file?
Post by: Trevor on January 10, 2012, 11:26:42 AM
Quote from: Jynks on January 10, 2012, 05:49:37 AM
is this function working?
not in the lackey you have.
Title: Re: Can u save the chat log to a text file?
Post by: Jynks on January 11, 2012, 04:01:13 PM
oh lol.. i see.. that makes sense then heh heh... :) I was wondering what was going on as you said you added it already