1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Imacros help?

Discussion in 'General Scripting Chat' started by ZeroBladeStaten, Jul 21, 2012.

  1. ZeroBladeStaten

    ZeroBladeStaten Newbie

    Joined:
    Dec 16, 2009
    Messages:
    5
    Likes Received:
    0
    I need coding a conditional statement looking for 2 specific words and if one of the words is on the page to run a specific macro.

    I know its an "IF ELSE statement" but I'm an imacros noob. :/

    Any help would be appreciated.

    The 2 words is "Accepted" and "Battle".
    I want it to run a specific macro (Lets call it A1.iim) if "Accepted" is found and a specific macro (Lets call this one, B1.iim) if "Battle" is found.

    PM me if you need more details and what not.
     
  2. zelma143

    zelma143 Power Member

    Joined:
    Jun 25, 2010
    Messages:
    571
    Likes Received:
    37
    Occupation:
    PHP programmer,Bot maker,iMacro script maker
    first scrape value from page what's there "Accepted" or "Battle".. and iimgetlastextract ()
    and put into var and check with if condition.
    that's you can do with js.