1. MaxToMinimum President
    President ⛰️⛰️ Ex-Tycoon ⚜️⚜️⚜️

    Joined:
    Dec 25, 2013
    Messages:
    1,217
    Trophy Points:
    24,860
    Gender:
    Male
    Ratings:
    +312
    Hey guys,
    I am looking to pay someone to make me a macro that whenever I do /lot buy <# of tix>, it won't allow it to go through, and thusly stops my lotto addiction.

    I was told this was possible, but it might not.
    Thanks!
     
  2. ProfessorDoom Builder
    Builder ⛰️ Ex-Resident ⚒️

    Joined:
    Sep 27, 2013
    Messages:
    48
    Trophy Points:
    29,225
    Gender:
    Male
    Ratings:
    +4
    It might be possible but I am not that familiar with Minecraft macro coding but I can try I have the first few line setup but I don't really know how to make it so that once it detects it in chat it would either replace the #of tix with 0 or just not execute the commands. I will paste what I have so far but its not much:

    $${
    STRIP(&chat,%CHAT%)
    IFMATCHES(%&chat%,Type /lot buy [0-9]+)
     
  3. Mission001 Ex-EcoLegend HⱻặĐHůƞẗǝɍ
    ECC Sponsor President ⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐ Premium Upgrade

    Joined:
    Apr 16, 2011
    Messages:
    5,497
    Trophy Points:
    106,160
    Gender:
    Male
    EcoDollars:
    $495
    Ratings:
    +6,468
  4. 314 Irrational GameAdmin, former ServerAdmin
    EcoLegend ⛰️⛰️⛰️⛰️ Ex-President ⚒️⚒️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    7,010
    Trophy Points:
    101,160
    EcoDollars:
    $6,000,000
    Ratings:
    +4,919
    If I may add something here...

    1. /lot buy 0 will still purchase one ticket as /lot buy without a (valid) number will purchase one single ticket.

    2. MY own code suggestion:
    Code:
    lottoban.txt
    $${
    IFMATCHES(%CHAT%,"^/lot(to|tery)? buy")
    FILTER()
    LOG("&cYou may not buy a lotto ticket.")
    ENDIF
    }$$
    
    Absolutely no warranty. Untested, but possibly working. Bind to onSendChatMessage (Important. NOT to onChat!) - if you have any other macros there, add $$<lottobuy.txt> as the very first macro and add the rest behind a | symbol.[/CODE]
     
    #4 314, Jun 5, 2016
    Last edited: Jun 5, 2016