Need Help with Macro

Discussion in 'Help & Support / Errors & Bugs' started by mossfr, Apr 10, 2015.

  1. mossfr

    mossfr President
    President ⛰️⛰️ Ex-Tycoon ⚜️⚜️⚜️

    Joined:
    Dec 25, 2013
    Messages:
    1,223
    Trophy Points:
    34,860
    Gender:
    Male
    Ratings:
    +312
    I need help with a macro command.
    So on this server I want to be able to have /lot shown to me every couple minutes, without me clicking a button.
    Is this even possible?
    If it is, and you know how to do it, can you either tell me how or link me how?
    @emongolab @jakeyray18
    Thanks!
    -MassimoOG
     
    #1 mossfr, Apr 10, 2015
    Last edited: Apr 10, 2015
  2. Dccciz

    Dccciz Nicememer55
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Mar 8, 2013
    Messages:
    2,829
    Trophy Points:
    54,090
    EcoDollars:
    $0
    Ratings:
    +2,060
    Code:
    $${
    IF(%SERVER% == "mc.ecocitycraft.com");
        DO();
            ECHO("/lot")
            WAIT(240);
        LOOP;
    ENDIF;
    }$$
    Create a text file for that, and bind $$<textfile.txt> to a key. Whenever you press that key, /lot displays every 4 minutes.
     
  3. mossfr

    mossfr President
    President ⛰️⛰️ Ex-Tycoon ⚜️⚜️⚜️

    Joined:
    Dec 25, 2013
    Messages:
    1,223
    Trophy Points:
    34,860
    Gender:
    Male
    Ratings:
    +312
    If I wanted to use this on another server would I have to change the %server% == "mc.ecocitycraft.com"); ?
     
  4. Dccciz

    Dccciz Nicememer55
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Mar 8, 2013
    Messages:
    2,829
    Trophy Points:
    54,090
    EcoDollars:
    $0
    Ratings:
    +2,060
    Yes. I think you can also just get rid of the if/endif lines, but I haven't tried it yet. :p
     
  5. mossfr

    mossfr President
    President ⛰️⛰️ Ex-Tycoon ⚜️⚜️⚜️

    Joined:
    Dec 25, 2013
    Messages:
    1,223
    Trophy Points:
    34,860
    Gender:
    Male
    Ratings:
    +312
    Ok, thanks! :D