My MYB Scripts

Clear Your Matches
Five Star
Birthday Greetings
I Don't Vote!!!
Mas sTickler
Mass Admirer
Match Maker
("Needs both Grease Monkey" &
 "Secret Admirer Cheat" installed.)

 

 

What You Need

FireFox Browser
iMacros for FireFox

 

 

Nice to Have

MYB Money Maker
Grease Monkey for FireFox
Secret Admirer Cheat
Various Battle Scripts
Notepad++
(a Fancy Text Editor)

 

 

Really, I Don't Vote!!!
   Removes voters that give excessive Vote Requests.
       Version 1.1

 

 It doesn't matter if I put "Don't Vote" in my name,
     Battlers don't care about that.
 They don't seem to like it when we click spam on them,
     I shouldn't care about that in return.
 Locating the battler and their profile then removing them?
     I shouldn't be forced to waist my time on them.


 This script removes the battlers from your friends list.
  It won't remove those you place in a SAFE LIST, in the script
  It won't remove those who vote only occationally.
    (less than 10 Vote Requests a day.)

Remember to save the "!IDontVote.js.txt" file into your
\Documents\iMacros\Macros directory as "!IDontVote.js"


as a note:   After a week of running this script, once a day,
most all the battlers will be removed.


!IDontVote.js.txt !IDontVote.js.txt
Size : 0.004 Kb
Type : txt

// Collecting VR's for Removing
// Written by DauntlessDragon
// Title: I Don't Vote.js
// Version 1

//
// This Script will not vote
// This Script collects the Vote Requestors' URL's
// Goes to their page,
// then Removed Friendship.
//
// Running this script several times over the course of a month
// Should remove all excessive battler's
//


// Profile URL's to keep
//  Notice the last URL in the list has no comma
    var safePlace = new Array  (
        "http://www.myyearbook.com/?mysession=cmVnaXN0cmF0aW9uX3Byb2ZpbGUmdXNlcmlkPTIxOTk0NjA1",
        "http://www.myyearbook.com/?mysession=cmVnaXN0cmF0aW9uX3Byb2ZpbGUmdXNlcmlkPTI3MDUzMjc0"
    );


///////////////////////////////////////
// Do not change anything below here //
///////////////////////////////////////
    var n       = 0;
    var tmp     = "";
    var thisVR  = "";
    var myVRs   = new Array();
    var myVRc   = new Array();
    var haveIT  = false;
    var working = true;
    var refreshNeeded   = 0;
    var thisBattle      = "";
    var BattleOnDeck    = "";
    var UpcomingBattle  = "";
    var YouShouldBeHere = "http://www.myyearbook.com/?mysession=YmF0dGxlc192b3RlcmVxdWVzdHM=";
    var Refresh  = "\n CODE:";
        Refresh += "\n TAB OPEN";
        Refresh += "\n TAB CLOSE";
        Refresh += "\n URL GOTO=" + YouShouldBeHere;
    var Tickle   = "CODE: 'Collecting the Requestor";
        Tickle  += "\n SET !ERRORIGNORE YES";
        Tickle  += "\n SET !TIMEOUT 5";
        Tickle  += "\n TAG POS=1 TYPE=SPAN ATTR=CLASS:*Color";
        Tickle  += "\n TAG POS=R-1 TYPE=A ATTR=HREF:?mysession=cmVnaXN0cmF0aW9uX3Byb2ZpbGUmdXNlcmlkP* EXTRACT=HREF";
        Tickle  += "\n TAG POS=1 TYPE=IMG ATTR=CLASS:closeRequestButton&&SRC:*close_gray_x.gif&&ID:closeRequest*";


// MAIN
// Get The Current URL
    iimPlay("CODE:SET !EXTRACT {{!URLCURRENT}}");
    ImHere = iimGetLastExtract(1);
    if (ImHere != YouShouldBeHere){
        iimPlay("CODE:URL GOTO=" + YouShouldBeHere);
    }

// Collect those who send VR's
    while (ThereAreMoreVRs()){
        iimPlay(Tickle);
        thisVR = iimGetLastExtract(1);
        haveIT=false;
        for(var i in safePlace){
            if (safePlace[i] == thisVR){haveIT=true;}
        }
        for(var i in myVRs){
            if (myVRs[i] == thisVR){
                haveIT=true;
                myVRc[i]++;
                break;
            }
        }
        if (!haveIT){
            myVRs.push(thisVR);
            myVRc.push(1);
        }
        if (refreshNeeded++ > 25){
            refreshNeeded   =  0;
            iimPlay(Refresh);
        }
    }


// Remove Vote Requesters
    for(var i in myVRs){
        if (myVRc[i]>10){
            RemoveVoter  = "CODE: 'Goto Voter's Page";
            RemoveVoter += "\n 'Removing this Voter\n";
            RemoveVoter += "\n SET !ERRORIGNORE YES";
            RemoveVoter += "\n SET !TIMEOUT 60";
            RemoveVoter += "\n URL GOTO="+myVRs[i];
            RemoveVoter += "\n TAG POS=1 TYPE=A ATTR=TXT:remove<SP>friendship";
            RemoveVoter += "\n TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:frmreg ATTR=VALUE:Yes";
            iimPlay(RemoveVoter);
        }
    }


// Function Junction
function ThereAreMoreVRs(){
    for (i=0;i<2;i++){
        var AreThereMoreVRs = "CODE: 'Collecting Battle ID";
            AreThereMoreVRs += "\n SET !ERRORIGNORE YES";
            AreThereMoreVRs += "\n SET !TIMEOUT 1";
            AreThereMoreVRs += "\n TAG POS=1 TYPE=SPAN ATTR=CLASS:hidden<SP>batid EXTRACT=TXT";
            AreThereMoreVRs += "\n TAG POS=2 TYPE=SPAN ATTR=CLASS:hidden<SP>batid EXTRACT=TXT";
        iimPlay(AreThereMoreVRs);
        UpcomingBattle = iimGetLastExtract(1);
        BattleOnDeck = iimGetLastExtract(2);
        if (thisBattle==UpcomingBattle){
            UpcomingBattle = BattleOnDeck;
        }
        thisBattle = UpcomingBattle;
        if ((thisBattle!="#EANF#")&&(thisBattle!=undefined)&&(thisBattle!=null)){return true;}
        iimPlay(Refresh);
    }
    return false;
}
 

Make a Free Website with Yola.