• 0

    posted a message on Macro / Keybind Mod

    Zilla, it should be ready tomorrow

    Posted in: Minecraft Mods
  • 1

    posted a message on Macro / Keybind Mod
    Quote from Cloud7050»


    For example, in a GUI icon I have the text (idk what it's actually called) "coarse_dirt" which would show a coarse dirt icon, how would i make it show something else instead using SETPROERTY or another command?


    Also, may I know where the gui.xml is? I can't seem to find it even in search. I'm on Mac OS Sierra if that helps.


    %HITNAME% will show the name of the item you are looking at within 7 blocks if you want to see blocks further away, use the trace command.

    gui.xml is there : \.minecraft\liteconfig\common\macros\.gui.xml
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Cloud7050»


    That's a very cool feature to run macros straight from chat, may I know which commands you used to make such a thing possible?


    An easy way to do that would be to have a keybind with $${$$?}$$
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from SPThiel»

    @Im_Papa I did. Could you tell me where you put it and how do you activate the script?


    @supers0lar just use key(attack)


    in a txt file, all it returns is %PLAYERNAME%
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from SPThiel»

    @Im_papa yes I am


    examplescript:



    foreach(players)

    log(%PLAYERNAME%)

    next



    can you test that, because it doesn't work at all for me.
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from SPThiel»

    @Im_Papa yes it's basically what you wrote just foreach(players) you then get the playername with %PLAYERNAME%


    ~ spthiel


    does not seem to work, are you sure these variable exist?
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod

    Hey guys, it might be a stupid question but is there a variable I can use like foreach(onlineplayers) to check who is online?

    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Cloud7050»

    Holy damn that GUI is complex to me, some person with no official coding knowledge. Where do you paste all that GUI code into?


    in the .gui file
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod

    Yeah I wrote that code before I even knew arrays were a thing in the mod and i couldnt be asked to change it since it worked

    Posted in: Minecraft Mods
  • 1

    posted a message on Macro / Keybind Mod
    Quote from Cloud7050»

    How did you do that that? :o

    Here's the code.

    set(@#small)
    //small is after the .
    set(@&big)
    //big is before the .
    if(@#speed < 10)
    // 0.0 to 0.9
        @&big = 0.   
        echo("/speed %@&big%%@#speed%")
    elseif(@#speed < 20)
    // 1.0 to 1.9
        @#small = @#speed
        @&big = 1.
        dec(@#small,10)
        echo("/speed %@&big%%@#small%")
    elseif(@#speed < 30)
    // 2.0 to 2.9    
        @#small = @#speed
        @&big = 2.
        dec(@#small,20)
        echo("/speed %@&big%%@#small%")
    elseif(@#speed < 40)    
    // 3.0 to 3.9
        @#small = @#speed
        @&big = 3.
        dec(@#small,30)
        echo("/speed %@&big%%@#small%")
    elseif(@#speed < 50)   
    // 4.0 to 4.9 
        @#small = @#speed
        @&big = 4.
        dec(@#small,40)
        echo("/speed %@&big%%@#small%")
    elseif(@#speed < 60)   
    // 5.0 to 5.9
        @#small = @#speed
        @&big = 5.
        dec(@#small,50)
        echo("/speed %@&big%%@#small%")
    elseif(@#speed < 70)    
    // 6.0 to 6.9
        @#small = @#speed
        @&big = 6.
        dec(@#small,60)
        echo("/speed %@&big%%@#small%")
    elseif(@#speed < 80)    
    // 7.0 to 7.9
        @#small = @#speed
        @&big = 7.
        dec(@#small,70)
        echo("/speed %@&big%%@#small%")
    elseif(@#speed < 90)    
    // 8.0 to 8.9
        @#small = @#speed
        @&big = 8.
        dec(@#small,80)
        echo("/speed %@&big%%@#small%")
    elseif(@#speed < 100)  
    // 9.0 to 9.9 
        @#small = @#speed
        @&big = 9.
        dec(@#small,90)
        echo("/speed %@&big%%@#small%")
    elseif(@#speed == 100)
    //10
        @#small = @#speed
        @&big = 100.
        dec(@#small,100)    
        echo("/speed %@&big%%@#small%")
    endif

    Here's the gui

        <!-- Config for layout 'speed' -->
        <gc:guilayout columns="2" display="speed" dots="false" grid="false" name="speed" padding="2" rows="2">
            <gc:controls>
                <gc:label id="365" name="LABEL 365" x="1" y="0">
                    <align>middle centre</align>
                    <background>#6B000000</background>
                    <binding>%@#speed%</binding>
                    <border>1</border>
                    <colour>#00FF00</colour>
                    <shadow>0</shadow>
                    <text>%%</text>
                    <visible>1</visible>
                </gc:label>
                <gc:button id="366" name="BUTTON 366" x="0" y="0">
                    <background>#AA000000</background>
                    <colour>#00FF00</colour>
                    <hide>0</hide>
                    <hotkey>0</hotkey>
                    <sticky>0</sticky>
                    <text>GO</text>
                    <visible>1</visible>
                </gc:button>
                <gc:slider colspan="2" id="367" name="SLIDER 367" value="24" x="0" y="1">
                    <background>#AA000000</background>
                    <binding>@#speed</binding>
                    <calcmax>1</calcmax>
                    <calcmin>1</calcmin>
                    <colour>#00FF00</colour>
                    <hotkeydec>0</hotkeydec>
                    <hotkeyinc>0</hotkeyinc>
                    <max>100</max>
                    <min>0</min>
                    <visible>1</visible>
                </gc:slider>
            </gc:controls>
        </gc:guilayout>
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod

    I managed to use the /speed command with a slider from 1 to 100 1 being 0.1 and 100 being 10.0, took a bit of work but works out great. Shame the mod doesn't support float values even tho XPOSF is a float. I basically turned a float into a 2 dimension array [0] is before the dot and [1] is after


    https://i.gyazo.com/daed23c64485020eb4691f6b29b4b2c8.mp4

    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from marcocorriero»

    Hello? no one can help me using that slider?


    What exactly do you want to do? You can bind a global value to your slider and read it with a script.
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod

    Hey Guys, is there a way for the macro mod to read an item lore?

    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod

    Is there a way to read the lore of an item, in this case, I want to read the info given on auction house

    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod

    Hey guys, I made a bot that I can control from my main account. I was wondering if there was any way to send the running task in chat or log them somewhere other than the playback fonction in the gui. I want to be able to know what task are running on my bot from my main account without having to be on the bot. (Like if I'm not home and use minechat to control my bot)

    Posted in: Minecraft Mods
  • To post a comment, please or register a new account.