olstan Posted February 20, 2017 Posted February 20, 2017 I am new to java scripting. This is a current task i am working on to listen for a trade. When a trade is received it starts this task. I am ok with the trading api. It is just the listening for a message to initiate the task. Can anyone help import javax.sound.midi.Receiver; import org.osbot.rs07.api.Trade; import org.osbot.rs07.api.ui.Message; import org.osbot.rs07.listener.MessageListener; import org.osbot.rs07.script.MethodProvider; public class trade extends Task { public trade(MethodProvider api) { super(api); } @Override public boolean canProcess() { return; } @Override public void process() { api.log("we have been traded"); } }
House Posted February 20, 2017 Posted February 20, 2017 https://www.codecademy.com/learn/learn-java This is a good place to start 1
ProjectPact Posted March 1, 2017 Posted March 1, 2017 Please keep only one topic. Do not continue posting the same question all over the forums.