Jump to content

getmessage from chatbox


Recommended Posts

Posted (edited)

Option 1: listen for messages

implement this method in your script class, it will be called when there is a new game/player message (see MessageType).
 

public void onMessage(Message m) throws InterruptedException {


}

Option 2: get the widget text directly
(note: this might include color tags like <col=....></col>, use stripFormatting to remove this)

parent widget id = 162, dunno about the child/grandchild id, use the widget debugger smile.png
 

Edited by Flamezzz
  • Like 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...