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

Script ingoring lines

Discussion in 'HTML & JavaScript' started by philwasted, Dec 1, 2012.

  1. philwasted

    philwasted Newbie

    Joined:
    Aug 18, 2012
    Messages:
    24
    Likes Received:
    0
    I edited this a little bit. But it seems to ignore


    macro += "TAG POS=1 TYPE=TD ATTR=CLASS:aiIconPopUpClose&&TXT:" + "\n";
    macro += "TAG POS=1 TYPE=TYPE=SPAN ATTR=CLASS:notranslate&&TXT:" + "\n";


    and not change to the next page like it should it just loops back to the top of the first page.


    Code:
    var macro;
    macro =  "CODE:";
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=BUTTON ATTR=TYPE:button&&CLASS:ui-button<SP>ui-blue<SP>ui-button-small&&TXT:Yes" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=2 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=BUTTON ATTR=TYPE:button&&CLASS:ui-button<SP>ui-blue<SP>ui-button-small&&TXT:Yes" + "\n"; 
    macro +=  "TAG POS=1 TYPE=DIV ATTR=CLASS:close<SP>text&&TXT:x" + "\n"; 
    macro +=  "TAG POS=1 TYPE=IMG ATTR=SRC://live.assets.mybcdna.com/updateicons/notifications_x.gif&&ALT:Close&&TXT:" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=3 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=BUTTON ATTR=TYPE:button&&CLASS:ui-button<SP>ui-blue<SP>ui-button-small&&TXT:Yes" + "\n"; 
    macro +=  "TAG POS=1 TYPE=DIV ATTR=CLASS:close<SP>text&&TXT:x" + "\n"; 
    macro +=  "TAG POS=1 TYPE=IMG ATTR=SRC://live.assets.mybcdna.com/updateicons/notifications_x.gif&&ALT:Close&&TXT:" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=4 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=BUTTON ATTR=TYPE:button&&CLASS:ui-button<SP>ui-blue<SP>ui-button-small&&TXT:Yes" + "\n"; 
    macro +=  "TAG POS=1 TYPE=IMG ATTR=SRC://live.assets.mybcdna.com/updateicons/notifications_x.gif&&ALT:Close&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=DIV ATTR=CLASS:close<SP>text&&TXT:x" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=5 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=BUTTON ATTR=TYPE:button&&CLASS:ui-button<SP>ui-blue<SP>ui-button-small&&TXT:Yes" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=1 TYPE=IMG ATTR=SRC://live.assets.mybcdna.com/updateicons/notifications_x.gif&&ALT:Close&&TXT:" + "\n"; 
    macro +=  "TAG POS=6 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=BUTTON ATTR=TYPE:button&&CLASS:ui-button<SP>ui-blue<SP>ui-button-small&&TXT:Yes" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=1 TYPE=TD ATTR=CLASS:aiIconPopUpClose&&TXT:" + "\n"; 
    macro +=  "TAG POS=7 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=BUTTON ATTR=TYPE:button&&CLASS:ui-button<SP>ui-blue<SP>ui-button-small&&TXT:Yes" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=1 TYPE=IMG ATTR=SRC://live.assets.mybcdna.com/updateicons/notifications_x.gif&&ALT:Close&&TXT:" + "\n"; 
    macro +=  "TAG POS=8 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=BUTTON ATTR=TYPE:button&&CLASS:ui-button<SP>ui-blue<SP>ui-button-small&&TXT:Yes" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=9 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=BUTTON ATTR=TYPE:button&&CLASS:ui-button<SP>ui-blue<SP>ui-button-small&&TXT:Yes" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=1 TYPE=IMG ATTR=SRC://live.assets.mybcdna.com/updateicons/notifications_x.gif&&ALT:Close&&TXT:" + "\n"; 
    macro +=  "TAG POS=10 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=BUTTON ATTR=TYPE:button&&CLASS:ui-button<SP>ui-blue<SP>ui-button-small&&TXT:Yes" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=1 TYPE=IMG ATTR=SRC://live.assets.mybcdna.com/updateicons/notifications_x.gif&&ALT:Close&&TXT:" + "\n"; 
    macro +=  "TAG POS=11 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=BUTTON ATTR=TYPE:button&&CLASS:ui-button<SP>ui-blue<SP>ui-button-small&&TXT:Yes" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=1 TYPE=IMG ATTR=SRC://live.assets.mybcdna.com/updateicons/notifications_x.gif&&ALT:Close&&TXT:" + "\n"; 
    macro +=  "TAG POS=12 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=BUTTON ATTR=TYPE:button&&CLASS:ui-button<SP>ui-blue<SP>ui-button-small&&TXT:Yes" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=1 TYPE=IMG ATTR=SRC://live.assets.mybcdna.com/updateicons/notifications_x.gif&&ALT:Close&&TXT:" + "\n"; 
    macro +=  "TAG POS=13 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=1 TYPE=IMG ATTR=SRC://live.assets.mybcdna.com/updateicons/notifications_x.gif&&ALT:Close&&TXT:" + "\n"; 
    macro +=  "TAG POS=14 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=1 TYPE=IMG ATTR=SRC://live.assets.mybcdna.com/updateicons/notifications_x.gif&&ALT:Close&&TXT:" + "\n"; 
    macro +=  "TAG POS=15 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=1 TYPE=IMG ATTR=SRC://live.assets.mybcdna.com/updateicons/notifications_x.gif&&ALT:Close&&TXT:" + "\n"; 
    macro +=  "TAG POS=16 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=1 TYPE=IMG ATTR=SRC://live.assets.mybcdna.com/updateicons/notifications_x.gif&&ALT:Close&&TXT:" + "\n"; 
    macro +=  "TAG POS=17 TYPE=A ATTR=TITLE:Icon<SP>Pop<SP>Up&&CLASS:largeActionIcon<SP>btnActionIcon<SP>aiIconPopUp&&TARGET:_top&&HREF:#&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=A ATTR=TITLE:Add<SP>as<SP>a<SP>Friend&&CLASS:btnActionIcon<SP>aiFriend&&HREF:#&&TXT:" + "\n"; 
    macro +=  "WAIT SECONDS=3" + "\n"; 
    macro +=  "TAG POS=1 TYPE=TD ATTR=CLASS:aiIconPopUpClose&&TXT:" + "\n"; 
    macro +=  "TAG POS=1 TYPE=TYPE=SPAN ATTR=CLASS:notranslate&&TXT:" + "\n";
    for(i=1;i<40;i++){
    iimPlay(macro);
    }

    I am not sure what I am doing wrong :/


    I am useing this for imacros if anyone code fix it I would love you :p
     
  2. philwasted

    philwasted Newbie

    Joined:
    Aug 18, 2012
    Messages:
    24
    Likes Received:
    0
    bump bump
     
  3. philwasted

    philwasted Newbie

    Joined:
    Aug 18, 2012
    Messages:
    24
    Likes Received:
    0
    bumps bumps?