EMC Macro Mod Scripts

Discussion in 'Acceptable EMC Minecraft Mods' started by JackBiggin, Feb 1, 2013.

  1. Many of these scripts require the chat filter module to be installed. This can be obtained here.

    1. While in game, sneak and press the ¬ button (above tab)
    2. Click the menu icon in the top left corner, and click "Edit chat filter"
    3. Copy paste this code into the box that appears and hit save
    4. ???
    5. Profit

    Hide Shop Spam - Requires Chat Filter

    Code:
    IFMATCHES(%CHATCLEAN%,"([a-z0-9_\-]{2,16}) to your shop for FREE.",&item,1);
      FILTER;
    ENDIF;
    
    IFMATCHES(%CHATCLEAN%,"([a-z0-9_\-]{2,16}) for FREE from your shop.",&item,1);
      FILTER;
    ENDIF;
    
    IFMATCHES(%CHATCLEAN% "([a-z0-9_\-]{2,16}) for ([a-z0-9_\-]{2,16}) rupees from you.",&item,1 &price,2);
      FILTER;
    ENDIF;
    
    IFMATCHES(%CHATCLEAN%,"([a-z0-9_\-]{2,16}) for ([a-z0-9_\-]{2,16}) rupees to you.",&item,1,&price,2);
      FILTER;
    ENDIF;

    Hide Vote Nag Messages V1.1 - Requires Chat Filter

    WARNING: This will disabled ALL Empire Update messages - although this shouldn't be a problem if you use the forums regularly. The bottom line of the message will still appear though - not much I can do about that.
    Code:
    IFMATCHES(%CHATCLEAN%,"\[EMC Update\]);
      FILTER;
    ENDIF;

    Disable Town Chat - Requires Chat Filter

    Currently, there is no way to toggle town chat on and off - I'm working on this now. If you have this script installed, town chat will be completely gone. I am working on making a toggle now.
    Code:
        IFMATCHES(%CHATCLEAN%,"T ([a-z0-9_\-]{2,16}): ",&name,1);
        FILTER;
        ENDIF;
    607, Olaf_C, boozle628 and 12 others like this.
  2. Nice work. :) I love it. Keep them coming.
    mba2012, SoulPunisher and JackBiggin like this.
  3. Awesomesauce :D
  4. If you've added vote message hide - please replace it with the one I've replaced it with. There was a typo which causes the original not to work.
  5. Thanks Jack!
  6. add "i have free dirt at"
    bitmonger20 likes this.
  7. Just wait til SYSTEM revolts against you all...:D
  8. I've purposely made sure that they don't echo anything to chat, so in theory, SYSTEM shouldn't get set off.

    Watch me be wrong.
    607, jacob5089, TomCasalino and 4 others like this.
  9. I am having problems installing this *facepalm*
  10. $${#rawr = $$?;LOG($$?=%#rawr%);}$$ Simple little script I found. Simple do 40*40 (* is the times) and it will mutliply for you. I am not sure if all it can do is multply lol.
  11. I know it it rude to BUMP this again, but I just had to :p

    I made a little script for shop owners when people ask who sells stuff.

    Selling $$[Item] at (Res) - $$[Price] r for $$[Amount]!
    Pab10S likes this.
  12. ...it did.
    I forgot to enclose it in $${ and }$$.
  13. not a bad necro....i was looking for this
  14. omg this is long dead