Before 95 Share Posted April 26, 2016 if(message.getMessage().contains("typiestuff")) { runafailsafe(); } That could be very bad.. Have some guy spam "You can't reach that!" and watch all the Dreambots frollick Link to comment Share on other sites More sharing options...
mattgp 9 Share Posted April 26, 2016 Im pretty sure it differenciates between game messages and player messages. At least it does in other apis Link to comment Share on other sites More sharing options...
Rabrg 83 Share Posted April 26, 2016 sounds like ur not using the MessageListener Link to comment Share on other sites More sharing options...
Diddy 265 Share Posted April 26, 2016 implement MessageLister Link to comment Share on other sites More sharing options...
Dogerina 330 Share Posted April 26, 2016 message has a getType which can be used to tell wat kind of message it is but if you use messagelistener you can just use onGameMessage etc Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.