Autosprint for Macromod

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

  1. Videowiz92

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

    Joined:
    Jan 30, 2012
    Messages:
    2,982
    Trophy Points:
    75,050
    Gender:
    Male
    Ratings:
    +1,147
    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:
    575
    Trophy Points:
    17,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,963
    Trophy Points:
    67,790
    Gender:
    Male
    Ratings:
    +1,114
    -.- 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
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Prestige ⭐ I ⭐ Premium Upgrade

    Joined:
    Dec 9, 2012
    Messages:
    4,143
    Trophy Points:
    44,170
    Gender:
    Male
    Ratings:
    +563
    You might have to bind it as $${$$<filename.txt>}$$ so it actually does something and not just the command
     
  5. Stoolio

    Stoolio Formerly known as runakilli
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Ex-President ⚒️⚒️ Prestige ⭐ II ⭐ Premium Upgrade

    Joined:
    May 23, 2012
    Messages:
    1,339
    Trophy Points:
    46,420
    Gender:
    Male
    Ratings:
    +465
    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,504
    Trophy Points:
    89,420
    Gender:
    Male
    Ratings:
    +1,216
    What Runa said.
     
  7. Lee1104

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

    Joined:
    Oct 5, 2012
    Messages:
    1,966
    Trophy Points:
    21,150
    Gender:
    Male
    Ratings:
    +324
    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,135
    Trophy Points:
    80,230
    Ratings:
    +6,941
    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:
    36,810
    Gender:
    Male
    Ratings:
    +46
    #9 cida, Jun 6, 2013
    Last edited: Jun 6, 2013
  10. Videowiz92

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

    Joined:
    Jan 30, 2012
    Messages:
    2,982
    Trophy Points:
    75,050
    Gender:
    Male
    Ratings:
    +1,147
    It won't work.
     
  11. officepwnz123

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

    Joined:
    Aug 25, 2012
    Messages:
    990
    Trophy Points:
    57,920
    Gender:
    Male
    Ratings:
    +1,018
    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,504
    Trophy Points:
    89,420
    Gender:
    Male
    Ratings:
    +1,216
    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:
    990
    Trophy Points:
    57,920
    Gender:
    Male
    Ratings:
    +1,018
    Sprinting macro.