Help with Code Please!

Discussions and Tech Support specific to the iMacros for Chrome extension.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
GarpFist
Posts: 1
Joined: Sat Aug 27, 2016 6:15 am

Help with Code Please!

Post by GarpFist » Sat Aug 27, 2016 6:23 am

So I'm playing this text based browser game where I move to different coordinates on a map and randomly encounter AI I have to fight, having to manually click through which skill is annoying.

For example: I move from location 20.19 to 20.20, sometimes I can move back and forth between the locations without running into any AI, but other times I do. Is there anyway to set up an if statement or something to move between locations and when encountering an AI, to engage in combat, kill it, and repeat moving between those coordinates without stopping?

VERSION BUILD=844 RECORDER=CR
URL GOTO=http://shikatools.host22.com/ultimateninjabar/
FRAME F=1
TAG POS=1 TYPE=IMG ATTR=SRC:data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAsCAYAAAB/nHhDAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAd2SURBVHjarFfLbhxVEK3br5nxE9vk5QRDcEIiEQXxWPIBkZBYZcUfhA0SC6QI2IAiRUJCsIE/YAMSIiukCAmhRGFBwkPKS3EQnjgex2An9jgz0z19uzmn7m3HJg5JED1qdc/M7ao6p05V3TZPvfiymFbzMxE5hnMN51WcKzjP4Py63DX1izzC0bzw06bv09PTejVTO7dNGSOzo0ODYqSUMI6l2+1Jv5+LLUuxtmhi3Vc4P4ezmcd1ELmvMA1jwyMj8v6HJ6TeGJAbs3/I5UsX5ewPP0y1WvNvZ7l9u2g1P8biT+GoKY94KIIgMA6BEQmCQMIwknq9JvsPPi8HDh4Qmxfy47mzcHhJ4IjBnICT9x4dQSkSJ4kUNlfjkafpyuWL8t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oVmrxXeYxzekz/vjyChym2Prz7EhGlhNRRkD2XyQlzf+vumahCdsN6xtlnfMxRhgy9Buc/ZxlrpYshGqzduNB5QaC/liAEoxmAMZ/L2ORWxwOw7iBL7A6Et3xGpfYi1NmIVJXiXJDPa6YkxdYiJToF15Rl3z2hxn/dDvs9M+NoBz1LMMTxzukrRZzmBhYgiBu0IW4Jzm8zG62B/434DDOHy2nCUXdjZ2cVrSa59sgAEVE56bXFPk87ZHLOKtkqdG+u9XO07n/fT+OJoYn/IC7uBPKz3087e2NxofaCJ5iKL2BOExeMH0kcaVy53kw0k8oPtwSjD79kkZmMWpWEzEUCsMCMSDmvzZkrDqmq3PyxNkbqmOyHMhdneh6i8VyZFeZ65wKugzjncic2Emk42sfw7SGw01eYeerT6QDbQsyfm+pfR1i4Psvyb3eFoHbCcilE0lalUdtkLyKYGpsbzYL836BOHDipvqSmKLdsfEtfMj4kAqmVcvoV1Guv10BeavjM5apN7bV/ja6srqi/OD5Xabby+64tA5TS5PN+6fYf0OMkJ2p+vgnEX/xVgAHuhB5hmKz+6AAAAAElFTkSuQmCC
TAG POS=1 TYPE=DIV ATTR=ID:popup_overlay
TAG POS=1 TYPE=INPUT:BUTTON ATTR=ID:popup_ok
TAG POS=16 TYPE=INPUT:RADIO FORM=ID:battleForm ATTR=NAME:action
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:battleForm ATTR=ID:submit
Post Reply