Jump to content

Buying items in GE


Recommended Posts

Posted (edited)

Hey, so I am working on a new script, and I needed help with the buyItem method.

grandExchange.buyItem(currentId, i, ?, givenAmount);

so currentId I am grabbing using getId(), i is the search term which I am grabbing from user, givenAmount is the amount I am grabbing from user, but I am wondering how I could get the current market price of an item using either the item ID or the search term.

Thanx

Edited by phony

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...