<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Forums - Suporte OTClient]]></title>
		<link>https://darkusot.ddns.net/forum/</link>
		<description><![CDATA[Forums - https://darkusot.ddns.net/forum]]></description>
		<pubDate>Thu, 09 Apr 2026 23:42:53 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Script OTClient]]></title>
			<link>https://darkusot.ddns.net/forum/showthread.php?tid=3</link>
			<pubDate>Sat, 31 May 2025 06:43:51 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://darkusot.ddns.net/forum/member.php?action=profile&uid=1">Darkus</a>]]></dc:creator>
			<guid isPermaLink="false">https://darkusot.ddns.net/forum/showthread.php?tid=3</guid>
			<description><![CDATA[<span style="color: #000000;" class="mycode_color"><span style="font-family: Comic Sans MS;" class="mycode_font">Salve galera, venho trazer a vocês neste tópico alguns scripts uteis para OTClient.<br />
</span></span><br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #008e02;" class="mycode_color">Anti-Push:</span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite>g_keyboard.bindKeyPress('Home', function()<br />
local player = g_game.getLocalPlayer()<br />
local mypos = player:getPosition()<br />
local tile = g_map.getTile(mypos)<br />
local bp = player:getInventoryItem(InventorySlotBack)<br />
local GP = 3031<br />
local Plat = 3035<br />
local GPNABP = player:getItem(GP)<br />
local PlatNaBP = player:getItem(Plat)<br />
local verificaSQM = tile:getTopMoveThing():getId()<br />
<br />
if GPNABP == nil then<br />
g_game.use(PlatNaBP)<br />
elseif verificaSQM ~= GP then<br />
g_game.move(GPNABP, mypos, 2)<br />
end<br />
end)</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #008e02;" class="mycode_color"><span style="font-family: 'comic sans ms', cursive;" class="mycode_font">Auto Mount :</span></span> </span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite>cycleEvent(function () if g_game.isOnline() then g_game.mount(true) end end, 5000)<br />
-------------------------------------<br />
<br />
<span style="color: #005dc2;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">Essa script vai colocar sua montaria automaticamente, a cada 5 segundos ela vai tentar colocar.</span></span></blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #008e02;" class="mycode_color"><span style="font-family: Comic Sans MS;" class="mycode_font">Utura Gran :</span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite>local delay = 60000<br />
cycleEvent(function ()<br />
if g_game.isOnline() then<br />
g_game.talk('utura gran')<br />
end end, delay)<br />
<br />
<span style="color: #353c41;" class="mycode_color"><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font">---------------------------------------</span></span><br />
<span style="color: #0000ff;" class="mycode_color"><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font"><span style="font-weight: bold;" class="mycode_b">Essa script vai soltar a magia Utura Gran a cada 1 minuto, se tiver exausted de heal no momento ele não vai soltar, e a próxima tentativa será só dps de 1 minuto.</span></span></span></blockquote>
<br />
<span style="color: #008e02;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b"><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font">Vita /Utevo gran sio</span></span><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font"> </span><span style="font-weight: bold;" class="mycode_b"><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font">":</span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite>local delay = 600000<br />
<br />
cycleEvent(function ()<br />
if g_game.isOnline() then<br />
g_game.talk('utevo gran sio "Nome Do Seu Char"')<br />
end<br />
end, delay)<br />
<br />
--------------------------------<br />
<span style="color: #005dc2;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">Você tem que colocar o nome do seu char ali entre aspas pra buffar, ele só vai buffar inicialmente dps de 10 minutos ( o tempo que dura o buff), dps disso ele vai funcionar normalmente. Para o vita gran sio ou vita sio, apenas troque ali o "utevo gran sio" para "vita gran sio ou "vita sio", o mesmo funciona com "utevo sio" também.</span></span></blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font"><span style="color: #008e02;" class="mycode_color"><span style="font-family: 'comic sans ms', cursive;" class="mycode_font">Auto Soft Boots:</span></span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite>--[[ Script de Auto Soft Boots<br />
id da soft boots = 6529<br />
id da soft boots(sendo usada) = 3549<br />
id da worn soft boots = 6530<br />
slot da boots = InventorySlotFeet<br />
]]<br />
cycleEvent( function()<br />
 if g_game.isOnline() then<br />
 local player = g_game.getLocalPlayer()<br />
 local slot = InventorySlotFeet<br />
 local back = InventorySlotBack<br />
 local bootsSlot = player:getInventoryItem(slot)<br />
 local soft = player:getItem('6529')<br />
 local botaPos = {['x'] = 65535, ['y'] = slot, ['z'] = 0}<br />
 local backPos = {['x'] = 65535, ['y'] = back, ['z'] = 0}<br />
<br />
 if bootsSlot == nil then<br />
 g_game.move(soft, botaPos, soft:getCount())<br />
 elseif bootsSlot:getId() == 6530 then<br />
 g_game.move(bootsSlot, backPos, bootsSlot:getCount())<br />
 elseif bootsSlot:getId() == 3549 then<br />
 return<br />
 end<br />
 <br />
 end<br />
end, 5000) </blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font"><span style="color: #008e02;" class="mycode_color"><span style="font-family: 'comic sans ms', cursive;" class="mycode_font">Ring por Hotkey:</span></span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite><span style="color: #005dc2;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">script que tira e coloca ring quando a tecla apertada é pageUp, mas pode facilmente ser editada pra qualquer ring e qualquer tecla </span></span><br />
-----------------------------------------------------------------------------------------------------------<br />
<br />
local Tecla = 'PageUp'<br />
<br />
g_keyboard.bindKeyPress(Tecla, function()<br />
<br />
local player = g_game.getLocalPlayer()<br />
local slot = InventorySlotFinger<br />
local back = InventorySlotBack<br />
local ringSlot = player:getInventoryItem(slot)<br />
local item = player:getItem('3051')<br />
local anelPos = {['x'] = 65535, ['y'] = slot, ['z'] = 0}<br />
local backPos = {['x'] = 65535, ['y'] = back, ['z'] = 0}<br />
<br />
 if ringSlot == nil then<br />
 g_game.move(item, anelPos, item:getCount())<br />
 elseif ringSlot:getId() == 3088 then<br />
 g_game.move(ringSlot, backPos, ringSlot:getCount())<br />
 end<br />
end)</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font"><span style="color: #008e02;" class="mycode_color"><span style="font-family: 'comic sans ms', cursive;" class="mycode_font">Exani hur up/down nas setinhas:</span></span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite><span style="color: #005dc2;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">essa script solta exani hur up/ down todas as vezes que vc estiver correndo.</span></span><br />
---------------------------------------------------------------------<br />
<br />
local switch = 0<br />
<br />
function doExaniHurUp()<br />
 if switch == 0 then<br />
 switch = 1<br />
 g_game.talk('exani hur "up')<br />
 else<br />
 switch = 0<br />
 g_game.talk('exani hur "down')<br />
 end<br />
end<br />
g_keyboard.bindKeyPress('Up', doExaniHurUp)<br />
<br />
g_keyboard.bindKeyPress('Left', doExaniHurUp)<br />
<br />
g_keyboard.bindKeyPress('Right', doExaniHurUp)<br />
<br />
g_keyboard.bindKeyPress('Down',doExaniHurUp)</blockquote>
<br />
<span style="color: #008e02;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b"><span style="font-family: Comic Sans MS;" class="mycode_font">Auto attack:</span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite><span style="color: #005dc2;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">Ataca qualquer monstro do server e ignora os Pets.</span></span><br />
<br />
--------------------------------------<br />
auto_attack = cycleEvent(function()   ignore = {'Pet Archer', 'Pet Blaze', 'Pet Dog', 'Pet Mage', 'Pet Mercenary', 'Pet Witchdoctor', 'Pet Wolf'}   if not g_game.isOnline() then      return    end      if g_game.isAttacking() then      return    end    local player = g_game.getLocalPlayer()   local spec = g_map.getSpectators(player:getPosition())    function isInArray(tbl, value)     for k, v in ipairs(tbl) do       if v == value then         return k       end     end     return false   end    for k,monster in pairs(spec) do     if not isInArray(ignore, monster:getName()) then       if monster:isMonster() and not monster:isPlayer() and not monster:isNpc() then         g_game.attack(monster)         break       end     end   end end, 400)</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #008e02;" class="mycode_color"><span style="font-family: Comic Sans MS;" class="mycode_font">Mining:</span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite><span style="color: #005dc2;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">Esse script ira minerar e estourar as gemas sozinho dentro da bolsa.</span></span><br />
-------------------------------------------------------------<br />
<br />
cycleEvent(function() moneyruneID = 3193 pickId = 3456 desintegrate = {1792, 1780, 1782, 3041, 3039, 3038, 3037, 3036, 1781} wallIds = {5643, 5638, 5644, 5642, 5641, 5639, 5651, 5645, 5640, 5653} trash = {3147, 3207} local function isInArray(table, value) for k, v in ipairs(table) do if v == value then return k end end return false end local function openNextBackpack(openedbackpack) for k, item in ipairs(openedbackpack:getItems()) do if item:isContainer() then g_game.open(item) g_game.close(openedbackpack) break end end end local function getOpenedContainer() for i = 0, 3 do if g_game.getContainer(i) then return g_game.getContainer(i) end end return false end if g_game.isOnline() then player = g_game.getLocalPlayer() playerPos = player:getPosition() backpack = getOpenedContainer() if not backpack then local mainBack = player:getInventoryItem(InventorySlotBack) g_game.open(mainBack) end if backpack then itemCount = #backpack:getItems() for i = 1, #trash do item = player:getItem(trash[i]) if item ~= nil then g_game.move(item, playerPos, item:getCount()) itemCount = itemCount - 1 end end for i = 1, #desintegrate do item = player:getItem(desintegrate[i]) if item ~= nil then g_game.useInventoryItemWith(moneyruneID, item) itemCount = itemCount - 1 end end if itemCount &gt;= backpack:getCapacity() then return openNextBackpack(backpack) end for x = -1, 1 do for y = -1, 1 do pos = {x = playerPos.x + x, y = playerPos.y + y, z = playerPos.z} tile = g_map.getTile(pos) topThing = tile:getTopThing() if topThing ~= nil and topThing:isItem() then if isInArray(wallIds, topThing:getId()) then g_game.useInventoryItemWith(pickId, topThing) break end end end end end end end, 200)</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-family: Comic Sans MS;" class="mycode_font"><span style="color: #008e02;" class="mycode_color">Avalanche:</span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite>local RUNEID = 3161 cycleEvent(   function()     local p = g_game.getLocalPlayer()     if g_game.isOnline() and g_game.isAttacking() then       g_game.useInventoryItemWith(RUNEID, g_game.getAttackingCreature())     end   end   , 500)</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #008e02;" class="mycode_color"><span style="font-family: Comic Sans MS;" class="mycode_font">Exura sio jogador NAME com 85%- HP: </span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite>cycleEvent(function ()<br />
<br />
NAME = "ADM DARKUS" if g_game.isOnline() then local p = g_game.getLocalPlayer() if p:getHealth()/p:getMaxHealth() &gt; 0.7 then for i,v in pairs(g_map.getSpectators(p:getPosition())) do if v:isPlayer() and v:getName() == NAME and v:getHealthPercent() &lt; 85 then g_game.talk("exura sio \"".. NAME) end end end end end, 100)</blockquote>
]]></description>
			<content:encoded><![CDATA[<span style="color: #000000;" class="mycode_color"><span style="font-family: Comic Sans MS;" class="mycode_font">Salve galera, venho trazer a vocês neste tópico alguns scripts uteis para OTClient.<br />
</span></span><br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #008e02;" class="mycode_color">Anti-Push:</span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite>g_keyboard.bindKeyPress('Home', function()<br />
local player = g_game.getLocalPlayer()<br />
local mypos = player:getPosition()<br />
local tile = g_map.getTile(mypos)<br />
local bp = player:getInventoryItem(InventorySlotBack)<br />
local GP = 3031<br />
local Plat = 3035<br />
local GPNABP = player:getItem(GP)<br />
local PlatNaBP = player:getItem(Plat)<br />
local verificaSQM = tile:getTopMoveThing():getId()<br />
<br />
if GPNABP == nil then<br />
g_game.use(PlatNaBP)<br />
elseif verificaSQM ~= GP then<br />
g_game.move(GPNABP, mypos, 2)<br />
end<br />
end)</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #008e02;" class="mycode_color"><span style="font-family: 'comic sans ms', cursive;" class="mycode_font">Auto Mount :</span></span> </span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite>cycleEvent(function () if g_game.isOnline() then g_game.mount(true) end end, 5000)<br />
-------------------------------------<br />
<br />
<span style="color: #005dc2;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">Essa script vai colocar sua montaria automaticamente, a cada 5 segundos ela vai tentar colocar.</span></span></blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #008e02;" class="mycode_color"><span style="font-family: Comic Sans MS;" class="mycode_font">Utura Gran :</span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite>local delay = 60000<br />
cycleEvent(function ()<br />
if g_game.isOnline() then<br />
g_game.talk('utura gran')<br />
end end, delay)<br />
<br />
<span style="color: #353c41;" class="mycode_color"><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font">---------------------------------------</span></span><br />
<span style="color: #0000ff;" class="mycode_color"><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font"><span style="font-weight: bold;" class="mycode_b">Essa script vai soltar a magia Utura Gran a cada 1 minuto, se tiver exausted de heal no momento ele não vai soltar, e a próxima tentativa será só dps de 1 minuto.</span></span></span></blockquote>
<br />
<span style="color: #008e02;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b"><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font">Vita /Utevo gran sio</span></span><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font"> </span><span style="font-weight: bold;" class="mycode_b"><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font">":</span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite>local delay = 600000<br />
<br />
cycleEvent(function ()<br />
if g_game.isOnline() then<br />
g_game.talk('utevo gran sio "Nome Do Seu Char"')<br />
end<br />
end, delay)<br />
<br />
--------------------------------<br />
<span style="color: #005dc2;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">Você tem que colocar o nome do seu char ali entre aspas pra buffar, ele só vai buffar inicialmente dps de 10 minutos ( o tempo que dura o buff), dps disso ele vai funcionar normalmente. Para o vita gran sio ou vita sio, apenas troque ali o "utevo gran sio" para "vita gran sio ou "vita sio", o mesmo funciona com "utevo sio" também.</span></span></blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font"><span style="color: #008e02;" class="mycode_color"><span style="font-family: 'comic sans ms', cursive;" class="mycode_font">Auto Soft Boots:</span></span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite>--[[ Script de Auto Soft Boots<br />
id da soft boots = 6529<br />
id da soft boots(sendo usada) = 3549<br />
id da worn soft boots = 6530<br />
slot da boots = InventorySlotFeet<br />
]]<br />
cycleEvent( function()<br />
 if g_game.isOnline() then<br />
 local player = g_game.getLocalPlayer()<br />
 local slot = InventorySlotFeet<br />
 local back = InventorySlotBack<br />
 local bootsSlot = player:getInventoryItem(slot)<br />
 local soft = player:getItem('6529')<br />
 local botaPos = {['x'] = 65535, ['y'] = slot, ['z'] = 0}<br />
 local backPos = {['x'] = 65535, ['y'] = back, ['z'] = 0}<br />
<br />
 if bootsSlot == nil then<br />
 g_game.move(soft, botaPos, soft:getCount())<br />
 elseif bootsSlot:getId() == 6530 then<br />
 g_game.move(bootsSlot, backPos, bootsSlot:getCount())<br />
 elseif bootsSlot:getId() == 3549 then<br />
 return<br />
 end<br />
 <br />
 end<br />
end, 5000) </blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font"><span style="color: #008e02;" class="mycode_color"><span style="font-family: 'comic sans ms', cursive;" class="mycode_font">Ring por Hotkey:</span></span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite><span style="color: #005dc2;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">script que tira e coloca ring quando a tecla apertada é pageUp, mas pode facilmente ser editada pra qualquer ring e qualquer tecla </span></span><br />
-----------------------------------------------------------------------------------------------------------<br />
<br />
local Tecla = 'PageUp'<br />
<br />
g_keyboard.bindKeyPress(Tecla, function()<br />
<br />
local player = g_game.getLocalPlayer()<br />
local slot = InventorySlotFinger<br />
local back = InventorySlotBack<br />
local ringSlot = player:getInventoryItem(slot)<br />
local item = player:getItem('3051')<br />
local anelPos = {['x'] = 65535, ['y'] = slot, ['z'] = 0}<br />
local backPos = {['x'] = 65535, ['y'] = back, ['z'] = 0}<br />
<br />
 if ringSlot == nil then<br />
 g_game.move(item, anelPos, item:getCount())<br />
 elseif ringSlot:getId() == 3088 then<br />
 g_game.move(ringSlot, backPos, ringSlot:getCount())<br />
 end<br />
end)</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';" class="mycode_font"><span style="color: #008e02;" class="mycode_color"><span style="font-family: 'comic sans ms', cursive;" class="mycode_font">Exani hur up/down nas setinhas:</span></span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite><span style="color: #005dc2;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">essa script solta exani hur up/ down todas as vezes que vc estiver correndo.</span></span><br />
---------------------------------------------------------------------<br />
<br />
local switch = 0<br />
<br />
function doExaniHurUp()<br />
 if switch == 0 then<br />
 switch = 1<br />
 g_game.talk('exani hur "up')<br />
 else<br />
 switch = 0<br />
 g_game.talk('exani hur "down')<br />
 end<br />
end<br />
g_keyboard.bindKeyPress('Up', doExaniHurUp)<br />
<br />
g_keyboard.bindKeyPress('Left', doExaniHurUp)<br />
<br />
g_keyboard.bindKeyPress('Right', doExaniHurUp)<br />
<br />
g_keyboard.bindKeyPress('Down',doExaniHurUp)</blockquote>
<br />
<span style="color: #008e02;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b"><span style="font-family: Comic Sans MS;" class="mycode_font">Auto attack:</span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite><span style="color: #005dc2;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">Ataca qualquer monstro do server e ignora os Pets.</span></span><br />
<br />
--------------------------------------<br />
auto_attack = cycleEvent(function()   ignore = {'Pet Archer', 'Pet Blaze', 'Pet Dog', 'Pet Mage', 'Pet Mercenary', 'Pet Witchdoctor', 'Pet Wolf'}   if not g_game.isOnline() then      return    end      if g_game.isAttacking() then      return    end    local player = g_game.getLocalPlayer()   local spec = g_map.getSpectators(player:getPosition())    function isInArray(tbl, value)     for k, v in ipairs(tbl) do       if v == value then         return k       end     end     return false   end    for k,monster in pairs(spec) do     if not isInArray(ignore, monster:getName()) then       if monster:isMonster() and not monster:isPlayer() and not monster:isNpc() then         g_game.attack(monster)         break       end     end   end end, 400)</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #008e02;" class="mycode_color"><span style="font-family: Comic Sans MS;" class="mycode_font">Mining:</span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite><span style="color: #005dc2;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">Esse script ira minerar e estourar as gemas sozinho dentro da bolsa.</span></span><br />
-------------------------------------------------------------<br />
<br />
cycleEvent(function() moneyruneID = 3193 pickId = 3456 desintegrate = {1792, 1780, 1782, 3041, 3039, 3038, 3037, 3036, 1781} wallIds = {5643, 5638, 5644, 5642, 5641, 5639, 5651, 5645, 5640, 5653} trash = {3147, 3207} local function isInArray(table, value) for k, v in ipairs(table) do if v == value then return k end end return false end local function openNextBackpack(openedbackpack) for k, item in ipairs(openedbackpack:getItems()) do if item:isContainer() then g_game.open(item) g_game.close(openedbackpack) break end end end local function getOpenedContainer() for i = 0, 3 do if g_game.getContainer(i) then return g_game.getContainer(i) end end return false end if g_game.isOnline() then player = g_game.getLocalPlayer() playerPos = player:getPosition() backpack = getOpenedContainer() if not backpack then local mainBack = player:getInventoryItem(InventorySlotBack) g_game.open(mainBack) end if backpack then itemCount = #backpack:getItems() for i = 1, #trash do item = player:getItem(trash[i]) if item ~= nil then g_game.move(item, playerPos, item:getCount()) itemCount = itemCount - 1 end end for i = 1, #desintegrate do item = player:getItem(desintegrate[i]) if item ~= nil then g_game.useInventoryItemWith(moneyruneID, item) itemCount = itemCount - 1 end end if itemCount &gt;= backpack:getCapacity() then return openNextBackpack(backpack) end for x = -1, 1 do for y = -1, 1 do pos = {x = playerPos.x + x, y = playerPos.y + y, z = playerPos.z} tile = g_map.getTile(pos) topThing = tile:getTopThing() if topThing ~= nil and topThing:isItem() then if isInArray(wallIds, topThing:getId()) then g_game.useInventoryItemWith(pickId, topThing) break end end end end end end end, 200)</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-family: Comic Sans MS;" class="mycode_font"><span style="color: #008e02;" class="mycode_color">Avalanche:</span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite>local RUNEID = 3161 cycleEvent(   function()     local p = g_game.getLocalPlayer()     if g_game.isOnline() and g_game.isAttacking() then       g_game.useInventoryItemWith(RUNEID, g_game.getAttackingCreature())     end   end   , 500)</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #008e02;" class="mycode_color"><span style="font-family: Comic Sans MS;" class="mycode_font">Exura sio jogador NAME com 85%- HP: </span></span></span><br />
<blockquote class="mycode_quote"><cite>Citação:</cite>cycleEvent(function ()<br />
<br />
NAME = "ADM DARKUS" if g_game.isOnline() then local p = g_game.getLocalPlayer() if p:getHealth()/p:getMaxHealth() &gt; 0.7 then for i,v in pairs(g_map.getSpectators(p:getPosition())) do if v:isPlayer() and v:getName() == NAME and v:getHealthPercent() &lt; 85 then g_game.talk("exura sio \"".. NAME) end end end end end, 100)</blockquote>
]]></content:encoded>
		</item>
	</channel>
</rss>