I've been thinking about wanting 2 macros. The first shows the countdown 'till lotto and the second one sells all types of logs when tree feller is activated after 5 seconds. I don't have a balance really and was wondering if someone could make me them for free. Thank you and let me know what can be done. Edit: I would love it if the lotto macro was a label on the screen
I use my tree farm often and when I use tree feller, I have so many logs that I run out of room because my tree feller is long. When my tree feller runs, logs pile up so many times so I have to stop after I do it which, butcher can happen.
Hey, I finished the macro. To install it, press SHIFT+~ (to open the macro GUI), go the to events page (by using the arrows at the top). Then, click "onJoinGame". In that text field, paste this: $${DO()}$$$${SET(@#lotto, 1)}$$$${ECHO("/lotto")}$$$${WAIT(3)}$$$${LOOP()}$$ Then, press Save. Now, in the top-left corner, press the little tab and from the dropdown list select Edit Chat Filter. Paste the code below there, and press Okay. Now, go back to the main GUI screen. On the bottom-right, there should be three buttons. Click the spanner icon (GUI Editor). From the list of available screens, select "InGame" (double click). Then, in the bottom-left corner, press the plus icon > Add Label. You can put it anywhere you want on the screen. Leave the text field without touching it, and change the "Control Name" to "pot" (this is how much is in lotto). Then, add another label, and put the control name as "time". Then, just reconnect. It *might* mute the join messages when you first join the game. But anyway, it should put the lotto time and how much is in the pot onto the screen. It will update every 3 seconds. It won't remind you, but it'll put the lotto info on the screen. And you can always do /lotto and it'll perform like usual. Also, do tell me if it alerts you about spamming commands! Edit Chat Filter Code: Spoiler: Code if(@#lotto == 1) ifcontains(%CHATCLEAN%, "Draw in:") &timeleft = %CHATCLEAN% REPLACE(&timeleft, "[LOTTERY] Draw in: ", "") setlabel("time", %&timeleft%) endif() ifcontains(%CHATCLEAN%, "There is currently") &pot = %CHATCLEAN% REPLACE(&pot, "[LOTTERY] There is currently ", "") REPLACE(&pot, ".", "") setlabel("pot", %&pot%) endif() Ifcontains(%CHATCLEAN%, "Last winner: ") @#lotto = 0 endif() FILTER() endif()