Autosprint for Macromod

Discussion in 'Basic Tutorials' started by Videowiz92, Apr 29, 2013.

  1. Videowiz92

    Mythic ⚔️ I ⚔️ ECC Benefactor President ⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐⭐ X ⭐⭐ Gameplay Architect Premium Upgrade

    Joined:
    Jan 30, 2012
    Messages:
    3,021
    Trophy Points:
    77,660
    Gender:
    Male
    Ratings:
    +1,183
    In this tutorial, you will be making two .txt file scripts. First, go to your Keys Macro Bindings screen and select the ...I in the bottom right.
    [​IMG]

    Name the first file, "sprint.txt" (without ""s) and put in:
    Code:
    $${
    do;
        sprint();
        wait(10ms);
    loop;
    }$$
    [​IMG]

    Make another file and name it, "autosprint.txt" (again without ""s):
    Code:
    $${
    if(asprint); 
            log("&4[Macro] &fAutosprint off.");
            stop(sprint);
            unset(asprint);
    else; 
            log("&4[Macro] &fAutosprint on.");
            exec("sprint.txt","sprint");
            set(asprint);
    endif;
    }$$
    [​IMG]

    Bind this to a key and you're all set:
    Code:
    $$<autosprint.txt>
     
  2. jacob03082000

    jacob03082000 Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️

    Joined:
    May 31, 2012
    Messages:
    565
    Trophy Points:
    28,040
    Gender:
    Male
    Ratings:
    +103
    It dosent work.
     
  3. Harryhaz1

    Harryhaz1 RIP Lava sponge.
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jan 16, 2012
    Messages:
    2,901
    Trophy Points:
    73,660
    Gender:
    Male
    Ratings:
    +1,111
    -.- don't just say "it doesn't work" say what you did, and why you think it doesn't work
     
  4. sick24

    sick24 Tycoon by day, best doctor by night
    Resident ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Prestige ⭐ I ⭐ Premium Upgrade

    Joined:
    Dec 9, 2012
    Messages:
    4,108
    Trophy Points:
    53,660
    Gender:
    Male
    Ratings:
    +550
    You might have to bind it as $${$$<filename.txt>}$$ so it actually does something and not just the command
     
  5. RealRunakilli

    RealRunakilli Formerly known as runakilli
    EcoMaster ⛰️⛰️⛰️⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Prestige ⭐ III ⭐ Premium Upgrade

    Joined:
    May 23, 2012
    Messages:
    1,247
    Trophy Points:
    54,910
    Gender:
    Male
    Ratings:
    +475
    It works. I did this last night.
     
  6. iSneaky

    iSneaky This is a local server for local people
    Resident ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Jul 14, 2012
    Messages:
    3,499
    Trophy Points:
    77,660
    Gender:
    Male
    Ratings:
    +1,255
    What Runa said.
     
  7. Lee1104

    Lee1104 Builder
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️

    Joined:
    Oct 5, 2012
    Messages:
    1,922
    Trophy Points:
    31,940
    Gender:
    Male
    Ratings:
    +322
    Whats the difference between the first and the second script?
     
  8. kukelekuuk

    kukelekuuk C͕̹̲̽ͪ͐ͩ̔L̜̦̝͈ͦ̿̾̿ḘA̻̗̤̳̐ͭ̆̿̃̑ͭN̊̓͑̇ͯ
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    May 25, 2011
    Messages:
    10,061
    Trophy Points:
    80,160
    Ratings:
    +6,925
    The first script is the actual running part, the second script is the enable/disable part.

    basically it does


    if enabled
    show disabled message, stop the sprint script and set to disabled.​
    else
    show enabled message, start the sprint script and set to enabled.​
     
  9. cida

    cida true blue full grown fair dinkum fkn aussie
    Builder ⛰️ Ex-President ⚒️⚒️ Premium Upgrade

    Joined:
    Apr 22, 2012
    Messages:
    119
    Trophy Points:
    42,810
    Gender:
    Male
    Ratings:
    +46
    #9 cida, Jun 6, 2013
    Last edited: Jun 6, 2013
  10. Videowiz92

    Mythic ⚔️ I ⚔️ ECC Benefactor President ⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐⭐ X ⭐⭐ Gameplay Architect Premium Upgrade

    Joined:
    Jan 30, 2012
    Messages:
    3,021
    Trophy Points:
    77,660
    Gender:
    Male
    Ratings:
    +1,183
    It won't work.
     
  11. officepwnz123

    officepwnz123 President
    President ⛰️⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️

    Joined:
    Aug 25, 2012
    Messages:
    982
    Trophy Points:
    56,160
    Gender:
    Male
    Ratings:
    +1,024
    Is there an update version for 1.6.2? I tried it and it didnt seem to work :/
     
  12. iSneaky

    iSneaky This is a local server for local people
    Resident ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Jul 14, 2012
    Messages:
    3,499
    Trophy Points:
    77,660
    Gender:
    Male
    Ratings:
    +1,255
    Do you mean a updates version of macro mod or the sprinting macro?
     
  13. officepwnz123

    officepwnz123 President
    President ⛰️⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️

    Joined:
    Aug 25, 2012
    Messages:
    982
    Trophy Points:
    56,160
    Gender:
    Male
    Ratings:
    +1,024
    Sprinting macro.