I currently don't know how to copy and paste into a Mac mine craft version because control v doesn't work. Therefore I don't understand how to get macro to work.
Updated the transaction macro with a neat feature that can display the most recent transaction as a label all the time. If you want to see it just create a label and put "lasttrans" as the label name. I will be enabling another feature allowing you to toggle it with a chat command when I get time. If anyone wants a specific feature added feel free to request it. Here is the new code. Code: $${ STRIP(&chat,%CHAT%) IFMATCHES(%&chat%,\$[0-9]+\.\d\d has been taken from your account\.) MATCH(%&chat%,\$([0-9]+)\.([0-9]+),{#dollartaken,¢staken}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollartaken%.%¢staken% has been taken from your account.) PUSH(&recenttrans,%TIME%: $%#dollartaken%.%¢staken% has been taken from your account.) SETLABEL(lasttrans,%TIME%: $%#dollartaken%.%¢staken% has been taken from your account.,lasttrans) ENDIF IFMATCHES(%&chat%,\$[0-9]+ has been taken from your account\.) MATCH(%&chat%,\$([0-9]+),{#dollartaken}) LOGTO("trans-%SERVER%.txt",%TIME%: $%&dollartaken% has been taken from your account.) PUSH(&recenttrans,%TIME%: $%#dollartaken% has been taken from your account.) SETLABEL(lasttrans,%TIME%: $%#dollartaken% has been taken from your account.,lasttrans) ENDIF IFMATCHES(%&chat%,\$[0-9]+\.\d\d has been added to your account\.) MATCH(%&chat%,\$([0-9]+)\.(\d\d),{#dollaradded,¢sadded}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollaradded%.%¢sadded% has been added to your account.) PUSH(&recenttrans,%TIME%: $%#dollaradded%.%¢sadded% has been added to your account.) SETLABEL(lasttrans,%TIME%: $%#dollaradded%.%¢sadded% has been added to your account.,lasttrans) ENDIF IFMATCHES(%&chat%,\$[0-9]+ has been added to your account\.) MATCH(%&chat%,\$([0-9]+),{#dollaradded}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollaradded% has been added to your account.) PUSH(&recenttrans,%TIME%: $%#dollaradded% has been added to your account.) SETLABEL(lasttrans,%TIME%: $%#dollaradded% has been added to your account.,lasttrans) ENDIF IFMATCHES(%&chat%,\$[0-9]+\.\d\d has been sent to (.*)\.) MATCH(%&chat%,\$([0-9]+)\.(\d\d) has been sent to ((.*)),{#dollartaken,¢staken,&playername}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollartaken%.%¢staken% has been sent to %&playername%) PUSH(&recenttrans,%TIME%: $%#dollartaken%.%¢staken% has been sent to %&playername%) SETLABEL(lasttrans,%TIME%: $%#dollartaken%.%¢staken% has been sent to %&playername%,lasttrans) ENDIF IFMATCHES(%&chat%,\$[0-9]+ has been sent to (.*)\.) MATCH(%&chat%,\$([0-9]+) has been sent to ((.*)),{#dollartaken,&playername}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollartaken% has been sent to %&playername%) PUSH(&recenttrans,%TIME%: $%#dollartaken% has been sent to %&playername%) SETLABEL(lasttrans,%TIME%: $%#dollartaken% has been sent to %&playername%,lasttrans) ENDIF IFMATCHES(%&chat%,\$[0-9]+\.\d\d has been received from (.*)\.) MATCH(%&chat%,\$([0-9]+)\.(\d\d) has been received from ((.*)),{#dollaradded,¢sadded,&playername}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollaradded%.%¢sadded% has been received from %&playername%) PUSH(&recenttrans,%TIME%: $%#dollaradded%.%¢sadded% has been received from %&playername%) SETLABEL(lasttrans,%TIME%: $%#dollaradded%.%¢sadded% has been received from %&playername%,lasttrans) ENDIF IFMATCHES(%&chat%,\$[0-9]+ has been received from (.*)\.) MATCH(%&chat%,\$([0-9]+) has been received from ((.*)),{#dollaradded,&playername}) LOGTO("trans-%SERVER%.txt",%TIME%: $%#dollaradded% has been received from %&playername%) PUSH(&recenttrans,%TIME%: $%#dollaradded% has been received from %&playername%) SETLABEL(lasttrans,%TIME%: $%#dollaradded% has been received from %&playername%,lasttrans) ENDIF IFMATCHES(%&chat%,\[LOTTERY\] You got (.*) for \$(.*)) MATCH(%&chat%,^\[LOTTERY\] You got (.*) for \$((.*)),{&fill,#lotamount}) LOGTO("trans-%SERVER%.txt",%TIME%: You bought $%#lotamount% worth of lotto tickets.) PUSH(&recenttrans,%TIME%: You bought $%#lotamount% worth of lotto tickets.) SETLABEL(lasttrans,%TIME%: You bought $%#lotamount% worth of lotto tickets.,lasttrans) ENDIF IFMATCHES(%&chat%,^\[LOTTERY\] Congratulations go to %PLAYER% for winning \$(.*) with .*) MATCH(%&chat%,\[LOTTERY\] Congratulations go to %PLAYER% for winning \$((.*)) with (.*),{#winamount,&fill}) LOGTO("trans-%SERVER%.txt",%TIME%: You won lotto and received $%#winamount%.) PUSH(&recenttrans,%TIME%: You won lotto and received $%#winamount%.) SETLABEL(lasttrans,%TIME%: You won lotto and received $%#winamount%.,lasttrans) ENDIF IFMATCHES(%&chat%,^\[L\](.*)%PLAYER%: !trans recent) ARRAYSIZE(&recenttrans,#recentsize) #recentsize1 = #recentsize - 1 LOG(&41.&f%&recenttrans[%#recentsize1%]%) #recentsize2 = #recentsize - 2 LOG(&42.&f%&recenttrans[%#recentsize2%]%) #recentsize3 = #recentsize - 3 LOG(&43.&f%&recenttrans[%#recentsize3%]%) #recentsize4 = #recentsize - 4 LOG(&44.&f%&recenttrans[%#recentsize4%]%) #recentsize5 = #recentsize - 5 LOG(&45.&f%&recenttrans[%#recentsize5%]%) #recentsize6 = #recentsize - 6 LOG(&46.&f%&recenttrans[%#recentsize6%]%) #recentsize7 = #recentsize - 7 LOG(&47.&f%&recenttrans[%#recentsize7%]%) #recentsize8 = #recentsize - 8 LOG(&48.&f%&recenttrans[%#recentsize8%]%) #recentsize9 = #recentsize - 9 LOG(&49.&f%&recenttrans[%#recentsize9%]%) #recentsize10 = #recentsize - 10 LOG(&410.&f%&recenttrans[%#recentsize10%]%) ENDIF }$$
Navigate to the mods folder in your .minecraft or whatever it is called in Mac OS. Then open the "macros" folder. Create a new text file and call it whatever you want (something sensible linked to the function of the macro), then copy and paste the code into that text file. Save it and open minecraft and it should be there along with all your other macros.
rockboy2000, I'm not sure which code to use, but I would like to log ALL of my transactions, from like 3 different servers...is that possible? If so, what code do I use? And would I have to make like 3 different files for the 3 different servers I go on?
I am sorry, my macros are for ECC usage only, therefore I will only make or provide help with macros that are for ECC. For non ecc related questions the macro mod minecraft forum these may be better suited. Sent from my GT-I9300 using Tapatalk
rockboy2000, how about a code/macro for tracking every single transaction between me and other players?
I forgot to add that this macro already logs every transaction to a text file. You can find it in .minecraft\mods\macros\logs if I remeber correctly. Sent from my GT-I9300 using Tapatalk
Hello, Thank you for the macros, you really helped. However, in the lottery thing everything works fine except the timer, every single second I'm on ecocitycraft the timer stays 0 mins and 0 seconds. Can you explain what I'm doing wrong? Thank you, ShanePvP
Have you ensured that you have created all 3 macros, lottoloop, timer and Lottery? Also, I suggest you use the precise names that I have put above each macro as otherwise this "$${ECHO(/lot);EXEC(timer.txt,timer);EXEC(lottoloop.txt,lottoloop)}$$" line of code will not work as the EXEC commands are tied to the file names, timer.txt and lottoloop.txt.
In my "Edit text file" I have Lottery.txt is that good? Or do I also need to create another file named timer.txt or lotto loop.txt.?
Im not sure if I just broke something, but when trying to add the lottery macro I spam semicolons into chat every second that the timer counts down. EDIT: Fixed
Isn't there a Macro to log chat and to log who joined and left the server? If somebody could link me to this type of tutorial that would be great Thanks.
Not possible, there is no message in chat when a player leaves or joins the server. Sent from my GT-I9300 using Tapatalk
Im pretty sure it is possible, back when i used macros in early 2013 i had it setup to display when users join or leave. Don't know if it is possible anymore but if nothing changed im pretty sure its still possible. I don't use macros anymore so I wouldn't be able to test this again.