Single Core Posted July 2, 2014 Share Posted July 2, 2014 (edited) Code: RS2InterfaceChild face = script.getInterfaces().getChild(137, 4); if (face != null) { if (face.getMessage() != null) { script.log("Message: " + face.getMessage()); } } Output: My question: Why doesn't it return: "Welcome to RuneScape." ? Thanks in advance - Single Core Solution: RS2InterfaceChild face = script.getInterfaces().getChild(137, 2); if (face != null) { RS2InterfaceChild[] children = face.getChildren(); for(int i = 0; i < 16; i++) { if(children[i] != null) { if(children[i].getMessage() != null) { script.log("Child: [137, 2] Child: " + i + " | Message: " + children[i].getMessage()); } } } } Found it myself, can be closed by a mod Edited July 2, 2014 by Single Core 1 Link to comment Share on other sites More sharing options...
Jack Posted July 2, 2014 Share Posted July 2, 2014 There was a good explanation for this but I forgot what it was. Hopefully someone remembers why the chat can't be read form interfaces. Link to comment Share on other sites More sharing options...
denoxum Posted July 2, 2014 Share Posted July 2, 2014 Happy you found your solution but don't forget you can always get messages with the onMessage method listener. Link to comment Share on other sites More sharing options...
Dreamliner Posted July 2, 2014 Share Posted July 2, 2014 because the yellow interface is used for action buttons. The blue interface contains all of the chat messages in HTML format - <br> Link to comment Share on other sites More sharing options...
Single Core Posted July 2, 2014 Author Share Posted July 2, 2014 Happy you found your solution but don't forget you can always get messages with the onMessage method listener. Yeah but then you can't interact with them Link to comment Share on other sites More sharing options...
Joseph Posted July 8, 2014 Share Posted July 8, 2014 because the yellow interface is used for action buttons. The blue interface contains all of the chat messages in HTML format - <br> where you hear this from? Link to comment Share on other sites More sharing options...
Dog_ Posted July 8, 2014 Share Posted July 8, 2014 Wrong interface, they're grandchildren of 137, 2 and sup singlecore, im parny_fan2003 from para Link to comment Share on other sites More sharing options...