Adding an if statement to check price of an item.

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.
Post Reply
RandoMythril
Posts: 1
Joined: Tue Feb 21, 2017 3:54 pm

Adding an if statement to check price of an item.

Post by RandoMythril » Tue Feb 21, 2017 4:11 pm

Code: Select all

VERSION BUILD=844 RECORDER=CR
URL GOTO=https://www.roblox.com/catalog/71484026/Sinister-Branches
REFRESH
TAG POS=2 TYPE=BUTTON ATTR=TXT:Buy
TAG POS=1 TYPE=A ATTR=ID:decline-btn
I'm trying to snipe items in this game. I want my macro to check the price of the cheapest item as the first to do after refreshing. If it is below 500, then buy it (the two lines after refresh). If not, end the macro.

Is it possible to do this with imacro chrome or firefox.
Post Reply