Save chat history
Author |
Message |
_justin_
|
Posted: Thu Mar 02, 2006 8:26 pm Post subject: Save chat history |
|
|
k what i have setup is like a chat program so i have the client version and the server and what i want to know if their's a way where i can get the server to save everything that is goin on in the chat (like i want it to auto save every 5 mins or so) just so i can monitor what ppl are talking about and if ppl have been harasing others and so on
hmm not to sure if that makes sense but if you don't understand i can try to say that again
Justin. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
tupac
|
Posted: Thu Mar 02, 2006 8:39 pm Post subject: (No subject) |
|
|
i think wat u want is the "read", and "write" functions. go 2 turing help, and search those terms,u shud get somethin u need |
|
|
|
|
|
batman
|
Posted: Thu Mar 02, 2006 8:45 pm Post subject: Saving |
|
|
You could also use the record function to record any parts of the chat program you may want. The record function might work. If you don't know what it it then check the turing help files.
[/quote] |
|
|
|
|
|
TokenHerbz
|
Posted: Thu Mar 02, 2006 8:51 pm Post subject: (No subject) |
|
|
Have a file : along with the chat program,
make a variable :
Now creat a proc somwhats like this...
code: |
proc Save_Chat
open: User_File, "Logs.txt", put
put: User_File, chat_string
close: User_File
end SaveChat
|
call the proc evertime enter is pressed or somthing like that...
I dont know if your using a string variable or not in your chat program, but thats just 1 way to do it... To observe the logs, open the Logs.txt file. |
|
|
|
|
|
_justin_
|
Posted: Thu Mar 02, 2006 8:53 pm Post subject: (No subject) |
|
|
alright thanks guys |
|
|
|
|
|
|
|