@droby the reason the [ ] do something is because ifmatches uses regex, instead I suggest you use ifcontains for simple things where you don't need regex
Hi, I have a error getting nullpointerexeption on my script, any help?
[22:50:24] [main/INFO] [LiteLoader]: java.lang.NullPointerException
at net.eq2online.macros.core.executive.MacroAction.executeAction(MacroAction.java:258)
at net.eq2online.macros.core.executive.MacroAction.execute(MacroAction.java:169)
at net.eq2online.macros.core.executive.MacroActionProcessor.execute(MacroActionProcessor.java:226)
at net.eq2online.macros.core.Macro.play(Macro.java:464)
at net.eq2online.macros.core.Macros.onTick(Macros.java:1064)
at net.eq2online.macros.core.MacroModCore.onTickInGame(MacroModCore.java:265)
at net.eq2online.macros.core.MacroModCore.onTick(MacroModCore.java:245)
at net.eq2online.macros.LiteModMacros.onTick(LiteModMacros.java:120)
at com.mumfrey.liteloader.core.event.HandlerList$Tickable9.onTick(HandlerList$Tickable9.java:100)
at com.mumfrey.liteloader.client.LiteLoaderEventBrokerClient.onTick(LiteLoaderEventBrokerClient.java:433)
at net.minecraft.client.Minecraft.handler$onTick$zbh000(Minecraft.java:3924)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1117)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
Hello, I have spent a good time creating this script to grow crops for hours, I already solved all the problems that arose for not knowing how to program but now I have a bump, I just finished but I don't know how to start the attack action pressed, I have read too much from here and I still have no idea, keydown () does not work to attack and key () only presses the key once, here I leave the script in case someone is curious and can help me integrate the action of attack and leave it pressed as long as the script works
I would love to see this mod come back to live and updated to the latest version. I used it a few years back and loved it. Would love to make use on it on my new server.
Hey, I'm trying to create a script that triggers when someone gets punished on our server.
The message looks like this:
The main problem is, that "[" and "]" are blue in the script, so they're doing something but I'm not sure what.
Also it don't work with "%CHATCLEAN%" either.
$${
IFMATCHES(%CHAT%,"&cwurde von [UC]Droby zu");
LOG("Ban-Log!");
LOG("Ban-Log!");
ENDIF;
}$$
Could you help me out?
Did you put that in onChat?
To avoid these characters test it with
Test it without color-formatting
Yes, yours worked, thank you ♥
Any way to get a target? Like for example you're looking at a creeper, then it outputs creeper?
For example:
If(%targetifthisexists% = creeper);
dothis
else if(%targetifthisexists% = mocreatures:Ogre); #this is a modded mob from a mod
dothis
else(%targetifthisexists% = null);
donothing
endif
And where can I find a documentation on everything?
As for documentation check https://beta.mkb.gorlem.ml/docs/actions
As for the actual question: the HIT variables will be of help to you
@droby the reason the [ ] do something is because ifmatches uses regex, instead I suggest you use ifcontains for simple things where you don't need regex
What would you put for parameters for running a macro that keydown(forward);wait(1);keyup(forward); this is a placeholder
Hi, I have a error getting nullpointerexeption on my script, any help?
Hello, I have spent a good time creating this script to grow crops for hours, I already solved all the problems that arose for not knowing how to program but now I have a bump, I just finished but I don't know how to start the attack action pressed, I have read too much from here and I still have no idea, keydown () does not work to attack and key () only presses the key once, here I leave the script in case someone is curious and can help me integrate the action of attack and leave it pressed as long as the script works
do;
look(0,0);
look(88,0);
keydown(forward);
wait(250ms);
keydown(right);
wait(24000ms);
keyup(right);
look(0,0);
look(92,0);
keydown(left);
wait(24000ms);
keyup(left);
keydown(forward);
look(0,0);
look(88,0);
keydown(right);
wait(24000ms);
keyup(right);
keydown(forward);
look(0,0);
look(92,0);
keydown(left);
wait(24000ms);
keyup(left);
keyup(forward);
keydown(back);
wait(250ms);
keyup(back);
loop;
@Rodr you will have to create a seperate script in which you put a loop to attack
cleared up
mod download doesnt work
The links on the first page are still working
Maybe test it with another browser
Is there a way to do multi conditional if statements?
You can use AND and OR:
Hello, does anyone know how to fix the stack overflow in script problem? Ive tried a lot of stuff but none has worked.
I would love to see this mod come back to live and updated to the latest version. I used it a few years back and loved it. Would love to make use on it on my new server.
anyone have an auto enchant and auto disenchant with a macro or a script on vanilla minecraft
,
Is there a version for 1.8.9?