Jump to content

Chris

Scripter II
  • Posts

    8357
  • Joined

  • Last visited

  • Days Won

    14
  • Feedback

    100%

Everything posted by Chris

  1. Chris

    hey ;3

    1. SSJG

      SSJG

      i'll brt baby! waiting on nicki

  2. wtf ur right it has anti ban so u shouldnt have been banned!!!!!!!! :o /s
  3. Yes see this post Done Done What are your gui settings? Does it just stop looting anything? Osbot version: Using mirror more? Version:
  4. String ezbaby = plater#getName; typeInstant(ezbaby); antiban--;
  5. ide is a ide? both can make scripts lul.
  6. http://osbot.org/api/org/osbot/rs07/api/model/Player.html
  7. Chris

    @Tom

    @Tom mr clean head lookin ass
  8. Chris

    Demote

    >CRYS ABOUT CBA ABUSE (RANDOM KICK, ETC.) >DOES THE SAME WHEN HE GETS CBA >NOOB.JPG
  9. Chris

    Easy help

    public class Timer { private final long start; private final long period; private long end; public Timer(long period) { this.period = period; this.start = System.currentTimeMillis(); this.end = (this.start + period); } public long getElapsed() { return System.currentTimeMillis() - this.start; } public long getRemaining() { if (isRunning()) { return this.end - System.currentTimeMillis(); } return 0L; } public boolean isRunning() { return System.currentTimeMillis() < this.end; } public void reset() { this.end = (System.currentTimeMillis() + this.period); } public long setEndIn(long ms) { this.end = (System.currentTimeMillis() + ms); return this.end; } public String toElapsedString() { return Time.format(getElapsed()); } public String toRemainingString() { return Time.format(getRemaining()); } } public class Time { public static String format(long time) { StringBuilder t = new StringBuilder(); long total_secs = time / 1000L; long total_mins = total_secs / 60L; long total_hrs = total_mins / 60L; long total_days = total_hrs / 24L; int secs = (int)total_secs % 60; int mins = (int)total_mins % 60; int hrs = (int)total_hrs % 24; int days = (int)total_days; if (days > 0) { if (days < 10) { t.append("0"); } t.append(days); t.append(":"); } if (hrs < 10) { t.append("0"); } t.append(hrs); t.append(":"); if (mins < 10) { t.append("0"); } t.append(mins); t.append(":"); if (secs < 10) { t.append("0"); } t.append(secs); return t.toString(); } }
×
×
  • Create New...