Hello, I need a little script that logs text a contact says. Something like this:
If the contact says "!log Blabla" must the text "Blabla" been saved in a txt file on my PC. If this happens multiple times, al texts must be saved in the same txt file. Has anyone an idea how to do this?
Thx
(sorry, i'm not so good in english)
--EDIT---
Better example:
Constact says:
!log Blabla
(Message will now be saved in log.txt)
I says (automatic):
Saved!
Constact 2 says:
!log Blabla 2
(Message will now be saved in log.txt)
I says (automatic):
Saved!
And now, log.txt sees like this:
Blabla
Blabla 2
-----------------------
Thaks to people who want to help me