[iTz' Macros]

Discussion in 'Basic Tutorials' started by iTzXtremeGaming, Jan 20, 2016.

  1. iTzXtremeGaming

    iTzXtremeGaming Resident
    Resident ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐

    Joined:
    Mar 24, 2013
    Messages:
    1,404
    Trophy Points:
    62,660
    Gender:
    Male
    Ratings:
    +1,706
    Hi everyone so i'm working on making macros, and i'm just going to be posting the ones I create here for everyone to use, and also how to install them.

    I will update it as I go, so remember to check back frequently for new updates!

    Ever wanted your /kit(s) to get given to you when you join an SG game?! "Want" no more! Follow these simple steps and you'll get it up and running in no time!

    First of all, you need to go to the macro menu. Then navigate to from "Macro Binding:Key" to "Macro Binding:Events" and click the "OnChat" section.

    Copy and paste this code;
    Code:
    $${
    IFMATCHES(%CHAT%, "<InsertYourIGN> joined the game!");
    WAIT(50ms);
    ECHO("/kit <InsertKitsHereSeperateWithComma>");
    LOG(&7[&biTz&fMacro&7]&aYour kits have been generated!);
    ENDIF;
    }$$
    Once pasted, you need to configure the code a bit for your needs and to make it work!

    First, you need to change the <InsertYourIGN> on the IFMATCHES section. Simply delete that and insert your ingame name,
    Example; IFMATCHES(%CHAT%, "iTzXtremeGaming joined the game!");

    Simple as that! Next, you will need to change the ECHO bit and enter your kits, but remember to separate them with a comma!
    Example; ECHO("/kit miqpp,bfrpp,pfpp");

    After all that has been configured, you're good to go! You now have your kits to automatically go to your inventory when you join!

    Enjoy! Also feel free to leave feedback on this thread what you think of these macros, and if you need any help feel free to pm me or leave a msg on this thread!
    Hello, this macro will simply allow you to type a custom "/kit <name>" and you will receive it in sg.

    To start off, go to Macro Menu and go from Macro Binding:Key to Macro Binding:Event, you can do this by clicking the arrow that is pointing to the right.

    Once that has been done, open up "OnSendChatMessage" and copy and paste this code.

    Code:
    $${
    IFMATCHES(%CHAT%, "/kit <RenameToAnything>");
    WAIT(50ms);
    ECHO("/kit <InsertKitsHereSeperateWithComma>");
    WAIT(1)
    LOG(&7[&biTz&fMacro&7]&aYou have been given Kit <RenameToAnything>);
    ENDIF;
    }$$
    You must rename your /kit by taking out the <RenameToAnything> and replace it with something, eg "/kit itz".

    You must then configure the ECHO command, and replace the <InsertKitsHereSeperateWithComma>
    Example here, ECHO("/kit miqpp,bfrpp,pfpp");

    Last but not least, you have to configure the LOG command, and take out the <RenameToAnything> and replace it with the name you gave your kit!

    Once all of this has been done, go ahead and hit Save and join an sg! Try the /kit <name> and see if it gives you your kits! Enjoy!
    Hello, this is a macro which automatically enters the command "/sg vote" for you when you join an SG game. This one is probably the easiest out of them all.

    Navigate to the top left, on the macro menu. Then proceed to go from "Macro Bindings:Keys" to "Macro Bindings: Events" then navigate to the "OnChat" section and copy and paste this code in!

    Code:
    $${
    IFMATCHES(%CHAT%, "<InsertYourIGN> joined the game!");
    WAIT(50ms);
    LOG(&7[&biTz&fMacro&7]&aAutomatic SG Voter has voted!")
    ECHO("/sg vote");
    ENDIF;
    }$$
    
    Once done that, delete the <InsertYourIGN> part and enter it with your in-game name.

    After that, click save and join an SG game. It will wait around a second or two then /sg vote for you, enjoy!
    Hello, this macro notifies you when your durability on your tool goes below 100. It notifies you by bringing up a log on your screen in red writing which tells you that your durability is running low, and also gives you a ping incase you don't see the chat if you're watching a movie while melon farming or something. Follow these easy steps and you can install it in no-time!

    So you start off by heading to the macro menu, which is usually Shift+Grave, or whatever key you have it binded to. When the menu opens, navigate to top left where it comes up "Macro Bindings:Keys" and click the arrow facing right until you reach "Macro Bindings:Events".

    You must then click on "OnItemDurabilityChange" and copy and paste this code into it.

    Code:
    $${
    IF(DURABILITY < 101);
    playsound(random.orb);
    LOG(&7[&biTz&fMacro&7]&4Warning! This item only has %DURABILITY% use left!);
    ELSE;
    LOG(&7[&biTz&fMacro&7]&4Warning! This item only has %DURABILITY% use left!);
    ENDIF;
    }$$
    
    Once that has been pasted, hit save and go use a tool til it has less than 100 durability! It should create a log and then ping you! Enjoy, and if you have any questions just forum pm me, pm me in-game or leave a comment!

    *If you would like instead of it spamming you with reminders every time you use a durability under 100, copy and paste this code instead of the original, it will send a 1 time chat warning and a ping when your dura reaches 100 instead of spamming it every time your dura goes down. Thanks to coolslammer for this idea.

    Code:
    $${
    IF(DURABILITY < 101);
    playsound(random.orb);
    LOG(&7[&biTz&fMacro&7]&4Warning! This item only has %DURABILITY% use left!);
    ENDIF;
    }$$
    Ok, first of all for this one, you need to make a .txt file called "itzping.txt" which is located at the macro menu bottom right called Text Editor.

    Once you have created that, copy and paste this code inside ;
    Code:
    $${
    STRIP(&chat,%CHAT%);
    IFMATCHES(%&chat%,: (.*)itz);
    IFMATCHES(%&chat%,<AFK>);
    ELSE;
    PLAYSOUND(random.orb);
    ENDIF;
    ENDIF;
    }$$
    Once that has been created, you need to take out the letters "itz" after (.*) and replace "itz" with any key word that you would like to ping you when that word gets said in chat.

    Once you have done that and edited the word to whatever you'd like, click save.

    Head over to the top left where it comes up "Macro Bindings : Keys " and click the arrow towards the right so that you are on the "Macro Bindings : Events". Then navigate to the "onchat" option and paste this code inside so that it binds to the code.
    Code:
    $$<itzping.txt>
    Once that has been done, click save and type the key word in any chat, and you should hear an exp orb ping!

    If you have any questions abouy this, feel free to shoot me a pm or leave a comment!

    PS: These are all hand(not physically)-made by me and if you use them i'd appreciate if you gave me credit for them! Thank you :)

    -iTz
     
    • Like Like x 2
    • Informative Informative x 1
    • Useful Useful x 1
    • List
    #1 iTzXtremeGaming, Jan 20, 2016
    Last edited: Jan 25, 2016
  2. Bash100

    Bash100 :^)
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Aug 23, 2014
    Messages:
    1,338
    Trophy Points:
    40,090
    Gender:
    Male
    Ratings:
    +1,782
    Thank you for doing this, Itz! The SG vote macro will be very handy for myself. :)
     
  3. iTzXtremeGaming

    iTzXtremeGaming Resident
    Resident ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐

    Joined:
    Mar 24, 2013
    Messages:
    1,404
    Trophy Points:
    62,660
    Gender:
    Male
    Ratings:
    +1,706
    You're welcome bash, more to come soon! :)
     
  4. ChaaadMaxxx

    ChaaadMaxxx fσσтвαℓℓ α∂∂ιςт єςσℓєα∂єя
    Builder ⛰️ Ex-EcoLeader ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Oct 20, 2015
    Messages:
    315
    Trophy Points:
    23,690
    Gender:
    Male
    Ratings:
    +276
    Although I have no use for these because I make my own macros, this is a very cool collection and would be perfect to the new player/macro modder. I look forward to great thisngs from your macros :D
    +over 9000
     
  5. iTzXtremeGaming

    iTzXtremeGaming Resident
    Resident ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐

    Joined:
    Mar 24, 2013
    Messages:
    1,404
    Trophy Points:
    62,660
    Gender:
    Male
    Ratings:
    +1,706
    Thank you! It means a lot that people appreciate this :)
     
  6. Coolslammer3

    Coolslammer3 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Dec 1, 2013
    Messages:
    268
    Trophy Points:
    21,440
    Gender:
    Male
    Ratings:
    +74
    @iTzXtremeGaming The durability macro works great, but is there away to not make it say what durability the tool every time it loses durability?
     
  7. iTzXtremeGaming

    iTzXtremeGaming Resident
    Resident ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐

    Joined:
    Mar 24, 2013
    Messages:
    1,404
    Trophy Points:
    62,660
    Gender:
    Male
    Ratings:
    +1,706
    Probably, I'll look into it ;)
     
  8. Coolslammer3

    Coolslammer3 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Dec 1, 2013
    Messages:
    268
    Trophy Points:
    21,440
    Gender:
    Male
    Ratings:
    +74
  9. iTzXtremeGaming

    iTzXtremeGaming Resident
    Resident ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐

    Joined:
    Mar 24, 2013
    Messages:
    1,404
    Trophy Points:
    62,660
    Gender:
    Male
    Ratings:
    +1,706
    edit
     
    #9 iTzXtremeGaming, Jan 25, 2016
    Last edited: Jan 25, 2016
  10. Coolslammer3

    Coolslammer3 Builder
    Builder ⛰️ Ex-President ⚒️⚒️

    Joined:
    Dec 1, 2013
    Messages:
    268
    Trophy Points:
    21,440
    Gender:
    Male
    Ratings:
    +74
    $${
    IF(DURABILITY < 101);
    playsound(random.orb);
    LOG(&7[&biTz&fMacro&7]&4Warning! This item only has %DURABILITY% use left!);
    ENDIF;
    }$$


    This is the code if you dont want it to spam your chat, this will ping and spam chat only after the durability is below 100
     
  11. iTzXtremeGaming

    iTzXtremeGaming Resident
    Resident ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐

    Joined:
    Mar 24, 2013
    Messages:
    1,404
    Trophy Points:
    62,660
    Gender:
    Male
    Ratings:
    +1,706
    I'll add it in, thank you!
     
  12. iTzXtremeGaming

    iTzXtremeGaming Resident
    Resident ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐

    Joined:
    Mar 24, 2013
    Messages:
    1,404
    Trophy Points:
    62,660
    Gender:
    Male
    Ratings:
    +1,706
    If anyone has any certain requests, leave them here and i'll attempt to create them. Thank you :)

    itz
     
  13. WhiteSoxFan123

    WhiteSoxFan123 Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Feb 13, 2012
    Messages:
    273
    Trophy Points:
    26,240
    Ratings:
    +81
    is it illegal to make one that not only sees durability but also auto ereps for you? i have extcommands++ so i suppose it isn't too relevant for me, but i was just curious as doesn't seem to terribly hard to do.
     
  14. iTzXtremeGaming

    iTzXtremeGaming Resident
    Resident ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐

    Joined:
    Mar 24, 2013
    Messages:
    1,404
    Trophy Points:
    62,660
    Gender:
    Male
    Ratings:
    +1,706
    No, both things you listed are perfectly legal :).
     
  15. 314

    314 Irrational GameAdmin, former ServerAdmin
    EcoLegend ⛰️⛰️⛰️⛰️ Ex-President ⚒️⚒️ Prestige ⭐ VI ⭐ Premium Upgrade

    Joined:
    Apr 1, 2014
    Messages:
    7,219
    Trophy Points:
    97,160
    EcoDollars:
    $6,000,000
    Ratings:
    +4,955
    If I may suggest some improvements...

    Whenever you are creating custom commands, I recommend to add ^ before the /command and its parameter(s) and $ after. This prevents a wrong alert for saying "Use /kit abcdef to receive a custom kit" or anything similar because it must match the beginning and the end of the string.
    For commands, I would also add a FILTER() because then your custom command is not sent to the server.

    I don't really understand this part yet - the first macro seems to check "Is the item durability 100 or lower? If yes, send an alert. If not, send an alert, anyway" every time the item loses durability while the second one should spam your screen normally, once for every change of the item durability at 100 or below.
     
  16. iTzXtremeGaming

    iTzXtremeGaming Resident
    Resident ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐

    Joined:
    Mar 24, 2013
    Messages:
    1,404
    Trophy Points:
    62,660
    Gender:
    Male
    Ratings:
    +1,706
    I'm heading out, i'll look into bottom part later.

    Also thanks for the tips :)
     
  17. cookiefan8888

    cookiefan8888 Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Sep 26, 2015
    Messages:
    207
    Trophy Points:
    16,090
    Gender:
    Male
    Ratings:
    +211
    Is it possible to make a macro that makes you spin 180 degrees?
     
  18. iTzXtremeGaming

    iTzXtremeGaming Resident
    Resident ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐

    Joined:
    Mar 24, 2013
    Messages:
    1,404
    Trophy Points:
    62,660
    Gender:
    Male
    Ratings:
    +1,706
    Yes, would you like to be facing down or upwards or just your current state?
     
  19. cookiefan8888

    cookiefan8888 Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Sep 26, 2015
    Messages:
    207
    Trophy Points:
    16,090
    Gender:
    Male
    Ratings:
    +211
    Lets just say i am pvping and i need to hit someone behind me really fast... I would press *set button* and i would spin around (but i wouldnt have it auto hit ofc) and start hitting him...
     
    #19 cookiefan8888, Feb 7, 2016
    Last edited: Feb 7, 2016
  20. iTzXtremeGaming

    iTzXtremeGaming Resident
    Resident ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐

    Joined:
    Mar 24, 2013
    Messages:
    1,404
    Trophy Points:
    62,660
    Gender:
    Male
    Ratings:
    +1,706
    Okay I will get to work on this in the morning, it's 3am :p