Jump to content

logs cut/per hour


Recommended Posts

Posted

One way to do it is to create a variable like 

int log = 36  // or whatever the xp per log is

and times it by how many logs you've cut.

 

Another way would be to create a variable that contains your woodcutting xp when the script started, and another variable that contains your current woodcutting xp.

Subtract your starting woodcutting xp from your current xp and divide it by the exp you get from a single log. 

Posted (edited)

Could do onMessage "you get some logs" (or whatever the actual message is)
cut++

get the runtime,
if it's below 60 minutes, divide 60 by how many minutes you've ran, * cut  -- this will give you logs / hr
if it's above 60, divide time ran in minutes by 60,  / cut -- this will give logs / hr

**You could use seconds but for simplicity I used minutes** 

Edited by viri

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...