Hello there, dont flame me as i dont know how lastchaos and all works, but I think it can be done easier, use your fav. memory searching tool (like cheat engine) search for the mob name and use read/write processmemory api in whatever programming language u use, make a simple compare in a memory range as there are specified ranges for text names etc. the search wouldnt take long to find the correct monster name inside the range and then you could make your program do whatever you want so like if address found -> take the action you want if not -> search memory range for match again.
Basicly making a memory scanner like cheatengine urself inside your bot/macro because the address will keep changing

.
(so what i basicly mean is making a loop thru a range of memory addresses comparing the value you want within the range and if a match is found to take the appropriate action, to get clicked on or do whatever action you want

)
I hope you understand what i mean, and that I make sense.