<?xml version="1.0"?>
<rss version="2.0"><channel><title>Lua scripts Latest Topics</title><link>https://forum.otclientbot.com/index.php?/forum/11-lua-scripts/</link><description>Lua scripts Latest Topics</description><language>en</language><item><title>Script</title><link>https://forum.otclientbot.com/index.php?/topic/625-script/</link><description><![CDATA[<p>
	Hi Zelek,
</p>

<p>
	 
</p>

<p>
	Can you write me a script for DBVictory client to use item with ID: 10140 when another player shows up on screen or when alert "Player on Screen" is triggered..?
</p>

<p>
	Also is it possible to have an alert script for when the message "23:56 Sense Alert: [Player Name] trying to find you!" appears in Log Chat ?? Basically an alert when someone is trying to sense me..?
</p>
]]></description><guid isPermaLink="false">625</guid><pubDate>Thu, 29 Jan 2026 23:58:01 +0000</pubDate></item><item><title>Pokenumb.pl Fishing/healing</title><link>https://forum.otclientbot.com/index.php?/topic/614-pokenumbpl-fishinghealing/</link><description><![CDATA[<p>
	<span style="background-color:rgba(13,13,13,0.85);color:#bfbfbf;font-size:14px;">Hey can i ask can u do some scripts for pokemon like fishing and healing i need scirpts for pokenumb.pl</span>
</p>
]]></description><guid isPermaLink="false">614</guid><pubDate>Fri, 14 Feb 2025 18:39:05 +0000</pubDate></item><item><title>Request Script</title><link>https://forum.otclientbot.com/index.php?/topic/238-request-script/</link><description><![CDATA[<p>
	Write a brief explanation of what you would like the script to do.
</p>

<p>
	Please make sure that the script you requested isn't already available at the forum, otherwise your post will be removed.
</p>

<p>
	 
</p>

<p>
	List of scripts:
</p>

<ol><li>
		<a href="https://forum.otclientbot.com/index.php?/topic/238-request-script/&amp;tab=comments#comment-796" rel="">Use spell based on player's soul</a>
	</li>
	<li>
		<span style="background-color:rgba(13, 13, 13, 0.85); color:#bfbfbf; font-size:16px; text-align:start"><a href="https://forum.otclientbot.com/index.php?/topic/238-request-script/&amp;do=findComment&amp;comment=817" rel="">Auto fishing</a></span>
	</li>
	<li>
		<span style="background-color:rgba(13, 13, 13, 0.85); color:#bfbfbf; font-size:16px; text-align:start"><a href="https://forum.otclientbot.com/index.php?/topic/238-request-script/&amp;do=findComment&amp;comment=818" rel="">Wave/area spell</a></span>
	</li>
	<li>
		<span style="background-color:rgba(13, 13, 13, 0.85); color:#bfbfbf; font-size:16px; text-align:start"><a href="https://forum.otclientbot.com/index.php?/topic/238-request-script/&amp;do=findComment&amp;comment=819" rel="">Turn to target</a></span>
	</li>
	<li>
		<a href="https://forum.otclientbot.com/index.php?/topic/238-request-script/&amp;do=findComment&amp;comment=820" rel="">Eat food</a>
	</li>
	<li>
		<a href="https://forum.otclientbot.com/index.php?/topic/238-request-script/&amp;do=findComment&amp;comment=870" rel="">Drop specified items on the ground</a>
	</li>
	<li>
		<a href="https://forum.otclientbot.com/index.php?/topic/238-request-script/&amp;do=findComment&amp;comment=871" rel="">Use item on the map based on character's position</a>
	</li>
	<li>
		<a href="https://forum.otclientbot.com/index.php?/topic/238-request-script/&amp;do=findComment&amp;comment=832" rel="">Cast targeted spell with health check</a>
	</li>
</ol>]]></description><guid isPermaLink="false">238</guid><pubDate>Thu, 08 Oct 2020 15:37:01 +0000</pubDate></item><item><title>using the item after killing a mob SCRIPTS</title><link>https://forum.otclientbot.com/index.php?/topic/604-using-the-item-after-killing-a-mob-scripts/</link><description><![CDATA[<pre dir="ltr" style="background-color:#f8f9fa;border:none;color:#202124;font-size:28px;padding:2px 0.14em 2px 0px;text-align:left;">
 </pre>

<p>
	using the item after killing a mob / (item-blessed wooden stake 5942 id(/ //  (MONSTER ID--&gt; 4097)
</p>
]]></description><guid isPermaLink="false">604</guid><pubDate>Mon, 08 Jan 2024 10:18:30 +0000</pubDate></item><item><title>need Auto clicker script</title><link>https://forum.otclientbot.com/index.php?/topic/602-need-auto-clicker-script/</link><description><![CDATA[<p>
	Hey, i need auto clicker script, just right click 1sqm in front of me per 10 secs
</p>
]]></description><guid isPermaLink="false">602</guid><pubDate>Sun, 29 Oct 2023 16:38:56 +0000</pubDate></item><item><title>Use hotkeys</title><link>https://forum.otclientbot.com/index.php?/topic/598-use-hotkeys/</link><description><![CDATA[<p>
	I just want to use like f1 f2 f3 f4, how can i set that? (Its to use some SCROLLS exp bonus in game)
</p>
]]></description><guid isPermaLink="false">598</guid><pubDate>Mon, 18 Sep 2023 12:29:45 +0000</pubDate></item><item><title>Shooter in HK 'F1 or F2 or F3' with SD rune</title><link>https://forum.otclientbot.com/index.php?/topic/596-shooter-in-hk-f1-or-f2-or-f3-with-sd-rune/</link><description><![CDATA[<p>
	Need script for use SD in target 'aimbot' with hotkey
</p>
]]></description><guid isPermaLink="false">596</guid><pubDate>Wed, 23 Aug 2023 01:13:25 +0000</pubDate></item><item><title>Need Follow script</title><link>https://forum.otclientbot.com/index.php?/topic/569-need-follow-script/</link><description><![CDATA[<pre dir="ltr" style="background-color:#303134;border:none;color:#e8eaed;font-size:28px;padding:2px .14em 2px 0px;text-align:left;">
<span lang="en" xml:lang="en">as above in the topic, I need a script so that my character will follow another player and when he sees the monster he targets him</span></pre>]]></description><guid isPermaLink="false">569</guid><pubDate>Tue, 02 Aug 2022 15:37:41 +0000</pubDate></item><item><title>exorin gran and utani hur</title><link>https://forum.otclientbot.com/index.php?/topic/586-exorin-gran-and-utani-hur/</link><description><![CDATA[<p>
	Good evening,
</p>

<p>
	 
</p>

<p>
	can you make a script to use the spell "exori gran" when 3 or more monsters are around? And use "utani hur" to haste? 
</p>

<p>
	tibia 7.6 
</p>

<p>
	 
</p>

<p>
	thanks 
</p>]]></description><guid isPermaLink="false">586</guid><pubDate>Tue, 28 Mar 2023 21:11:59 +0000</pubDate></item><item><title>anti-paralize</title><link>https://forum.otclientbot.com/index.php?/topic/495-anti-paralize/</link><description><![CDATA[<p>
	a script for anti-paralize, please.
</p>]]></description><guid isPermaLink="false">495</guid><pubDate>Sun, 21 Nov 2021 01:12:42 +0000</pubDate></item><item><title>Waypoint action</title><link>https://forum.otclientbot.com/index.php?/topic/550-waypoint-action/</link><description><![CDATA[<p>
	So I've used the code beneath in a waypoint action but when it gets to it it gets stuck on this action without any errors.
</p>

<p>
	Does anyone have a clue why? I've also tried it with isinrange but the same happens when it gets to that action waypoints it just stops there without any errors.
</p>

<p>
	 
</p>

<p>
	Btw if I just use gotolabel it works without anything else.
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted">
<span class="pln">
local playerPos = g_game.getLocalPlayer():getPosition()
local templeX = 32727
local templeY = 31627

if playerPos.x &gt;= templeX and playerPos.y =&gt; templeY then
    gotolabel("Temple", "Training")
else
    gotolabel("Start", "Training")
end</span></pre>

<p>
	 
</p>]]></description><guid isPermaLink="false">550</guid><pubDate>Tue, 12 Apr 2022 10:15:50 +0000</pubDate></item><item><title>Shoot rune on target.</title><link>https://forum.otclientbot.com/index.php?/topic/551-shoot-rune-on-target/</link><description><![CDATA[<pre class="ipsCode prettyprint lang-lua prettyprinted">
<span class="kwd">local</span><span class="pln"> healthToCast </span><span class="pun">=</span><span class="pln"> </span><span class="lit">100</span><span class="pln">
</span><span class="kwd">local</span><span class="pln"> player </span><span class="pun">=</span><span class="pln"> g_game</span><span class="pun">.</span><span class="pln">getLocalPlayer</span><span class="pun">()</span><span class="pln">
</span><span class="kwd">if</span><span class="pln"> g_game</span><span class="pun">.</span><span class="pln">isAttacking</span><span class="pun">()</span><span class="pln"> </span><span class="kwd">and</span><span class="pln"> player</span><span class="pun">:</span><span class="pln">getHealthPercent</span><span class="pun">()</span><span class="pln"> </span><span class="pun">&lt;=</span><span class="pln"> healthToCast </span><span class="kwd">then</span><span class="pln">
  g_game</span><span class="pun">.</span><span class="pln">useInventoryItemOnCreature</span><span class="pun">(</span><span class="lit">3198</span><span class="pun">,</span><span class="pln"> g_game</span><span class="pun">.</span><span class="pln">getAttackingCreature</span><span class="pun">())</span><span class="pln">
  sleep</span><span class="pun">(</span><span class="lit">900</span><span class="pun">,</span><span class="pln"> </span><span class="lit">1100</span><span class="pun">)</span><span class="pln">
</span><span class="kwd">end</span><span class="pln">
auto</span><span class="pun">(</span><span class="lit">100</span><span class="pun">)</span></pre>

<p>
	 
</p>

<p>
	(HMM) Rune ID: 3198
</p>

<p>
	Change for whatever ID the rune you want.
</p>]]></description><guid isPermaLink="false">551</guid><pubDate>Wed, 13 Apr 2022 21:23:48 +0000</pubDate></item><item><title>Anty Idle</title><link>https://forum.otclientbot.com/index.php?/topic/478-anty-idle/</link><description><![CDATA[<p>
	Siema, do tej pory używałem skrypt na anty idle z tego forum i działał do dzisiaj 05,11,21, (przestał po aktualizacji bota).<br />
	Proszę o pomoc. <br /><br />
	Hi, i used this scripts until now. Today after update i got this error. Please help me.<br />
	 
</p>

<div class="ipsSpoiler" data-ipsspoiler="">
	<div class="ipsSpoiler_header">
		<span>Spoiler</span>
	</div>

	<div class="ipsSpoiler_contents">
		<p>
			local config = {<br />
			  timeToTurn = 15 * 60 * 1000, -- 15 minutes<br />
			  directions = { Direction.North, Direction.South, Direction.West, Direction.East }<br />
			}
		</p>

		<p>
			if not g_game.isOnline() then<br />
			  return<br />
			end<br />
			local currentDir = g_game.getLocalPlayer():getDirection()<br />
			repeat<br />
			  local newDir = config.directions[math.random(1, #config.directions)]<br />
			  g_game.turn(newDir)<br />
			  sleep(1000)<br />
			until (g_game.getLocalPlayer():getDirection() ~= currentDir)<br />
			auto(config.timeToTurn)
		</p>
	</div>
</div>

<p>
	<br />
	 
</p>

<p>
	<img alt="image.png.078a217335a2667303f45920fba563e5.png" class="ipsImage ipsImage_thumbnailed" data-fileid="435" data-ratio="26.46" style="height:auto;" width="495" data-src="https://forum.otclientbot.com/uploads/monthly_2021_11/image.png.078a217335a2667303f45920fba563e5.png" src="https://forum.otclientbot.com/applications/core/interface/js/spacer.png" /><br />
	 
</p>]]></description><guid isPermaLink="false">478</guid><pubDate>Fri, 05 Nov 2021 02:10:54 +0000</pubDate></item><item><title>Exeta RES</title><link>https://forum.otclientbot.com/index.php?/topic/468-exeta-res/</link><description><![CDATA[<p>
	Lf macro for exeta res if mobs in distance x use exeta res
</p>]]></description><guid isPermaLink="false">468</guid><pubDate>Tue, 05 Oct 2021 07:22:25 +0000</pubDate></item><item><title>Need script</title><link>https://forum.otclientbot.com/index.php?/topic/458-need-script/</link><description><![CDATA[<pre dir="ltr" style="background-color:#f8f9fa;border:none;color:#202124;font-size:28px;padding:2px .14em 2px 0px;text-align:left;">
<span lang="en" xml:lang="en">I need a script that converts rins into sen when we have 100 (narutostory)</span></pre>]]></description><guid isPermaLink="false">458</guid><pubDate>Thu, 09 Sep 2021 20:08:45 +0000</pubDate></item><item><title>Sio script</title><link>https://forum.otclientbot.com/index.php?/topic/451-sio-script/</link><description><![CDATA[<p>
	I need a sio script that will heal 100% when its time to heal, no cd what so ever. My other spells have 1500ms cd so thats not the problem it must be something else, please help me. Kind regards
</p>]]></description><guid isPermaLink="false">451</guid><pubDate>Fri, 03 Sep 2021 13:11:51 +0000</pubDate></item></channel></rss>
