View Single Post
Old Apr 2nd, 2008, 1:29 AM   #4
Maxmackey
Unverified User
 
Join Date: Apr 2008
Posts: 5
Rep Power: 0 Maxmackey is on a distinguished road
Re: Detect a string of text in a running program.

Not QUITE what I was looking for but the LUA link did give me some info.

Ive been tooling around with the games files, and have discovered that everything I type is stored in an in game log.

So, theoretically, I suppose the easiest way to make a program like this would be to have a program that opens up the text file, searches for the text, and if it exists to then make the noise.

Anyone know if this is possible?











Heres some example of the text:
[04/01/08 23:27:07] Lothir -> WreckLoose : Quick Major Health V of Purifying [ Casting... ]
[04/01/08 23:27:07] Indestructible Fyakki -> WreckLoose [ Missed ]
[04/01/08 23:27:07] WreckLoose -> Indestructible Fyakki : Cloak of Thorns IV [ 137 pierce ]




So lets say if the program detected:
Indestructible Fyakki -> WreckLoose [ Missed ]
I would want it to make a sound.

Last edited by Maxmackey; Apr 2nd, 2008 at 1:52 AM.
Maxmackey is offline   Reply With Quote