ultrakurby
Guru
- Joined
- Mar 6, 2008
- Sythe Gold
- 0
- Messages
- 1,284
I need help with the welcome button. I updated my rsbot, then the welcome button was messed up so i did what law and order sais and it still does the exact same thing... and help please?
import com.speljohan.rsbot.script.Random;
import com.speljohan.rsbot.script.wrappers.RSInterface;
/**
* Created Using IntelliJ IDEA. User: illusion Date: Apr 23, 2008 Time: 9:57:41
* PM
*/
public class WelcomeButton extends Random {
public String getName() {
return "Welcome Button";
}
public String getAuthor() {
return "illusion";
}
public double getVersion() {
return 1;
}
public int loop() {
log("Clicking Welcome Button");
atInterface(RSInterface.getInterface(378).getChild(45));
return -1;
}
public boolean activateCondition() {
return RSInterface.getInterface(378).getChild(45).getAbsoluteX() == 207;
}
}

