Closed GoogleCodeExporter closed 9 years ago
I made a mistake and attached the wrong file.
The attached .java files are the bot source code.
Thank you.
Original comment by netgooguy@googlemail.com
on 8 Nov 2011 at 9:15
Attachments:
Thanks for the detailed bug report. It took me a second to figure it out, but
I'm pretty sure you didn't mean this in QuitCommand. Properly formatted, it
looks like this:
public void onMessage(MessageEvent event) {
if (event.getMessage().equals("!stop"))
event.respond("Stopping");
System.exit(0); //<--Die when a message is sent
}
Its just outside of your if statement. Put it inside of the if statement and it
will do what you intend.
Original comment by Lord.Qua...@gmail.com
on 9 Nov 2011 at 1:17
Thank you for the speedy reply.
Original comment by netgooguy@googlemail.com
on 9 Nov 2011 at 4:02
Original issue reported on code.google.com by
netgooguy@googlemail.com
on 8 Nov 2011 at 9:12Attachments: