I need to write an auto fish and I do not know how to indicate in an if when to pull out a fishing rod

Best posts made by Its Domme
-
Pls help
-
TickTimer
///api_version=2 var Timer = moduleManager.getModule('Timer'); var script = registerScript({ name: "TimerTick", version: "1.0.0", authors: ["ItsDoome1"] }); script.registerModule({ name: "TimerTick", category: "Fun", description: ":>", settings: { SpeedT: Setting.float({ name: "SpeedTimer", default: 1.5, min: 0.0, max: 20.0 }), Tick: Setting.integer({ name: "Tick", default: 1, min: 0, max: 20 }) } }, function (module) { module.on("update", function() { if(mc.thePlayer.ticksExisted % (1*module.settings.Tick.get()) == 0) { Timer.setState(true); } if(mc.thePlayer.ticksExisted % (1*module.settings.Tick.get()+5) == 0) { Timer.setState(false); } }); module.on("disable", function() { Timer.setState(false); }); module.on("enable", function() { moduleManager.getModule("Timer").getValue("Speed").set(module.settings.SpeedT.get()); }) } );
-
[help] Error in the script
I wanted to write a timer that will turn on and off every second, but the script did not appear
/// api_version=2 var script = registerScript({ name: "AacTimer", version: "1.0.0", authors: ["ItsDoome1"] }); script.registerModule({ name: "AacTimer", category: "Fun", description: "Timer For Aac" }, function (module) { }); module.on("update", function() { }); var secounds = java.("java.lang.System.currentTimeMillis"); function timer() { moduleManager.getModule("Timer").getValue("Speed").set(1.5); //Делает таймер со скоростью 1.5 }; function timer1() { moduleManager.getModule("Timer").getValue("Speed").set(1.0); //Делает таймер со скоростью 1.0 } if secounds = 1000 { timer() }; if secounds = 2000 { timer1() }; module.on("disable", function() { });
-
RE: [help] Error in the script
@skidma I started writing scripts not long ago
1-2days ago read liquidbounce api for the first time -
RE: [help] Error in the script
@idk-my-name said in [help] Error in the script:
your grammar is the worst in this fucking world
Ahah, I didn't fully learn javascirpt
-
RE: [help] Error in the script
@idk-my-name said in [help] Error in the script:
why are you laughing?
also, as fact, in English countries people do not use 'haha' or 'ahah' when typing. They use 'LMAO' as far as i knowIm from rus. Pls send me Core.Lib
-
RE: [help] Error in the script
@skidma which version is the best elimination now?
Latest posts made by Its Domme
-
Hello. Script not work
Hello. Who is not hard to help fix the script, it does not work.
function getBaseMoveSpeed() { var BaseSpeed = 0.2873; baseSpeed *= 1.0 + 0.2 * (0.20000000298023224 + 1); return baseSpeed; } var stage; var moveSpeed; var lastDist; var name1 = "KirkaLongJump" var category1 = "Movement" // Movement, Misc, Combat, Fun, Player, Exploit, World, Render var author1 = "ItsDoome1" var script = registerScript({ name: name1, version: "1.0.0", authors: [author1] }); script.registerModule({ name: name1, category: category1, description: author1 settings: { Boost: Setting.integer({ name: "Boost", default: 24, min: 4, max: 25 }) } }, function (module) { module.on("enable", function() { stage = 0; }); module.on("move", function() { if (mc.thePlayer.moveForward != 0 || mc.thePlayer.moveStrafing != 0) { if (stage == 0) { moveSpeed = 1 + getBaseMoveSpeed() - 0.05; } else { mc.thePlayer.motionY = 0.42; moveSpeed *= 2.13; if (stage == 2) { var d = 0.66 * (lastDist - getBaseMoveSpeed()); moveSpeed = lastDist - d; } else { moveSpeed = lastDist - lastDist / 159; } } moveSpeed = Math.max(getBaseMoveSpeed(), moveSpeed) mc.setMoveSpeed = moveSpeed if (!mc.thePlayer.isCollidedVertically) { mc.thePlayer.setY(mc.thePlayer.motionY = -1.0-4) stage++; } else if (stage > 0) { moduleManager.getModule('KirkaLongJump').setState(false); } } }); module.on("update", function() { if (mc.thePlayer.moveForward != 0.0 || mc.thePlayer.moveStrafing != 0.0) { var d1 = mc.thePlayer.x - mc.thePlayer.prevPosX; var d2 = mc.thePlayer.z - mc.thePlayer.prevPosZ; lastDist = Math.sqrt(d1 * d1 + d2 * d2); } else { moduleManager.getModule('KirkaLongJump').setState(false); } }); });
-
help please.
ClientUtils.setMoveSpeed(paramMoveEvent, this.moveSpeed = Math.max(NCP Speed.getBaseMoveSpeed(), this.moveSpeed));
how can I rewrite this line in javascript -
RE: Help...
@auto-reply-bot What is real. why < in another explain, am I stupid or I do not quite understand what hurttime
-
Help...
Help how to make it so that with damage the player would go forward with a sprint
if (mc.thePlayer.hurttime < 0) { mc.gameSettings.keyBindForward.pressed = true; }
-
RE: Help if it's not difficult
@mems I found. How to close or say that everything is already.?