Jump to content

Buying items in GE


phony

Recommended Posts

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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