The onMessage method gets triggered when a new message gets added to the chatbox.
There is no point in looping over the chatbox and all that...
Example for logs chopped:
public void onMessage(Message message) {
if (message.getMessage().contains("You get some"))
logCount++;
}
Enjoy!
Thx for explaining what happend, but unfortunately we have no way to exactly proof who cleaned your bank.
I'm going to close this dispute for now, if you happen to have more evidence late on, feel free to hit me up.