Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- millis = System.currentTimeMillis() - startTime;
- hours = millis / (1000 * 60 * 60);
- millis -= hours * (1000 * 60 * 60);
- minutes = millis / (1000 * 60);
- millis -= minutes * (1000 * 60);
- seconds = millis / 1000;
- if(hours==5 && minutes >=50){
- RSComponent Exit = interfaces.get(548).getComponent(147);
- RSComponent Logout = interfaces.get(182).getComponent(7);
- if(bank.open()){
- bank.close();
- }else{
- if(Logout.doClick()){
- sleep(4000);
- }else{
- Exit.doClick();
- sleep(2000);
- }
- /// is this reset the timer ???
- minutes = 0;
- hours = 0;
- }
Add Comment
Please, Sign In to add comment