<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[help] Error in the script]]></title><description><![CDATA[<p dir="auto">I wanted to write a timer that will turn on and off every second, but the script did not appear</p>
<pre><code>/// 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() {
});
</code></pre>
]]></description><link>https://forum.liquidbounce.net/topic/1545/help-error-in-the-script</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 02:27:10 GMT</lastBuildDate><atom:link href="https://forum.liquidbounce.net/topic/1545.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 04 Mar 2021 16:34:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [help] Error in the script on Sat, 10 Apr 2021 16:57:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/idk-my-name" aria-label="Profile: idk-my-name">@<bdi>idk-my-name</bdi></a> you are a literal savage</p>
]]></description><link>https://forum.liquidbounce.net/post/14340</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/14340</guid><dc:creator><![CDATA[Rafay]]></dc:creator><pubDate>Sat, 10 Apr 2021 16:57:23 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Sat, 10 Apr 2021 15:16:28 GMT]]></title><description><![CDATA[<p dir="auto">@cancernameu said in <a href="/post/13932">[help] Error in the script</a>:</p>
<blockquote>
<p dir="auto">! is a way of saying "not". Not i is therefore true if i is false, and vice versa.</p>
</blockquote>
<p dir="auto">You are a genius, can I have children for you? xd</p>
]]></description><link>https://forum.liquidbounce.net/post/14337</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/14337</guid><dc:creator><![CDATA[Its Domme]]></dc:creator><pubDate>Sat, 10 Apr 2021 15:16:28 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Wed, 07 Apr 2021 01:20:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/its-domme" aria-label="Profile: its-domme">@<bdi>its-domme</bdi></a></p>
<pre><code>var scriptName = "DommeTimer";
var scriptVersion = 0.1;
var scriptAuthor = "Domme"

var Title = new Title()
var client;

function Title() {

    this.getName = function() {
        return "DommeTimer"
    }

    this.getDescription = function() {
        return "on-off Timer thing"
    }

    this.getCategory = function() {
        return "Fun"
    }
    var i = false,
        secs = 1.0;

    this.onUpdate = function(event) {

        if (mc.thePlayer.timerSpeed % (secs * 20) == 0) {
            if (i) {
                mc.timer.timerSpeed = 1.5;
            } else {
                mc.timer.timerSpeed = 1;
            }

            i = !i;
        }
    }

    this.onDisable = function() {
        mc.timer.timerSpeed = 1;
    }

}

function onEnable() {
    client = moduleManager.registerModule(Title)
}

function onDisable() {
    moduleManager.unregisterModule(client)
}

</code></pre>
<p dir="auto">Let's go through the main code one by one:</p>
<p dir="auto"><code>    var i = false,         secs = 1.0;</code><br />
This declares 2 variables, <code>i</code> and <code>secs</code>.<br />
secs is the amount of seconds you want it to timer for, i determines whether to make timer faster or slower.</p>
<p dir="auto"><code>if(i)</code><br />
This is a shorthand for <code>i == true</code>.</p>
<p dir="auto"><code>mc.timer.timerSpeed = 1.5;</code><br />
This sets the timer value to 1.5, making the game 50% faster.</p>
<p dir="auto"><code>else</code><br />
This is like saying "if the previous statement is false, do this".</p>
<p dir="auto"><code>i = !i;</code><br />
This sets i to it's inverse. In programming, <code>!</code> is a way of saying "not". Not i is therefore true if i is false, and vice versa.</p>
]]></description><link>https://forum.liquidbounce.net/post/13932</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/13932</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 07 Apr 2021 01:20:33 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 17:56:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/its-domme" aria-label="Profile: its-domme">@<bdi>its-domme</bdi></a> is liquidbounce she</p>
]]></description><link>https://forum.liquidbounce.net/post/11837</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11837</guid><dc:creator><![CDATA[idk my name]]></dc:creator><pubDate>Thu, 04 Mar 2021 17:56:19 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 17:22:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/idk-my-name" aria-label="Profile: idk-my-name">@<bdi>idk-my-name</bdi></a> LiquidBounce b74</p>
]]></description><link>https://forum.liquidbounce.net/post/11836</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11836</guid><dc:creator><![CDATA[Its Domme]]></dc:creator><pubDate>Thu, 04 Mar 2021 17:22:22 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 17:18:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/its-domme" aria-label="Profile: its-domme">@<bdi>its-domme</bdi></a> who is she</p>
]]></description><link>https://forum.liquidbounce.net/post/11835</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11835</guid><dc:creator><![CDATA[idk my name]]></dc:creator><pubDate>Thu, 04 Mar 2021 17:18:57 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 17:07:08 GMT]]></title><description><![CDATA[<p dir="auto">@skidma What? She's not there ...</p>
]]></description><link>https://forum.liquidbounce.net/post/11833</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11833</guid><dc:creator><![CDATA[Its Domme]]></dc:creator><pubDate>Thu, 04 Mar 2021 17:07:08 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 17:05:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/its-domme" aria-label="Profile: its-domme">@<bdi>its-domme</bdi></a> b74</p>
]]></description><link>https://forum.liquidbounce.net/post/11831</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11831</guid><dc:creator><![CDATA[DreamWasFucked]]></dc:creator><pubDate>Thu, 04 Mar 2021 17:05:04 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 17:04:43 GMT]]></title><description><![CDATA[<p dir="auto">@skidma which version is the best elimination now?</p>
]]></description><link>https://forum.liquidbounce.net/post/11830</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11830</guid><dc:creator><![CDATA[Its Domme]]></dc:creator><pubDate>Thu, 04 Mar 2021 17:04:43 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 17:02:05 GMT]]></title><description><![CDATA[<p dir="auto">@skidma No rus = Russia</p>
]]></description><link>https://forum.liquidbounce.net/post/11829</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11829</guid><dc:creator><![CDATA[Its Domme]]></dc:creator><pubDate>Thu, 04 Mar 2021 17:02:05 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 17:00:25 GMT]]></title><description><![CDATA[<p dir="auto">@skidma yeah</p>
]]></description><link>https://forum.liquidbounce.net/post/11828</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11828</guid><dc:creator><![CDATA[idk my name]]></dc:creator><pubDate>Thu, 04 Mar 2021 17:00:25 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 17:00:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/its-domme" aria-label="Profile: its-domme">@<bdi>its-domme</bdi></a> i have left da link for it</p>
]]></description><link>https://forum.liquidbounce.net/post/11827</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11827</guid><dc:creator><![CDATA[idk my name]]></dc:creator><pubDate>Thu, 04 Mar 2021 17:00:15 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 17:00:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/its-domme" aria-label="Profile: its-domme">@<bdi>its-domme</bdi></a> rus = rush?</p>
]]></description><link>https://forum.liquidbounce.net/post/11826</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11826</guid><dc:creator><![CDATA[DreamWasFucked]]></dc:creator><pubDate>Thu, 04 Mar 2021 17:00:07 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 16:59:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/idk-my-name" aria-label="Profile: idk-my-name">@<bdi>idk-my-name</bdi></a> oh really</p>
]]></description><link>https://forum.liquidbounce.net/post/11825</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11825</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 04 Mar 2021 16:59:45 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 16:59:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/idk-my-name" aria-label="Profile: idk-my-name">@<bdi>idk-my-name</bdi></a> said in <a href="/post/11823">[help] Error in the script</a>:</p>
<blockquote>
<p dir="auto">why are you laughing?<br />
also, as fact, in English countries people do not use 'haha' or 'ahah' when typing. They use 'LMAO' as far as i know</p>
</blockquote>
<p dir="auto">Im from rus. Pls send me Core.Lib</p>
]]></description><link>https://forum.liquidbounce.net/post/11824</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11824</guid><dc:creator><![CDATA[Its Domme]]></dc:creator><pubDate>Thu, 04 Mar 2021 16:59:41 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 16:59:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/its-domme" aria-label="Profile: its-domme">@<bdi>its-domme</bdi></a> why are you laughing?<br />
also, as fact, in English countries people do not use 'haha' or 'ahah' when typing. They use 'LMAO' as far as i know</p>
]]></description><link>https://forum.liquidbounce.net/post/11823</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11823</guid><dc:creator><![CDATA[idk my name]]></dc:creator><pubDate>Thu, 04 Mar 2021 16:59:01 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 16:57:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/idk-my-name" aria-label="Profile: idk-my-name">@<bdi>idk-my-name</bdi></a> its 100% google translator</p>
]]></description><link>https://forum.liquidbounce.net/post/11821</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11821</guid><dc:creator><![CDATA[DreamWasFucked]]></dc:creator><pubDate>Thu, 04 Mar 2021 16:57:26 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 16:57:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/idk-my-name" aria-label="Profile: idk-my-name">@<bdi>idk-my-name</bdi></a> said in <a href="/post/11819">[help] Error in the script</a>:</p>
<blockquote>
<p dir="auto">your grammar is the worst in this fucking world</p>
</blockquote>
<p dir="auto">Ahah, I didn't fully learn javascirpt</p>
]]></description><link>https://forum.liquidbounce.net/post/11820</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11820</guid><dc:creator><![CDATA[Its Domme]]></dc:creator><pubDate>Thu, 04 Mar 2021 16:57:01 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 16:55:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/its-domme" aria-label="Profile: its-domme">@<bdi>its-domme</bdi></a> your grammar is the worst in this fucking world</p>
]]></description><link>https://forum.liquidbounce.net/post/11819</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11819</guid><dc:creator><![CDATA[idk my name]]></dc:creator><pubDate>Thu, 04 Mar 2021 16:55:56 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 16:53:52 GMT]]></title><description><![CDATA[<p dir="auto">@skidma I started writing scripts not long ago<br />
1-2days ago read liquidbounce api for the first time</p>
]]></description><link>https://forum.liquidbounce.net/post/11818</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11818</guid><dc:creator><![CDATA[Its Domme]]></dc:creator><pubDate>Thu, 04 Mar 2021 16:53:52 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 16:51:11 GMT]]></title><description><![CDATA[<p dir="auto">@skidma i just pasted his 'script'</p>
]]></description><link>https://forum.liquidbounce.net/post/11815</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11815</guid><dc:creator><![CDATA[idk my name]]></dc:creator><pubDate>Thu, 04 Mar 2021 16:51:11 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 16:50:29 GMT]]></title><description><![CDATA[<p dir="auto">lmao why</p>
<pre><code>moduleManager.getModule("Timer").getValue("Speed").set(1.5);
</code></pre>
<p dir="auto">when you can</p>
<pre><code>timer.timerSpeed = 1.5;
</code></pre>
]]></description><link>https://forum.liquidbounce.net/post/11814</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11814</guid><dc:creator><![CDATA[DreamWasFucked]]></dc:creator><pubDate>Thu, 04 Mar 2021 16:50:29 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 16:46:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/its-domme" aria-label="Profile: its-domme">@<bdi>its-domme</bdi></a> died laughing? Hello, laugh, im dad</p>
]]></description><link>https://forum.liquidbounce.net/post/11810</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11810</guid><dc:creator><![CDATA[idk my name]]></dc:creator><pubDate>Thu, 04 Mar 2021 16:46:24 GMT</pubDate></item><item><title><![CDATA[Reply to [help] Error in the script on Thu, 04 Mar 2021 16:45:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/idk-my-name" aria-label="Profile: idk-my-name">@<bdi>idk-my-name</bdi></a> Hahah I almost died laughing</p>
]]></description><link>https://forum.liquidbounce.net/post/11808</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/11808</guid><dc:creator><![CDATA[Its Domme]]></dc:creator><pubDate>Thu, 04 Mar 2021 16:45:43 GMT</pubDate></item></channel></rss>