hobomik3 0 Share Posted December 6, 2018 trying to script for the first time but ive tried for like 2 days to get my bot to find the recieved trade request and find the player who traded them and then trade them back, this player will not always be the same person, i know how to find the code that i want but my problem is knowing how to use it. can anyone help me out? or point me in the right diresctoin on how to find these things out ,thank you Link to comment Share on other sites More sharing options...
Nuclear Nezz 1926 Share Posted December 6, 2018 Probably start by learning general Java. That'll help you a lot when it comes to understanding some of the code. Semper Fi 1 Link to comment Share on other sites More sharing options...
hobomik3 0 Author Share Posted December 7, 2018 i dont know who the player is going to be, is there a way that i could pick their name out of a trade request? Link to comment Share on other sites More sharing options...
Pseudo 176 Share Posted December 7, 2018 12 hours ago, hobomik3 said: i dont know who the player is going to be, is there a way that i could pick their name out of a trade request? Yes, you use the message listener of the client in order to detect the chatbox message of the trade request. Link to comment Share on other sites More sharing options...
hobomik3 0 Author Share Posted December 7, 2018 Awesome thank you Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now