Thanks guys for the replies. I now understand that it is totally irrelevant. However, I would like clarification on why in freelancer website and such, people ask for a fast programmer that could type like ~80WPM. Also, as an advice, do I need to plan and write down an algorithm step by step of how the script should work before coding or just normal thinking?
I want to know where my level is compared to people. I write 200 lines per hour and my level is a beginner.
How many lines do you approximately right per hour, and what is your programming level?
I read the API and I know that this function already exists. I just want to practice doing my own method and playing with it. So from above, does it look like good?
I would like to know if my code is proper or not, so criticism replies are allowed and much appreciated for improvement. If this could be done in a better way, please share your knowledge and led my life with advice
public boolean deposit_worn_items() throws Exception {
RS2Widget deposit = script.getWidgets().get(BANK_PARENT, BANK_CHILD_DEPOSIT_BUTTON);
if (deposit != null && deposit.isVisible())
deposit.interact("Deposit inventory");
new ConditionalSleep(5000, 500) {
@Override
public boolean condition() {
return script.getEquipment().isEmpty();
}
}.sleep();
return script.getEquipment().isEmpty();
}