Search found 32 matches

by 322126384
Thu Nov 17, 2011 9:53 pm
Forum: iMacros for Firefox
Topic: help in script
Replies: 4
Views: 746

Re: help in script

Try this code:

TAG POS=1 TYPE=IMG ATTR=SRC:http://static.pokemonvortex.org/images/ ... rrowup.gif
SET !ERRORIGNORE YES
SEARCH SOURCE=REGEXP:"Level: ([5-9][0-9])" EXTRACT=$1
SET !ERRORIGNORE NO
TAG POS=1 TYPE=P ATTR=TXT:Level:<SP>{{!EXTRACT}} CONTENT=EVENT:FAIL_IF_FOUND
by 322126384
Sat Oct 29, 2011 6:51 pm
Forum: iMacros for Firefox
Topic: Loop script until...
Replies: 22
Views: 8281

Re: Loop script until...

Try this old post: http://forum.imacros.net/viewtopic.php?f=11&t=13522&p=40688#p40688 or use this script: TAG POS=1 TYPE=IMG ATTR=SRC:http://static.pokemonvortex.org/images/maps/arrows/arrowup.gif SET !ERRORIGNORE YES SET !TIMEOUT 20 SEARCH SOURCE=REGEXP:"Level: ([5-9][0-9])" EXTRACT=$1 TAG POS=1 TY...
by 322126384
Wed Aug 24, 2011 11:54 pm
Forum: iMacros for Firefox
Topic: [Request] Need Help creating a failsafe script
Replies: 1
Views: 1228

Re: [Request] Need Help creating a failsafe script

Try adding SET !TIMEOUT 6000 or something high like that. that way no matter how slow your connection, it will wait 600 seconds (about 10 minutes). and get rid of the URL GOTO because there is no point going to the URL if the rebattle link redirects you there. but if you ask me (i play this game), i...
by 322126384
Wed Aug 24, 2011 1:58 am
Forum: iMacros for Firefox
Topic: is there a way to start repeat after a command?
Replies: 1
Views: 422

Re: is there a way to start repeat after a command?

In regards to you first question, yes you can do this. and this can be accomplished by using the !TIMEOUT variable. To answer your second question, yes this is also possible, but by using the built-in javascript interface. See this article for details http://wiki.imacros.net/Loop_after_Query_or_Logi...
by 322126384
Sun Aug 21, 2011 10:32 pm
Forum: iMacros for Firefox
Topic: Wildcard
Replies: 1
Views: 485

Re: Wildcard

Yes, you have to use the POS section of the TAG command. if you want to open all the links you will have to use the following code: TAG POS=1 TYPE=A ATTR=HREF:http://ekspon.com/scripts/runner.php?KE=jrjokjjf&PI=* TAG POS=2 TYPE=A ATTR=HREF:http://ekspon.com/scripts/runner.php?KE=jrjokjjf&PI=* TAG PO...
by 322126384
Wed Aug 17, 2011 7:51 pm
Forum: iMacros for Firefox
Topic: why isn't relative positioning working?
Replies: 1
Views: 454

why isn't relative positioning working?

i'm running this macro that finds the level between 50-99 and then the macro clicks on a button to submit. it should work only if the previous TAG command is successful by using the relative positioning. but for some reason the submit button is not being clicked. i think it might be because the subm...
by 322126384
Wed Aug 17, 2011 7:12 pm
Forum: iMacros for Firefox
Topic: Loop script until...
Replies: 22
Views: 8281

Re: Loop script until...

Oh sorry. As MattBell7 previously corrected, you should change the REGEXP to "Level: ([5-9][0-9])" . i made a mistake. in regards to your question: Would it be possible to click an image(the down arrow) 24 times and then to click another image (up arrow) another 24 times? you would have to use Javas...
by 322126384
Wed Aug 17, 2011 1:02 am
Forum: iMacros for Firefox
Topic: Loop script until...
Replies: 22
Views: 8281

Re: Loop script until...

i just tested the macro and it runs perfectly. I just caught 3 legendary pokemon! :D Good Luck Catching Pokemon!!
by 322126384
Tue Aug 16, 2011 10:43 pm
Forum: iMacros for Firefox
Topic: Loop script until...
Replies: 22
Views: 8281

Re: Loop script until...

It took me about 3 hours of searching but then it hit me. why not just use the SEARCH command. It has REGEXP. Here is a code i wrote: TAG POS=1 TYPE=IMG ATTR=SRC:http://static.pokemonvortex.org/images/maps/arrows/arrowup.gif SET !ERRORIGNORE YES SEARCH SOURCE=REGEXP:"Level: ([4-9]{2})" EXTRACT=$1 SE...
by 322126384
Tue Aug 16, 2011 6:11 pm
Forum: iMacros for Firefox
Topic: Loop script until...
Replies: 22
Views: 8281

Re: Loop script until...

the script is not working. even though the string "Level: 88" appeared, the script continued, if anything it sped up. Which is kind of odd. I dont know what's wrong, i just copy and pasted the script you wrote, into a .js file and played it.
by 322126384
Tue Aug 16, 2011 2:46 am
Forum: iMacros for Firefox
Topic: Loop script until...
Replies: 22
Views: 8281

Re: Loop script until...

what a coincidence, i am using the same website. here is the recorded macro like you requested VERSION BUILD=7300701 RECORDER=FX TAB T=1 TAG POS=1 TYPE=IMG ATTR=SRC:http://static.pokemonvortex.org/images/maps/arrows/arrowup.gif TAG POS=1 TYPE=P ATTR=TXT:Level:<SP>13 The part where it says arrowup th...
by 322126384
Tue Aug 16, 2011 12:22 am
Forum: iMacros for Firefox
Topic: REGEXP in TAG command
Replies: 1
Views: 543

REGEXP in TAG command

Is it possible to incorporate REGEXP like commands into the TAG command? i know you can use it in the SEARCH command but that only searches the source for the first instance of the desired Regular Expression and unless the SEARCH command somehow incorporates POS, i am forced to try the TAG command. ...
by 322126384
Mon Aug 15, 2011 2:44 pm
Forum: iMacros for Firefox
Topic: Variable Item Link
Replies: 3
Views: 967

Re: Variable Item Link

in this case the string i want to change is a number, but what if i wanted to change between 8 different strings (up, rightup, right, rightdown, down, leftdown, left, and leftup) and after the 8th string is used, it goes back to the 1st one. how would this be accomplished and if you don't mind could...
by 322126384
Mon Aug 15, 2011 9:25 am
Forum: iMacros for Firefox
Topic: Question About SEARCH command
Replies: 6
Views: 995

Re: Question About SEARCH command

I hope they include POS in the next version of iMacros. it would really help me out. in the mean time, is it possible to incorporate REGEXP or REGEXP type commands into the TAG command. because in my case i can also search the html attributes.

Thanks in Advance
by 322126384
Mon Aug 15, 2011 8:58 am
Forum: iMacros for Firefox
Topic: Variable Item Link
Replies: 3
Views: 967

Variable Item Link

I am running a sript that loops a macro until a number between 1-100 is found. Here it is extracted = null while (extracted >=1<=100) { iimPlay("CODE: TAG POS=1 TYPE=A ATTR=HREF:/map.php?map=23") iimPlay("CODE: TAG POS=1 TYPE=P ATTR=TXT:Number<SP>of<SP>Spaces:<SP>* EXTRACT") extracted = iimGetLastEx...