Valhalla Legends Forums Archive | Battle.net Bot Development | Recording chat to a text file

AuthorMessageTime
EnCoDe
How can this be done?
I have seen it in MadChat and a few other bots.
July 6, 2003, 9:01 AM
SNiFFeR
I believe your answers can be found here:
https://davnit.net/bnet/vL/phpbbs/index.php?board=17;action=display;threadid=1814
July 6, 2003, 9:35 AM
Cy
write log.txt %temp =\
July 6, 2003, 9:43 AM
______
on your OnTalk Command put this

[code]
Open (App.Path & "\log.txt") For Append As #1
Write #1, Username & " " & message
Close #1
[/code]
July 6, 2003, 2:04 PM
EnCoDe
Thanks. It worked.
July 7, 2003, 12:26 AM
Lenny
But what if you wanted other people's text also....
July 7, 2003, 1:03 AM
EnCoDe
How do i remove the " " that suround the logged text in the log file?
July 7, 2003, 1:44 AM
Lenny
Another interesting thing is that when its displayed in a pic box the "" are gone.....Maybe its becuase the text is defined as a string....
July 7, 2003, 4:59 AM
Stealth
Use the Print command instead of Write. Write is actually used to write records that can be retrieved later, Print is used with plain text.
July 8, 2003, 2:45 AM

Search