sadzx1
2011-12-17 04:41:06
I wanted to enable the function of auto saving rs chatlogs.
From the SRL chat file, theres a function
{*******************************************************************************
function SaveToChatLog: Boolean;
By: WT-Fakawi / masquerader
Description: Saves chat to log file
*******************************************************************************}
procedure SaveToChatLog;
begin
FixChat;
OldLine := TheLine;
if(LastChatter(TheName))then
begin
GetLastChatText(TheLine);
TheLine:=' '+TheLine+' ';
if OldLine <> TheLine then
try AddToSRLLog(TheName+':'+TheLine); except end;
end else
begin
TheLine:=TheName;
if OldLine <> TheLine then
try AddToSRLLog(TheLine); except end;
end;
end;
How do i enable this? copy it to simba? at the bottom of the script im using?
i have also searched forum and saw this
http://villavu.com/forum/showthread.php?t=58867&highlight=chatlog
once again, where do i copy those commands?
thx in advance
EDIT: when it does actually save, which folder will it saves the chatlog to?
From the SRL chat file, theres a function
{*******************************************************************************
function SaveToChatLog: Boolean;
By: WT-Fakawi / masquerader
Description: Saves chat to log file
*******************************************************************************}
procedure SaveToChatLog;
begin
FixChat;
OldLine := TheLine;
if(LastChatter(TheName))then
begin
GetLastChatText(TheLine);
TheLine:=' '+TheLine+' ';
if OldLine <> TheLine then
try AddToSRLLog(TheName+':'+TheLine); except end;
end else
begin
TheLine:=TheName;
if OldLine <> TheLine then
try AddToSRLLog(TheLine); except end;
end;
end;
How do i enable this? copy it to simba? at the bottom of the script im using?
i have also searched forum and saw this
http://villavu.com/forum/showthread.php?t=58867&highlight=chatlog
once again, where do i copy those commands?
thx in advance
EDIT: when it does actually save, which folder will it saves the chatlog to?