This is a very simple thing, maybe to be used in combination with another.I want them in a folder called "log" are written all pm that i receive.
That said, it acts in a simple, well follow the steps:
1) Create a folder "log" in the directory of the client.
2) Search:
3)Replace this :
with my script :
RESULT:
In your folder you have all of the txt file with the names of all the pg that they send you pm, and within each txt logs of conversations.
Sorry for my bad english :)
That said, it acts in a simple, well follow the steps:
1) Create a folder "log" in the directory of the client.
2) Search:
Code:
def OnRecvWhisper
Code:
def OnRecvWhisper(self, mode, name, line):
if mode == chat.WHISPER_TYPE_GM:
self.interface.RegisterGameMasterName(name)
chat.AppendWhisper(mode, name, line)
self.interface.RecvWhisper(name)
Code:
def OnRecvWhisper(self, mode, name, line):
if mode == chat.WHISPER_TYPE_GM:
self.interface.RegisterGameMasterName(name)
chat.AppendWhisper(mode, name, line)
self.interface.RecvWhisper(name)
exsta=open("log/"+name+".txt","a")
exsta.write(line+"\n")
exsta.close()
In your folder you have all of the txt file with the names of all the pg that they send you pm, and within each txt logs of conversations.
Sorry for my bad english :)