olpi Posted April 7, 2014 Share Posted April 7, 2014 Help please Link to comment Share on other sites More sharing options...
Booch Posted April 7, 2014 Share Posted April 7, 2014 If you want to add it to the console then: Globally add your Timer(Import the java class) Presuming you named your Timer "timer" @Override public void onExit() { log("You've ran the script for: " + timer.getElapsed()); //Or something like that timer.stop(); //Sort of redundant when you stop script but I still add it just incase } Link to comment Share on other sites More sharing options...
olpi Posted April 7, 2014 Author Share Posted April 7, 2014 Thanks, but I ehm I wanted it to be like in the paint. Link to comment Share on other sites More sharing options...
Booch Posted April 7, 2014 Share Posted April 7, 2014 Ah, when I read, "Script ran for" I thought you meant when you stop the script. In that case: public void onPaint(Graphics j) { { j.drawString("Time ran: " + toTimeString(timer.getElapsed()), X-Coordinate, Y-Coordinate); //Replace the coordinate with numbers } } Link to comment Share on other sites More sharing options...
olpi Posted April 7, 2014 Author Share Posted April 7, 2014 Thanks Link to comment Share on other sites More sharing options...
Booch Posted April 7, 2014 Share Posted April 7, 2014 You're welcome. If you come across more issues feel free to PM me here. If you need more help add me on Skype: bucial11 Link to comment Share on other sites More sharing options...