18: SETLABEL(balance,Balance: $%&balance%,balance) . . . 102: SETLABEL(balance,Balance: $%&balance%,balance) 103: SET(@&bal,$%&balance%) If you have bal as a global variable, why not use that instead? You can copy line 103 to line 18 and remove line 102. Then, in 'Label text' you put "Balance: %%" and in 'Binding' you put "@&bal"
Because I did not have it there originally, it was added in the end because people were having difficulty following, there is no need to totally replace it in general as some people have difficulty with one method and not the other. That is why there are both in the code.
The macro works great, but for some reason in singleplayer it still shows my balance. Tell me what I did wrong plz. jakeyray18
It was not designed to be hidden when is singleplayer, I never thought of that, I guess I could see if I could find a way to turn it off if you are in single player.
jakeyray18 is there a way to make that box smaller? Its huge from my perspective and I don't know how to make it smaller...
Open up the GUI editor, and click inchat or ingame. Then, make a label with the Label Text as Then, make the binding
Bump, updated and made some changes to the tutorial. Also removed the onjoingame update of the balance label as it no longer works correctly on ECC so you shall have to manually check you balance on logging in to update the label.
The onJoinGame event still works yes, however executing a command from script is no longer possible on ECC, So I am going to assume that you just have the onJoinGame event executing /bal without a script, which means you execute /bal everytime you log in to any server or singleplayer world. I have removed my code as it executed the /bal command only when you logged into ECC and no where else.
Oh. I thought the cofigs didn't only save the keybinds, but the events as well. But it doesn't surprise me...had to reinstall all my button/label macros today because I thought I'D only remove the default config... :/