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! Spoiler: Macros ; Spoiler: SG Kits on Join 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! Spoiler: Custom /kit for SG 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! Spoiler: /sg vote macro 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! Spoiler: Durability Notification w/Ping 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; }$$ Spoiler: Ping macro 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
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 +over 9000
@iTzXtremeGaming The durability macro works great, but is there away to not make it say what durability the tool every time it loses durability?
$${ 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
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.
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.
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...