<?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[OTBots Forums - LUA Scripts]]></title>
		<link>https://forums.otbots.com/</link>
		<description><![CDATA[OTBots Forums - https://forums.otbots.com]]></description>
		<pubDate>Sun, 09 Aug 2026 07:29:34 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Relogger - Relog - Reconnect]]></title>
			<link>https://forums.otbots.com/Thread-Relogger-Relog-Reconnect--2190</link>
			<pubDate>Wed, 30 Mar 2022 03:32:59 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=14025">Khalon</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-Relogger-Relog-Reconnect--2190</guid>
			<description><![CDATA[<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local LOGOUT_TIME = { Min = 600, Max = 1200 } -- In seconds. How long should stay online? After that amount of time, the character will be logged out.<br />
<br />
n = 0<br />
if connected() then<br />
    setsettings('Tools/Reconnect/Enabled', false) -- put reconnect in seconds/miliseconds, dont logout where monsters are<br />
end<br />
<br />
if connected() then<br />
    if NEXT_LOGOUT == nil then<br />
        NEXT_LOGOUT = runningtime() + random(LOGOUT_TIME.Min, LOGOUT_TIME.Max)<br />
    end<br />
<br />
    if runningtime() &gt;= NEXT_LOGOUT then<br />
        while connected() do<br />
            wait(1000, 2000)<br />
            if not battlesigned() then<br />
                n = 1<br />
                logout()<br />
            end<br />
        end<br />
        NEXT_LOGOUT = nil<br />
    end<br />
end<br />
<br />
if n == 1 then<br />
    if not connected() then<br />
        setsettings('Tools/Reconnect/Enabled', true) <br />
    end<br />
end</code></div></div>]]></description>
			<content:encoded><![CDATA[<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local LOGOUT_TIME = { Min = 600, Max = 1200 } -- In seconds. How long should stay online? After that amount of time, the character will be logged out.<br />
<br />
n = 0<br />
if connected() then<br />
    setsettings('Tools/Reconnect/Enabled', false) -- put reconnect in seconds/miliseconds, dont logout where monsters are<br />
end<br />
<br />
if connected() then<br />
    if NEXT_LOGOUT == nil then<br />
        NEXT_LOGOUT = runningtime() + random(LOGOUT_TIME.Min, LOGOUT_TIME.Max)<br />
    end<br />
<br />
    if runningtime() &gt;= NEXT_LOGOUT then<br />
        while connected() do<br />
            wait(1000, 2000)<br />
            if not battlesigned() then<br />
                n = 1<br />
                logout()<br />
            end<br />
        end<br />
        NEXT_LOGOUT = nil<br />
    end<br />
end<br />
<br />
if n == 1 then<br />
    if not connected() then<br />
        setsettings('Tools/Reconnect/Enabled', true) <br />
    end<br />
end</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[EXEVON CON SPELL]]></title>
			<link>https://forums.otbots.com/Thread-EXEVON-CON-SPELL--1649</link>
			<pubDate>Fri, 26 Mar 2021 10:58:09 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=7855">Micheletti</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-EXEVON-CON-SPELL--1649</guid>
			<description><![CDATA[USE "EXEVO CON" WITH UP TO X OF CAP OR WHEN THE AMMUNITION IS FINISHING CHECK BP ARROWS, FOR CAVEBOT SCRIPT.<br />
<br />
NEVER MISS ARROW FOR HUNTING.]]></description>
			<content:encoded><![CDATA[USE "EXEVO CON" WITH UP TO X OF CAP OR WHEN THE AMMUNITION IS FINISHING CHECK BP ARROWS, FOR CAVEBOT SCRIPT.<br />
<br />
NEVER MISS ARROW FOR HUNTING.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[i need help on Lua Script]]></title>
			<link>https://forums.otbots.com/Thread-i-need-help-on-Lua-Script--1639</link>
			<pubDate>Mon, 22 Mar 2021 23:45:11 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=8177">brasilala</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-i-need-help-on-Lua-Script--1639</guid>
			<description><![CDATA[i want to know if is posible to Run from the cave if someone attacks me, and run to DP if possible i would appreciate!]]></description>
			<content:encoded><![CDATA[i want to know if is posible to Run from the cave if someone attacks me, and run to DP if possible i would appreciate!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Auto-Responder]]></title>
			<link>https://forums.otbots.com/Thread-FREE-Auto-Responder--308</link>
			<pubDate>Sun, 07 Jul 2019 14:22:09 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=1">Arkilys</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-FREE-Auto-Responder--308</guid>
			<description><![CDATA[Hello.<br />
<br />
This script will reply messages received on selected channel only. So <span style="font-weight: bold;" class="mycode_b">if you want to reply messages on "Default"</span> then you must <span style="font-weight: bold;" class="mycode_b">leave "Default" channel selected</span>.<br />
This will <span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">NOT</span> reply private messages</span>.<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: x-large;" class="mycode_size">How it works</span></span><br />
Once Bot receives a specific message, it will randomly choose one of the possible answers and say it.<br />
Example: <br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>KEY = {'food', 'food plz', 'food?', 'got food?'},<br />
ANSWER = {{'no i need too', 'nope', 'no', 'nah', 'sorry but i need food too :p'}, {'i dont have food..', '...', 'stop spam'}}</code></div></div>Player says: "food"<br />
Bot says: "sorry but i need food too :p"<br />
If player says: "food" again then bot may say "i dont have food".<br />
<br />
<span style="font-size: x-large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Recommendations</span></span><br />
I truly recommend you guys to <span style="font-weight: bold;" class="mycode_b">change the answers </span>on "CONFIG.IGNORED_MESSAGES" and other answers that Bot may say to avoid being detected using an auto-responder. I also recommend to <span style="font-weight: bold;" class="mycode_b">add more "keywords"</span> that makes script reply onit must reply.<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: large;" class="mycode_size">CODE</span></span><br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>   local CONFIG = {<br />
      SAFE_LIST = { "Bubble", "Eternal Oblivion" }, -- Players that will not be replied.<br />
      DANGER_LIST = { "Rafael", "System" }, -- GMs.<br />
      LogText = true, -- Log conversatio on file? It will be saved on Bot's folder/files/"[player] - Auto Responder.txt"<br />
      IGNORED_MESSAGES = {'bye, ignored', 'bb, you r ignored', 'waste of time bb', 'no more talk, bye', 'rly? why wasting my time?'}, -- Text to send when ignoring a player.<br />
   }<br />
<br />
<br />
   --[[ UNLESS YOU ARE GOING TO CHANGE KEYWORDS OR SO AND KNOW WHAT YOU ARE DOING, DON'T EDIT BELOW THIS LINE --]]<br />
    <br />
   AUTO_RESPONDER = AUTO_RESPONDER or {<br />
      IGNORED_PLAYERS = {},<br />
      PLAYER_MESSAGE_INFO = {},<br />
      MESSAGE_RECORDER = {},<br />
      TIME_BETWEEN_RESPONCES = 2,<br />
      RESPONCE_TIMER = os.time(),<br />
      INITIALIZED = false<br />
   }<br />
<br />
   local player_name = name()<br />
<br />
   local fileName = sprintf('[%s] - Auto Responder', player_name)<br />
<br />
   if CONFIG.LogText and not file.exists(fileName) then<br />
      file.clear(fileName)<br />
   end<br />
<br />
   AUTO_RESPONDER.SPEECHWORDS = AUTO_RESPONDER.SPEECHWORDS or {<br />
      {<br />
         KEY = {'hi', 'hey', 'hello', 'sup', 'yo', 'yoo', 'hiho', 'huhu', 'man'},<br />
         ANSWER = {{'hi', 'hey', 'hello', 'hiho', 'yo :p', 'sup'}, {'I already said hi.. leave alone or ignored', 'wtf why u spam', 'stop spam or ignored', 'if u spam again im gonna ignore u'}}<br />
      },  <br />
      {<br />
         KEY = {'food', 'food plz', 'food?', 'got food?'},<br />
         ANSWER = {{'no i need too', 'nope', 'no', 'nah', 'sorry but i need food too :p'}, {'i dont have food..', '...', 'stop spam'}}<br />
      },<br />
      {<br />
         KEY = {'botter', 'bot?', 'ng?', 'probot', 'pro bot', 'elf?', 'botter!', 'you botting?', 'bot', 'fucking botter', 'hi bot', 'bot ?', 'BOT', 'BOTTER', 'booter', 'BOT ?', 'BOT?', 'BOTTER?', 'BOTS', 'BOTTS', 'BOTS?', 'BOTTS?', 'boter', 'BOTER', 'boter?', 'BOTER?'},<br />
         ANSWER = {{'like i would need to use a bot :p', 'hahahaha... NO', 'dont be ridiculous', 'nope', 'nah', 'no mate, i do not bot', 'no i am not'}, {'i dont bot..', 'man i dont need bot'}}<br />
      },<br />
      {<br />
         KEY = {'reported', 'botting', 'cheater', 'cave bot', 'i will report u', 'ja te reportei'},<br />
         ANSWER = {{'sure -.- what ever you say', 'yes of course... NOT', 'whauhauehauhea'}, {'haha noob i dont bot', '-.- no way'}}<br />
      },<br />
      {<br />
         KEY = {'what colour are my shoes?', 'what color is the sky'},<br />
         ANSWER = {{'its blue :D'}, {'u know the color'}}<br />
      },<br />
      {<br />
         KEY = {'no kill', 'mine', 'no attack', 'no atk', 'dont kill them', 'thats mine', 'dont kill pls', 'ks', 'ill ks u', 'dont kill', 'NO KILL'},<br />
         ANSWER = {{'i need exp man :S', 'we all need exp'}, {'i kill what i want', 'haha u funny man'}}<br />
      },<br />
      {<br />
         KEY = {'training', 'training pls', 'skill', 'i skill', 'skill pls', 'skill plz'},<br />
         ANSWER = {{'lol go for it', 'xD ok man but i need exp'}, {'why train hahaha', 'only noob skills'}}<br />
      },<br />
      {<br />
         KEY = {'can you rope me up', 'can you rope me up?', 'rope?', 'rope', 'rope pls', 'rope please', 'rope plz', 'rope me up please'},<br />
         ANSWER = {{'i need hunting sorry', 'sorry leveling atm'}, {'have no rope', 'rope urself', 'rope takes to much time'}}<br />
      },<br />
      {<br />
         KEY = {'noob', 'naab', 'nabb', 'nab', 'noobie', 'newb', 'newbie', '-.- noob', '-.-', 'sai noob', 'NB', 'noobs', 'NOB'},<br />
         ANSWER = {{'-.- noob', '-.- sure man', 'whahaha xD so funny'}, {'stop or ignored', 'annoying.. im going to ignore u'}}<br />
      },<br />
      {<br />
         KEY = {'br?', 'br', 'pl?', 'pl', 'nl', 'nl?', 'be', 'swe', 'pl?', 'swe?', 'br?', 'pl ?', 'be?'},<br />
         ANSWER = {{'no', 'nah'}, {'stop or ignored', 'annoying.. im going to ignore u'}}<br />
      },<br />
      {<br />
         KEY = {'oi', 'hola', 'aaah?', 'para porra', 'para complerar', 'para compra una maguia pliz', 'aff vc p.a'},<br />
         ANSWER = {{'not br', 'english plx'}, {'u blind? i only speak english', 'english only'}}<br />
      },<br />
      {<br />
         KEY = {'no', 'yeah', 'yeah?', 'no?'},<br />
         ANSWER = {{'no?'}, {'no?'}}<br />
      },<br />
      {<br />
         KEY = {':D', ':P', ':(', 'xd', 'ow', ':]', 'ok', 'o', ':@', ':S', 'o.o', ':}', ':p', 'xD', ':/', '=)', ':)', ':(', ':&gt;', '^^'},<br />
         ANSWER = {{':D', ':P', ':)', 'xD', '^^', '^.^', ':&gt;'}}<br />
      },<br />
      {<br />
         KEY = {'respeta', 'respect', 'respeta hijo de puta', 'so respect'},<br />
         ANSWER = {{'huh', 'what?', 'lol', 'xD'}, {'what u mean respect?', 'i dont know respect haha', 'man go away'}}<br />
      },<br />
      {<br />
         KEY = {'lol', 'rofl', 'lmao', 'ftw', 'wtf', 'aff', 'af', 'lol man?', 'lol?', 'wtf?'},<br />
         ANSWER = {{':D', 'rofl', 'haha', 'lmao'}, {'^^', '^.^', ':&gt;'}}<br />
      },<br />
      {<br />
         KEY = {'skills?', 'skill?'},<br />
         ANSWER = {{'very high', 'secret'}, {'i dont skill :D', 'man go look online'}}<br />
      },<br />
      {<br />
         KEY = {'i hunt here', 'i am here', 'me here', "i'm here"},<br />
         ANSWER = {{'sorry i need level', 'leave please', 'leave!'}, {'no i am here', 'im here'}}<br />
      },<br />
      {<br />
         KEY = {'what color does a banana have', 'what is the collor of a banana?', 'what colour is a banana?', 'what color can a banana be'},<br />
         ANSWER = {{'yellow, sometimes green if not to ripe :P why?'}, {'u know the color of bananas...'}}<br />
      },<br />
      {<br />
         KEY = {'play fair and safe', 'play on', 'sorry play on', 'carry on'},<br />
         ANSWER = {{'hehe I will xD'}}<br />
      },<br />
      {<br />
         KEY = {'what are you doing here?', 'what are you doing', 'what are u doing', 'what are u doing?', 'what you doing', 'what u doing?'},<br />
         ANSWER = {{'hunting :p', 'bored'}, {'same thing everyone does..', 'i do same thing as u do'}}<br />
      },<br />
      {<br />
         KEY = {'what colour is the sky?', 'what collor of the sky?', 'what colour is the sky?'},<br />
         ANSWER = {{'blue...', 'red? lol'}, {'...', '..', '....'}}<br />
      },<br />
      {<br />
         KEY = {'leave', 'leave!', 'leave plxx', 'leave now', 'leave plz', 'leave pls', 'leave?', 'leave ?', 'banned or leave', 'leave or banned', 'leave or banned?', 'leave or banned ?', 'no leave?', 'no leave ?'},<br />
         ANSWER = {{'i need exp man :S', 'hauehua i will lvl too'}, {'i wont leave haha', 'u leave..'}}<br />
      },<br />
      {<br />
         KEY = {'sup?', 'sup', 'everything ok?', 'whats up', 'whats up?', 'how are you?', 'yo sup?', 'hows you?'},<br />
         ANSWER = {{'fine but lemme hunt now', 'good i go hunt now'}, {'u already asked me that..',}}<br />
      },<br />
      {<br />
         KEY = {'where you from?', 'where are you from?', 'where are you from', 'where you from'},<br />
         ANSWER = {{'secret ^^'}, {'.. where u from?', 'im from hell huaehuah'}}<br />
      },<br />
      {<br />
         KEY = {'need mana', 'mana gaining',},<br />
         ANSWER = {{'lol k', ' Ok :)'}, {'too bad i cant give u mana hahah', 'go buy potions :D'}}<br />
      },<br />
      {<br />
         KEY = {'pk help', 'pk', 'pks', 'pking', 'help pk', 'pk help me'},<br />
         ANSWER = {{'sorry cant help', 'msg other guy'}, {'want me pk u? xD', 'who pk?'}}<br />
      },<br />
      {<br />
         KEY = {'fuck you', 'fu', 'fuck', 'bitch', 'puta madre', 'fdp', 'kurwa'},<br />
         ANSWER = {{':( not nice man', 'lol noob'}, {'reported'}}<br />
      },<br />
      {<br />
         KEY = {'what is your vocation?', 'voc?', 'vocation?'},<br />
         ANSWER = {{'look at me and youll see ^^'}, {'kina?', 'mage?', 'pally?'}}<br />
      },<br />
      {<br />
         KEY = {'what color does my outfit has?', 'what is the color of my outfit?', 'what color is my outfit?'},<br />
         ANSWER = {{'blue :)', 'yellow xD'}, {'u know the color..'}}<br />
      },<br />
      {<br />
         KEY = {'what monsters are you killing', 'what monsters are killing',},<br />
         ANSWER = {{'are you blind? -.-', 'all the monsters HAHA'}, {'i kill all rofl', 'everything haha'}}<br />
      },<br />
      {<br />
         KEY = {"i'm pro", 'protected', 'protection', 'i have pro', 'protected'},<br />
         ANSWER = {{'and? So do I...'}, {'i dont care bout ur protection', 'ur protector is a noob', 'i can kill ur protector'}}<br />
      },<br />
      {<br />
         KEY = {'?', '?!', '??', '???', 'what?', 'what?!', 'huh', 'afffff'},<br />
         ANSWER = {{'what?', 'hm?','?'}}<br />
      },<br />
      {<br />
         KEY = {'whats your problem?', 'what is your problem?', 'whats ur problem'},<br />
         ANSWER = {{'i got no problem'}, {'u got problem?', 'stop whining', 'wa wa wa'}}<br />
      },<br />
      {<br />
         KEY = {'me so evil', 'i am the devil', 'satan', 'evul'},<br />
         ANSWER = {{'LOL whuauehau'}, {'Im so evil!', 'huaheuae','die'}}<br />
      },<br />
      {<br />
         KEY = {'stop', 'stop plx', 'stop plz', 'stop pls', 'oi stop it', 'stop it'},<br />
         ANSWER = {{'-.- I need level!!'}, {'dont tell me stop noob', 'i do what i want -.-'}}<br />
      },<br />
      {<br />
         KEY = {'ban', 'banned', 'banishment', 'banning you', 'going to ban u', 'going to ban you', 'you gonna be banned', 'you are banned'},<br />
         ANSWER = {{'why man? im not doing anything wrong :S'}, {'i reported u', 'reported man -.-', 'i dont go banned'}}<br />
      },<br />
      {<br />
         KEY = {'help me', 'help', 'help!', 'helping'},<br />
         ANSWER = {{'no man find other help'}, {'i cant help', 'pay 100k i help', 'u pay me for help?'}}<br />
      },<br />
      {<br />
         KEY = {'..i..', '.i.', '.l.', '.1.', 'loser', 'dickhead', 'butthead', 'fucker', 'puto'},<br />
         ANSWER = {{'LOL I laugh at your face'}, {'ur words dont hurt me', 'haha ur mom', 'noob'}}<br />
      },<br />
      {<br />
         KEY = {'what color does an apple have?', 'what color is apples?'},<br />
         ANSWER = {{'Red?', 'Green?'}, {'u know the color...', '...', ',,'}}<br />
      },<br />
      {<br />
         KEY = {'what is my name', 'what is my name?'},<br />
         ANSWER = {{'dont you know your own name? xD'}, {'u tell me -.-', 'pfft noob'}}<br />
      },<br />
      {<br />
         KEY = {'block', 'blocked', 'stuck', 'trap', 'trapped', 'traped', 'haha blocked', 'trap him', 'trap her', 'blocked botter', 'trapped botter'},<br />
         ANSWER = {{'lol funny that you trap me :p'}, {'why u try trap?', 'lol nice try'}}<br />
      },<br />
      {<br />
         KEY = {'time?', 'whats the time', 'clock?', 'time?'},<br />
         ANSWER = {{'lol look at the clock -.-'}, {'time for u to get a watch', 'i unno man'}}<br />
      },<br />
      {<br />
         KEY = {'r please', 'r me', 'r!', 'r me :@', 'r now or dead', 'talk to me please', 'talk to me', 'talk!', 'talk please', 'talk pls', 'talk now'},<br />
         ANSWER = {{'i am', 'lol patience'}, {'how many times must u beg..', 'i r when i want -.-'}}<br />
      },<br />
      {<br />
         KEY = {'how are you?', 'how are u?', 'ho are u?', 'ho are you?'},<br />
         ANSWER = {{'fine thanks', 'good :)'}}<br />
      },<br />
      {<br />
         KEY = {'fun', 'pleasure', 'having fun', 'fun', 'funny', 'having fun?'},<br />
         ANSWER = {{'tibia big fun!'}, {'i have fun laugh at ur face xD'}}<br />
      },<br />
      {<br />
         KEY = {'cool', 'very cool', 'uber cool', 'kewl', 'cewl'},<br />
         ANSWER = {{'yes very cool'}, {'rox', 'i rox', 'u rox', 'sweet', 'awesome'}}<br />
      },<br />
      {<br />
         KEY = {'kill', 'kill them', 'kill monsters'},<br />
         ANSWER = {{'..', '...', 'aff'}}<br />
      },<br />
      {<br />
         KEY = {'..','.','...'},<br />
         ANSWER = {{'??', '?', '???'}}<br />
      },<br />
      {<br />
         KEY = {'bad', 'good', 'sucks', 'great'},<br />
         ANSWER = {{'yeps'}, {'nopes'}}<br />
      },<br />
      {<br />
         KEY = {'****', 'xeno', 'xb', '******', 'red bot', '*******', 'bottt', 'rbp'},<br />
         ANSWER = {{'what that?', 'wtf u saying?', '???'}}<br />
      },<br />
      {<br />
         KEY = {'heal', 'healing please', 'heal plx', 'heal plz',},<br />
         ANSWER = {{'heal urself..', 'go ask someone else'}, {'i cant heal u', 'heal me first'}}<br />
      },<br />
      {<br />
         KEY = {'hehe', 'haha', 'hihi'},<br />
         ANSWER = {{'^^', ':p', 'hihi', 'haha'}}<br />
      },<br />
      {<br />
         KEY = {'friends?', 'friend', 'friend?', 'friends', 'amigo', 'add vip'},<br />
         ANSWER = {{'il think about it :]'}, {'no', 'noo!'}}<br />
      },<br />
      {<br />
         KEY = {'runemaking', 'runes', 'rune', 'runes plz'},<br />
         ANSWER = {{'why?'}}<br />
      },<br />
      {<br />
         KEY = {'fishing', 'fishing rod', 'fish plx'},<br />
         ANSWER = {{'yes i can fish good', 'im a fishing owner lol'}, {'no have', 'dont have fish'}}<br />
      },<br />
      {<br />
         KEY = {'type', 'type', 'typ fast', 'fast', 'fast typer :D', 'very fast typer'},<br />
         ANSWER = {{'yes im really fast', 'train a lot on speed', 'im one hell of a racemachine'}}<br />
      },<br />
      {<br />
         KEY = {'nice', 'very nice'},<br />
         ANSWER = {{'nice! :D'}, {'nice frei itan?', 'grats', 'awesome'}}<br />
      },<br />
      {<br />
         KEY = {'what world do you play?', 'world?', 'world', 'what world is this?'},<br />
         ANSWER = {{'meh', 'unno'}}<br />
      },<br />
      {<br />
         KEY = {'what is your name?', 'name?', 'rl name?', 'your name?'},<br />
         ANSWER = {{'Go check online'}}<br />
      },<br />
      {<br />
         KEY = {'good exp?', 'enough exp?', 'is the cave big enough?', 'cave big', 'big cave?', 'explore', 'cave big enough for 2 of us'},<br />
         ANSWER = {{'leave i need full exp', 'leave now', 'leave grrr'}}<br />
      },<br />
      {<br />
         KEY = {'what color is your hair?', 'hair?'},<br />
         ANSWER = {{'green? xD', 'brown? haha'}, {'why u want to know?', 'why?'}}<br />
      },<br />
      {<br />
         KEY = {'how do you talk?', 'how do you talk to people?', 'how to talk?'},<br />
         ANSWER = {{'type and press enter...'}}<br />
      },<br />
      {<br />
         KEY = {'what is the name of this game?', 'name of this game?', 'how is this game called?', 'what is this game called?'},<br />
         ANSWER = {{'Tibia? :p'}}<br />
      },<br />
      {<br />
         KEY = {'bye', 'cya', 'see you later', 'im leave', 'see ya', 'baba', 'bb', 'goodbye', 'good bye', 'adios'},<br />
         ANSWER = {{'cya', 'bb', 'bye', 'adios', 'See you later'}, {'leave already rofl', 'talk to u later'}}<br />
      },<br />
      {<br />
         KEY = {'think your cool?', 'think you are cool?'},<br />
         ANSWER = {{'my mum said i was cool =]', 'cooler than you :p'}, {'i am very cool haha', 'i rox mans'}}<br />
      },<br />
      {<br />
         KEY = {'stop killing my stuff', 'i was here first', ' i first', 'stop kill', 'stop killing'},<br />
         ANSWER = {{'now its mine haha', 'i here', 'mine', 'grrr'}, {'stop whine', 'wah wah wah whine', '-tear-'}}<br />
      },<br />
      {<br />
         KEY = {'auto responder?', 'auto respond', 'autorespond', 'responder?', 'auto responder ?', 'auto responder', 'auto?', 'autoanswer?', 'autoanswer'},<br />
         ANSWER = {{':o tibia has that now? wow lol'}, {' u are one funny man', 'hahahaha'}}<br />
      },<br />
      {<br />
         KEY = {'long?', 'how long?', 'can i hunt?'},<br />
         ANSWER = {{'till I want', '5000 hours', 'all day long'},{'if you spam i will block you'}}<br />
      },<br />
      {    <br />
         KEY = {'u there?', 'u there ?', 'you there?', 'are you there', 'are you there?', 'ta ae?', 'ta aew?', 'ta ai?', 'vc ta ae?', 'vc ta ai?', 'ta no pc?', 'ta no PC?', 'man ta ai?'},<br />
         ANSWER = {{'yes', 'yup', 'sure'},{'Yes bro, I am', 'seriously? -.-', '-.-'}}<br />
      },<br />
      {<br />
         KEY = {'u are not in computer', 'u no use computer', 'u are not there', 'you are not there', 'you are not on the computer', 'you dont use the computer'},<br />
         ANSWER = {{'Yes I am', 'I am', 'uhum, sure bro', 'shut up'},{'dude, do you have problems?', 'are you crazy?', 'gonna ignore you'}}<br />
      },<br />
      {<br />
         KEY = {'dude', 'hey dude', 'yo dude', 'llol'},<br />
         ANSWER = {{'Wasup', 'yoyoyo', 'hey yo', 'whats up'},{'whats up bro', 'hum', 'what...'}}<br />
      },    <br />
   }<br />
<br />
   table.insert(CONFIG.SAFE_LIST, player_name)<br />
   table.lower(CONFIG.SAFE_LIST)<br />
   table.lower(CONFIG.DANGER_LIST)<br />
<br />
   local MESSAGES = getnewmessages()<br />
<br />
   for i,m in pairs(MESSAGES) do<br />
      if m.sender ~= nil and m.sender ~= '' and m.sender:lower() ~= player_name:lower() and (not table.find(CONFIG.SAFE_LIST, m.sender:lower()))  then<br />
         if not AUTO_RESPONDER.IGNORED_PLAYERS["" .. m.sender .. ""] then<br />
            for TALK_INDEX = 1, #AUTO_RESPONDER.SPEECHWORDS do<br />
               if table.find(AUTO_RESPONDER.SPEECHWORDS[TALK_INDEX].KEY, m.content) then<br />
                  if AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""] then<br />
                     if AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] then<br />
                        if not AUTO_RESPONDER.SPEECHWORDS[TALK_INDEX].ANSWER[AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] + 1] then<br />
                           AUTO_RESPONDER.IGNORED_PLAYERS["" .. m.sender .. ""] = true<br />
<br />
                           local mustAnswerIgnored = false<br />
                           local firstLetters = string.sub(m.sender, 3) <br />
                           if firstLetters ~= 'CM ' and firstLetters ~= 'GM ' and not table.find(CONFIG.DANGER_LIST, m.sender:lower()) then<br />
                              local creaturesScreen = getcreatures("pfs")<br />
                              for i,j in pairs(creaturesScreen) do<br />
                                 if j.name:lower() == m.sender:lower() and (j.visible or j.outfitid == 321 or j.outfitid == 75) then<br />
                                    mustAnswerIgnored = true<br />
                                    break<br />
                                 end<br />
                              end<br />
                           else<br />
                              mustAnswerIgnored = true<br />
                           end<br />
<br />
                           if mustAnswerIgnored then<br />
                              say(CONFIG.IGNORED_MESSAGES[math.random(1, #CONFIG.IGNORED_MESSAGES)])<br />
                              if CONFIG.LogText then<br />
                                 file.writeline(fileName, m.sender .. ": " .. m.content)<br />
                                 file.writeline(fileName, "IGNORED PLAYER: " .. m.sender)<br />
                              end                             <br />
                           end<br />
<br />
                           return<br />
                        end<br />
                     else<br />
                        AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] = 0<br />
                     end<br />
                  else<br />
                     AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""] = {}<br />
                     AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] = 0<br />
                  end<br />
<br />
                  local mustAnswer = false<br />
                  local firstLetters = string.sub(m.sender, 3) <br />
                  if firstLetters ~= 'CM ' and firstLetters ~= 'GM ' and not table.find(CONFIG.DANGER_LIST, m.sender:lower()) ~= nil then<br />
                     local creaturesScreen = getcreatures("pfs")<br />
                     for i,j in pairs(creaturesScreen) do<br />
                        if j.name:lower() == m.sender:lower() and (j.visible or j.outfitid == 321 or j.outfitid == 75) then<br />
                           mustAnswer = true<br />
                           break<br />
                        end<br />
                     end<br />
                  else<br />
                     mustAnswer = true<br />
                  end<br />
<br />
                  if mustAnswer then<br />
                     say(AUTO_RESPONDER.SPEECHWORDS[TALK_INDEX].ANSWER[AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] +1 ][math.random(1, #AUTO_RESPONDER.SPEECHWORDS[TALK_INDEX].ANSWER[AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] + 1])])<br />
                     if CONFIG.LogText then<br />
                        file.writeline(fileName, m.sender .. ": " .. m.content)<br />
                        file.writeline(fileName, player_name .. ": " .. AUTO_RESPONDER.SPEECHWORDS[TALK_INDEX].ANSWER[AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] +1 ][math.random(1, #AUTO_RESPONDER.SPEECHWORDS[TALK_INDEX].ANSWER[AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] + 1])])<br />
                     end<br />
                  end<br />
<br />
                  AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX], AUTO_RESPONDER.RESPONCE_TIMER = (AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] + 1), os.time()<br />
                  return<br />
               end<br />
            end<br />
            <br />
            AUTO_RESPONDER.MESSAGE_RECORDER["" .. m.content .. ""] = (AUTO_RESPONDER.MESSAGE_RECORDER["" .. m.content .. ""] or 1) + 1<br />
<br />
         end<br />
      end<br />
   end</code></div></div>]]></description>
			<content:encoded><![CDATA[Hello.<br />
<br />
This script will reply messages received on selected channel only. So <span style="font-weight: bold;" class="mycode_b">if you want to reply messages on "Default"</span> then you must <span style="font-weight: bold;" class="mycode_b">leave "Default" channel selected</span>.<br />
This will <span style="font-weight: bold;" class="mycode_b"><span style="text-decoration: underline;" class="mycode_u">NOT</span> reply private messages</span>.<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: x-large;" class="mycode_size">How it works</span></span><br />
Once Bot receives a specific message, it will randomly choose one of the possible answers and say it.<br />
Example: <br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>KEY = {'food', 'food plz', 'food?', 'got food?'},<br />
ANSWER = {{'no i need too', 'nope', 'no', 'nah', 'sorry but i need food too :p'}, {'i dont have food..', '...', 'stop spam'}}</code></div></div>Player says: "food"<br />
Bot says: "sorry but i need food too :p"<br />
If player says: "food" again then bot may say "i dont have food".<br />
<br />
<span style="font-size: x-large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Recommendations</span></span><br />
I truly recommend you guys to <span style="font-weight: bold;" class="mycode_b">change the answers </span>on "CONFIG.IGNORED_MESSAGES" and other answers that Bot may say to avoid being detected using an auto-responder. I also recommend to <span style="font-weight: bold;" class="mycode_b">add more "keywords"</span> that makes script reply onit must reply.<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: large;" class="mycode_size">CODE</span></span><br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>   local CONFIG = {<br />
      SAFE_LIST = { "Bubble", "Eternal Oblivion" }, -- Players that will not be replied.<br />
      DANGER_LIST = { "Rafael", "System" }, -- GMs.<br />
      LogText = true, -- Log conversatio on file? It will be saved on Bot's folder/files/"[player] - Auto Responder.txt"<br />
      IGNORED_MESSAGES = {'bye, ignored', 'bb, you r ignored', 'waste of time bb', 'no more talk, bye', 'rly? why wasting my time?'}, -- Text to send when ignoring a player.<br />
   }<br />
<br />
<br />
   --[[ UNLESS YOU ARE GOING TO CHANGE KEYWORDS OR SO AND KNOW WHAT YOU ARE DOING, DON'T EDIT BELOW THIS LINE --]]<br />
    <br />
   AUTO_RESPONDER = AUTO_RESPONDER or {<br />
      IGNORED_PLAYERS = {},<br />
      PLAYER_MESSAGE_INFO = {},<br />
      MESSAGE_RECORDER = {},<br />
      TIME_BETWEEN_RESPONCES = 2,<br />
      RESPONCE_TIMER = os.time(),<br />
      INITIALIZED = false<br />
   }<br />
<br />
   local player_name = name()<br />
<br />
   local fileName = sprintf('[%s] - Auto Responder', player_name)<br />
<br />
   if CONFIG.LogText and not file.exists(fileName) then<br />
      file.clear(fileName)<br />
   end<br />
<br />
   AUTO_RESPONDER.SPEECHWORDS = AUTO_RESPONDER.SPEECHWORDS or {<br />
      {<br />
         KEY = {'hi', 'hey', 'hello', 'sup', 'yo', 'yoo', 'hiho', 'huhu', 'man'},<br />
         ANSWER = {{'hi', 'hey', 'hello', 'hiho', 'yo :p', 'sup'}, {'I already said hi.. leave alone or ignored', 'wtf why u spam', 'stop spam or ignored', 'if u spam again im gonna ignore u'}}<br />
      },  <br />
      {<br />
         KEY = {'food', 'food plz', 'food?', 'got food?'},<br />
         ANSWER = {{'no i need too', 'nope', 'no', 'nah', 'sorry but i need food too :p'}, {'i dont have food..', '...', 'stop spam'}}<br />
      },<br />
      {<br />
         KEY = {'botter', 'bot?', 'ng?', 'probot', 'pro bot', 'elf?', 'botter!', 'you botting?', 'bot', 'fucking botter', 'hi bot', 'bot ?', 'BOT', 'BOTTER', 'booter', 'BOT ?', 'BOT?', 'BOTTER?', 'BOTS', 'BOTTS', 'BOTS?', 'BOTTS?', 'boter', 'BOTER', 'boter?', 'BOTER?'},<br />
         ANSWER = {{'like i would need to use a bot :p', 'hahahaha... NO', 'dont be ridiculous', 'nope', 'nah', 'no mate, i do not bot', 'no i am not'}, {'i dont bot..', 'man i dont need bot'}}<br />
      },<br />
      {<br />
         KEY = {'reported', 'botting', 'cheater', 'cave bot', 'i will report u', 'ja te reportei'},<br />
         ANSWER = {{'sure -.- what ever you say', 'yes of course... NOT', 'whauhauehauhea'}, {'haha noob i dont bot', '-.- no way'}}<br />
      },<br />
      {<br />
         KEY = {'what colour are my shoes?', 'what color is the sky'},<br />
         ANSWER = {{'its blue :D'}, {'u know the color'}}<br />
      },<br />
      {<br />
         KEY = {'no kill', 'mine', 'no attack', 'no atk', 'dont kill them', 'thats mine', 'dont kill pls', 'ks', 'ill ks u', 'dont kill', 'NO KILL'},<br />
         ANSWER = {{'i need exp man :S', 'we all need exp'}, {'i kill what i want', 'haha u funny man'}}<br />
      },<br />
      {<br />
         KEY = {'training', 'training pls', 'skill', 'i skill', 'skill pls', 'skill plz'},<br />
         ANSWER = {{'lol go for it', 'xD ok man but i need exp'}, {'why train hahaha', 'only noob skills'}}<br />
      },<br />
      {<br />
         KEY = {'can you rope me up', 'can you rope me up?', 'rope?', 'rope', 'rope pls', 'rope please', 'rope plz', 'rope me up please'},<br />
         ANSWER = {{'i need hunting sorry', 'sorry leveling atm'}, {'have no rope', 'rope urself', 'rope takes to much time'}}<br />
      },<br />
      {<br />
         KEY = {'noob', 'naab', 'nabb', 'nab', 'noobie', 'newb', 'newbie', '-.- noob', '-.-', 'sai noob', 'NB', 'noobs', 'NOB'},<br />
         ANSWER = {{'-.- noob', '-.- sure man', 'whahaha xD so funny'}, {'stop or ignored', 'annoying.. im going to ignore u'}}<br />
      },<br />
      {<br />
         KEY = {'br?', 'br', 'pl?', 'pl', 'nl', 'nl?', 'be', 'swe', 'pl?', 'swe?', 'br?', 'pl ?', 'be?'},<br />
         ANSWER = {{'no', 'nah'}, {'stop or ignored', 'annoying.. im going to ignore u'}}<br />
      },<br />
      {<br />
         KEY = {'oi', 'hola', 'aaah?', 'para porra', 'para complerar', 'para compra una maguia pliz', 'aff vc p.a'},<br />
         ANSWER = {{'not br', 'english plx'}, {'u blind? i only speak english', 'english only'}}<br />
      },<br />
      {<br />
         KEY = {'no', 'yeah', 'yeah?', 'no?'},<br />
         ANSWER = {{'no?'}, {'no?'}}<br />
      },<br />
      {<br />
         KEY = {':D', ':P', ':(', 'xd', 'ow', ':]', 'ok', 'o', ':@', ':S', 'o.o', ':}', ':p', 'xD', ':/', '=)', ':)', ':(', ':&gt;', '^^'},<br />
         ANSWER = {{':D', ':P', ':)', 'xD', '^^', '^.^', ':&gt;'}}<br />
      },<br />
      {<br />
         KEY = {'respeta', 'respect', 'respeta hijo de puta', 'so respect'},<br />
         ANSWER = {{'huh', 'what?', 'lol', 'xD'}, {'what u mean respect?', 'i dont know respect haha', 'man go away'}}<br />
      },<br />
      {<br />
         KEY = {'lol', 'rofl', 'lmao', 'ftw', 'wtf', 'aff', 'af', 'lol man?', 'lol?', 'wtf?'},<br />
         ANSWER = {{':D', 'rofl', 'haha', 'lmao'}, {'^^', '^.^', ':&gt;'}}<br />
      },<br />
      {<br />
         KEY = {'skills?', 'skill?'},<br />
         ANSWER = {{'very high', 'secret'}, {'i dont skill :D', 'man go look online'}}<br />
      },<br />
      {<br />
         KEY = {'i hunt here', 'i am here', 'me here', "i'm here"},<br />
         ANSWER = {{'sorry i need level', 'leave please', 'leave!'}, {'no i am here', 'im here'}}<br />
      },<br />
      {<br />
         KEY = {'what color does a banana have', 'what is the collor of a banana?', 'what colour is a banana?', 'what color can a banana be'},<br />
         ANSWER = {{'yellow, sometimes green if not to ripe :P why?'}, {'u know the color of bananas...'}}<br />
      },<br />
      {<br />
         KEY = {'play fair and safe', 'play on', 'sorry play on', 'carry on'},<br />
         ANSWER = {{'hehe I will xD'}}<br />
      },<br />
      {<br />
         KEY = {'what are you doing here?', 'what are you doing', 'what are u doing', 'what are u doing?', 'what you doing', 'what u doing?'},<br />
         ANSWER = {{'hunting :p', 'bored'}, {'same thing everyone does..', 'i do same thing as u do'}}<br />
      },<br />
      {<br />
         KEY = {'what colour is the sky?', 'what collor of the sky?', 'what colour is the sky?'},<br />
         ANSWER = {{'blue...', 'red? lol'}, {'...', '..', '....'}}<br />
      },<br />
      {<br />
         KEY = {'leave', 'leave!', 'leave plxx', 'leave now', 'leave plz', 'leave pls', 'leave?', 'leave ?', 'banned or leave', 'leave or banned', 'leave or banned?', 'leave or banned ?', 'no leave?', 'no leave ?'},<br />
         ANSWER = {{'i need exp man :S', 'hauehua i will lvl too'}, {'i wont leave haha', 'u leave..'}}<br />
      },<br />
      {<br />
         KEY = {'sup?', 'sup', 'everything ok?', 'whats up', 'whats up?', 'how are you?', 'yo sup?', 'hows you?'},<br />
         ANSWER = {{'fine but lemme hunt now', 'good i go hunt now'}, {'u already asked me that..',}}<br />
      },<br />
      {<br />
         KEY = {'where you from?', 'where are you from?', 'where are you from', 'where you from'},<br />
         ANSWER = {{'secret ^^'}, {'.. where u from?', 'im from hell huaehuah'}}<br />
      },<br />
      {<br />
         KEY = {'need mana', 'mana gaining',},<br />
         ANSWER = {{'lol k', ' Ok :)'}, {'too bad i cant give u mana hahah', 'go buy potions :D'}}<br />
      },<br />
      {<br />
         KEY = {'pk help', 'pk', 'pks', 'pking', 'help pk', 'pk help me'},<br />
         ANSWER = {{'sorry cant help', 'msg other guy'}, {'want me pk u? xD', 'who pk?'}}<br />
      },<br />
      {<br />
         KEY = {'fuck you', 'fu', 'fuck', 'bitch', 'puta madre', 'fdp', 'kurwa'},<br />
         ANSWER = {{':( not nice man', 'lol noob'}, {'reported'}}<br />
      },<br />
      {<br />
         KEY = {'what is your vocation?', 'voc?', 'vocation?'},<br />
         ANSWER = {{'look at me and youll see ^^'}, {'kina?', 'mage?', 'pally?'}}<br />
      },<br />
      {<br />
         KEY = {'what color does my outfit has?', 'what is the color of my outfit?', 'what color is my outfit?'},<br />
         ANSWER = {{'blue :)', 'yellow xD'}, {'u know the color..'}}<br />
      },<br />
      {<br />
         KEY = {'what monsters are you killing', 'what monsters are killing',},<br />
         ANSWER = {{'are you blind? -.-', 'all the monsters HAHA'}, {'i kill all rofl', 'everything haha'}}<br />
      },<br />
      {<br />
         KEY = {"i'm pro", 'protected', 'protection', 'i have pro', 'protected'},<br />
         ANSWER = {{'and? So do I...'}, {'i dont care bout ur protection', 'ur protector is a noob', 'i can kill ur protector'}}<br />
      },<br />
      {<br />
         KEY = {'?', '?!', '??', '???', 'what?', 'what?!', 'huh', 'afffff'},<br />
         ANSWER = {{'what?', 'hm?','?'}}<br />
      },<br />
      {<br />
         KEY = {'whats your problem?', 'what is your problem?', 'whats ur problem'},<br />
         ANSWER = {{'i got no problem'}, {'u got problem?', 'stop whining', 'wa wa wa'}}<br />
      },<br />
      {<br />
         KEY = {'me so evil', 'i am the devil', 'satan', 'evul'},<br />
         ANSWER = {{'LOL whuauehau'}, {'Im so evil!', 'huaheuae','die'}}<br />
      },<br />
      {<br />
         KEY = {'stop', 'stop plx', 'stop plz', 'stop pls', 'oi stop it', 'stop it'},<br />
         ANSWER = {{'-.- I need level!!'}, {'dont tell me stop noob', 'i do what i want -.-'}}<br />
      },<br />
      {<br />
         KEY = {'ban', 'banned', 'banishment', 'banning you', 'going to ban u', 'going to ban you', 'you gonna be banned', 'you are banned'},<br />
         ANSWER = {{'why man? im not doing anything wrong :S'}, {'i reported u', 'reported man -.-', 'i dont go banned'}}<br />
      },<br />
      {<br />
         KEY = {'help me', 'help', 'help!', 'helping'},<br />
         ANSWER = {{'no man find other help'}, {'i cant help', 'pay 100k i help', 'u pay me for help?'}}<br />
      },<br />
      {<br />
         KEY = {'..i..', '.i.', '.l.', '.1.', 'loser', 'dickhead', 'butthead', 'fucker', 'puto'},<br />
         ANSWER = {{'LOL I laugh at your face'}, {'ur words dont hurt me', 'haha ur mom', 'noob'}}<br />
      },<br />
      {<br />
         KEY = {'what color does an apple have?', 'what color is apples?'},<br />
         ANSWER = {{'Red?', 'Green?'}, {'u know the color...', '...', ',,'}}<br />
      },<br />
      {<br />
         KEY = {'what is my name', 'what is my name?'},<br />
         ANSWER = {{'dont you know your own name? xD'}, {'u tell me -.-', 'pfft noob'}}<br />
      },<br />
      {<br />
         KEY = {'block', 'blocked', 'stuck', 'trap', 'trapped', 'traped', 'haha blocked', 'trap him', 'trap her', 'blocked botter', 'trapped botter'},<br />
         ANSWER = {{'lol funny that you trap me :p'}, {'why u try trap?', 'lol nice try'}}<br />
      },<br />
      {<br />
         KEY = {'time?', 'whats the time', 'clock?', 'time?'},<br />
         ANSWER = {{'lol look at the clock -.-'}, {'time for u to get a watch', 'i unno man'}}<br />
      },<br />
      {<br />
         KEY = {'r please', 'r me', 'r!', 'r me :@', 'r now or dead', 'talk to me please', 'talk to me', 'talk!', 'talk please', 'talk pls', 'talk now'},<br />
         ANSWER = {{'i am', 'lol patience'}, {'how many times must u beg..', 'i r when i want -.-'}}<br />
      },<br />
      {<br />
         KEY = {'how are you?', 'how are u?', 'ho are u?', 'ho are you?'},<br />
         ANSWER = {{'fine thanks', 'good :)'}}<br />
      },<br />
      {<br />
         KEY = {'fun', 'pleasure', 'having fun', 'fun', 'funny', 'having fun?'},<br />
         ANSWER = {{'tibia big fun!'}, {'i have fun laugh at ur face xD'}}<br />
      },<br />
      {<br />
         KEY = {'cool', 'very cool', 'uber cool', 'kewl', 'cewl'},<br />
         ANSWER = {{'yes very cool'}, {'rox', 'i rox', 'u rox', 'sweet', 'awesome'}}<br />
      },<br />
      {<br />
         KEY = {'kill', 'kill them', 'kill monsters'},<br />
         ANSWER = {{'..', '...', 'aff'}}<br />
      },<br />
      {<br />
         KEY = {'..','.','...'},<br />
         ANSWER = {{'??', '?', '???'}}<br />
      },<br />
      {<br />
         KEY = {'bad', 'good', 'sucks', 'great'},<br />
         ANSWER = {{'yeps'}, {'nopes'}}<br />
      },<br />
      {<br />
         KEY = {'****', 'xeno', 'xb', '******', 'red bot', '*******', 'bottt', 'rbp'},<br />
         ANSWER = {{'what that?', 'wtf u saying?', '???'}}<br />
      },<br />
      {<br />
         KEY = {'heal', 'healing please', 'heal plx', 'heal plz',},<br />
         ANSWER = {{'heal urself..', 'go ask someone else'}, {'i cant heal u', 'heal me first'}}<br />
      },<br />
      {<br />
         KEY = {'hehe', 'haha', 'hihi'},<br />
         ANSWER = {{'^^', ':p', 'hihi', 'haha'}}<br />
      },<br />
      {<br />
         KEY = {'friends?', 'friend', 'friend?', 'friends', 'amigo', 'add vip'},<br />
         ANSWER = {{'il think about it :]'}, {'no', 'noo!'}}<br />
      },<br />
      {<br />
         KEY = {'runemaking', 'runes', 'rune', 'runes plz'},<br />
         ANSWER = {{'why?'}}<br />
      },<br />
      {<br />
         KEY = {'fishing', 'fishing rod', 'fish plx'},<br />
         ANSWER = {{'yes i can fish good', 'im a fishing owner lol'}, {'no have', 'dont have fish'}}<br />
      },<br />
      {<br />
         KEY = {'type', 'type', 'typ fast', 'fast', 'fast typer :D', 'very fast typer'},<br />
         ANSWER = {{'yes im really fast', 'train a lot on speed', 'im one hell of a racemachine'}}<br />
      },<br />
      {<br />
         KEY = {'nice', 'very nice'},<br />
         ANSWER = {{'nice! :D'}, {'nice frei itan?', 'grats', 'awesome'}}<br />
      },<br />
      {<br />
         KEY = {'what world do you play?', 'world?', 'world', 'what world is this?'},<br />
         ANSWER = {{'meh', 'unno'}}<br />
      },<br />
      {<br />
         KEY = {'what is your name?', 'name?', 'rl name?', 'your name?'},<br />
         ANSWER = {{'Go check online'}}<br />
      },<br />
      {<br />
         KEY = {'good exp?', 'enough exp?', 'is the cave big enough?', 'cave big', 'big cave?', 'explore', 'cave big enough for 2 of us'},<br />
         ANSWER = {{'leave i need full exp', 'leave now', 'leave grrr'}}<br />
      },<br />
      {<br />
         KEY = {'what color is your hair?', 'hair?'},<br />
         ANSWER = {{'green? xD', 'brown? haha'}, {'why u want to know?', 'why?'}}<br />
      },<br />
      {<br />
         KEY = {'how do you talk?', 'how do you talk to people?', 'how to talk?'},<br />
         ANSWER = {{'type and press enter...'}}<br />
      },<br />
      {<br />
         KEY = {'what is the name of this game?', 'name of this game?', 'how is this game called?', 'what is this game called?'},<br />
         ANSWER = {{'Tibia? :p'}}<br />
      },<br />
      {<br />
         KEY = {'bye', 'cya', 'see you later', 'im leave', 'see ya', 'baba', 'bb', 'goodbye', 'good bye', 'adios'},<br />
         ANSWER = {{'cya', 'bb', 'bye', 'adios', 'See you later'}, {'leave already rofl', 'talk to u later'}}<br />
      },<br />
      {<br />
         KEY = {'think your cool?', 'think you are cool?'},<br />
         ANSWER = {{'my mum said i was cool =]', 'cooler than you :p'}, {'i am very cool haha', 'i rox mans'}}<br />
      },<br />
      {<br />
         KEY = {'stop killing my stuff', 'i was here first', ' i first', 'stop kill', 'stop killing'},<br />
         ANSWER = {{'now its mine haha', 'i here', 'mine', 'grrr'}, {'stop whine', 'wah wah wah whine', '-tear-'}}<br />
      },<br />
      {<br />
         KEY = {'auto responder?', 'auto respond', 'autorespond', 'responder?', 'auto responder ?', 'auto responder', 'auto?', 'autoanswer?', 'autoanswer'},<br />
         ANSWER = {{':o tibia has that now? wow lol'}, {' u are one funny man', 'hahahaha'}}<br />
      },<br />
      {<br />
         KEY = {'long?', 'how long?', 'can i hunt?'},<br />
         ANSWER = {{'till I want', '5000 hours', 'all day long'},{'if you spam i will block you'}}<br />
      },<br />
      {    <br />
         KEY = {'u there?', 'u there ?', 'you there?', 'are you there', 'are you there?', 'ta ae?', 'ta aew?', 'ta ai?', 'vc ta ae?', 'vc ta ai?', 'ta no pc?', 'ta no PC?', 'man ta ai?'},<br />
         ANSWER = {{'yes', 'yup', 'sure'},{'Yes bro, I am', 'seriously? -.-', '-.-'}}<br />
      },<br />
      {<br />
         KEY = {'u are not in computer', 'u no use computer', 'u are not there', 'you are not there', 'you are not on the computer', 'you dont use the computer'},<br />
         ANSWER = {{'Yes I am', 'I am', 'uhum, sure bro', 'shut up'},{'dude, do you have problems?', 'are you crazy?', 'gonna ignore you'}}<br />
      },<br />
      {<br />
         KEY = {'dude', 'hey dude', 'yo dude', 'llol'},<br />
         ANSWER = {{'Wasup', 'yoyoyo', 'hey yo', 'whats up'},{'whats up bro', 'hum', 'what...'}}<br />
      },    <br />
   }<br />
<br />
   table.insert(CONFIG.SAFE_LIST, player_name)<br />
   table.lower(CONFIG.SAFE_LIST)<br />
   table.lower(CONFIG.DANGER_LIST)<br />
<br />
   local MESSAGES = getnewmessages()<br />
<br />
   for i,m in pairs(MESSAGES) do<br />
      if m.sender ~= nil and m.sender ~= '' and m.sender:lower() ~= player_name:lower() and (not table.find(CONFIG.SAFE_LIST, m.sender:lower()))  then<br />
         if not AUTO_RESPONDER.IGNORED_PLAYERS["" .. m.sender .. ""] then<br />
            for TALK_INDEX = 1, #AUTO_RESPONDER.SPEECHWORDS do<br />
               if table.find(AUTO_RESPONDER.SPEECHWORDS[TALK_INDEX].KEY, m.content) then<br />
                  if AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""] then<br />
                     if AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] then<br />
                        if not AUTO_RESPONDER.SPEECHWORDS[TALK_INDEX].ANSWER[AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] + 1] then<br />
                           AUTO_RESPONDER.IGNORED_PLAYERS["" .. m.sender .. ""] = true<br />
<br />
                           local mustAnswerIgnored = false<br />
                           local firstLetters = string.sub(m.sender, 3) <br />
                           if firstLetters ~= 'CM ' and firstLetters ~= 'GM ' and not table.find(CONFIG.DANGER_LIST, m.sender:lower()) then<br />
                              local creaturesScreen = getcreatures("pfs")<br />
                              for i,j in pairs(creaturesScreen) do<br />
                                 if j.name:lower() == m.sender:lower() and (j.visible or j.outfitid == 321 or j.outfitid == 75) then<br />
                                    mustAnswerIgnored = true<br />
                                    break<br />
                                 end<br />
                              end<br />
                           else<br />
                              mustAnswerIgnored = true<br />
                           end<br />
<br />
                           if mustAnswerIgnored then<br />
                              say(CONFIG.IGNORED_MESSAGES[math.random(1, #CONFIG.IGNORED_MESSAGES)])<br />
                              if CONFIG.LogText then<br />
                                 file.writeline(fileName, m.sender .. ": " .. m.content)<br />
                                 file.writeline(fileName, "IGNORED PLAYER: " .. m.sender)<br />
                              end                             <br />
                           end<br />
<br />
                           return<br />
                        end<br />
                     else<br />
                        AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] = 0<br />
                     end<br />
                  else<br />
                     AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""] = {}<br />
                     AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] = 0<br />
                  end<br />
<br />
                  local mustAnswer = false<br />
                  local firstLetters = string.sub(m.sender, 3) <br />
                  if firstLetters ~= 'CM ' and firstLetters ~= 'GM ' and not table.find(CONFIG.DANGER_LIST, m.sender:lower()) ~= nil then<br />
                     local creaturesScreen = getcreatures("pfs")<br />
                     for i,j in pairs(creaturesScreen) do<br />
                        if j.name:lower() == m.sender:lower() and (j.visible or j.outfitid == 321 or j.outfitid == 75) then<br />
                           mustAnswer = true<br />
                           break<br />
                        end<br />
                     end<br />
                  else<br />
                     mustAnswer = true<br />
                  end<br />
<br />
                  if mustAnswer then<br />
                     say(AUTO_RESPONDER.SPEECHWORDS[TALK_INDEX].ANSWER[AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] +1 ][math.random(1, #AUTO_RESPONDER.SPEECHWORDS[TALK_INDEX].ANSWER[AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] + 1])])<br />
                     if CONFIG.LogText then<br />
                        file.writeline(fileName, m.sender .. ": " .. m.content)<br />
                        file.writeline(fileName, player_name .. ": " .. AUTO_RESPONDER.SPEECHWORDS[TALK_INDEX].ANSWER[AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] +1 ][math.random(1, #AUTO_RESPONDER.SPEECHWORDS[TALK_INDEX].ANSWER[AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] + 1])])<br />
                     end<br />
                  end<br />
<br />
                  AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX], AUTO_RESPONDER.RESPONCE_TIMER = (AUTO_RESPONDER.PLAYER_MESSAGE_INFO["" .. m.sender .. ""][TALK_INDEX] + 1), os.time()<br />
                  return<br />
               end<br />
            end<br />
            <br />
            AUTO_RESPONDER.MESSAGE_RECORDER["" .. m.content .. ""] = (AUTO_RESPONDER.MESSAGE_RECORDER["" .. m.content .. ""] or 1) + 1<br />
<br />
         end<br />
      end<br />
   end</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Make burst arrows and stack]]></title>
			<link>https://forums.otbots.com/Thread-FREE-Make-burst-arrows-and-stack--301</link>
			<pubDate>Thu, 04 Jul 2019 08:25:32 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=1">Arkilys</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-FREE-Make-burst-arrows-and-stack--301</guid>
			<description><![CDATA[Hello.<br />
<br />
This script will cast burst arrow spell and stackitems.<br />
<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local spell = 'exevo con flam'<br />
local spell_mana = 120<br />
local capacity = 15 -- Stops if your capacity is equal or lower than this value. <br />
<br />
if mp() &gt;= spell_mana and cancast() and cap() &gt; capacity then<br />
&nbsp;&nbsp;&nbsp;&nbsp;cast(spell)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(1000)<br />
&nbsp;&nbsp;&nbsp;&nbsp;stackitems()<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
end</code></div></div><br />
An alternative to make more "legit", you setup a Mana range that a value will be sorted. If mana is higher than sorted value it will make burst arrow. <br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local spell = 'exevo con flam'<br />
local spell_mana = { Min = 120, Max = 150 } -- Mana range that a value will be sorted. If mana is higher than sorted value it will make burst arrow. <br />
local capacity = 15 -- Stops if your capacity is equal or lower than this value. <br />
<br />
if MANA_MAKE == nil then<br />
&nbsp;&nbsp;&nbsp;&nbsp;MANA_MAKE = random(spell_mana.Min, spell_mana.Max)<br />
end <br />
<br />
if mp() &gt;= MANA_MAKE and cancast() and cap() &gt; capacity then<br />
&nbsp;&nbsp;&nbsp;&nbsp;cast(spell)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(1000)<br />
&nbsp;&nbsp;&nbsp;&nbsp;stackitems()<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
&nbsp;&nbsp;&nbsp;&nbsp;MANA_MAKE = random(spell_mana.Min, spell_mana.Max)<br />
end</code></div></div><br />
Make burst arrow and drop on house<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local spell = 'exevo con flam'<br />
local spell_mana = { Min = 120, Max = 150 } -- Mana range that a value will be sorted. If mana is higher than sorted value it will make burst arrow. <br />
local drop_location = { X = 12345, Y = 12345, Z = 6 }<br />
local ammo = 'burst arrow'<br />
<br />
<br />
if MANA_MAKE == nil then<br />
&nbsp;&nbsp;&nbsp;&nbsp;MANA_MAKE = random(spell_mana.Min, spell_mana.Max)<br />
end <br />
<br />
if mp() &gt;= MANA_MAKE and cancast() then<br />
&nbsp;&nbsp;&nbsp;&nbsp;cast(spell)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(1000)<br />
&nbsp;&nbsp;&nbsp;&nbsp;stackitems()<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
&nbsp;&nbsp;&nbsp;&nbsp;moveitems(ammo, ground(drop_location.X, drop_location.Y, drop_location.Z), '', 100)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(300, 500)<br />
&nbsp;&nbsp;&nbsp;&nbsp;MANA_MAKE = random(spell_mana.Min, spell_mana.Max)<br />
end</code></div></div><br />
Make burst arrow only if your capacity is equal or higher than X and you have less than X burst arrows.<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local item = 'burst arrow'<br />
local spell = 'exevo con flam'<br />
local spell_mana = 120<br />
local capacity = 10 -- Stops if your capacity is equal or lower than this value.<br />
local min_count = 85<br />
<br />
if mp() &gt;= spell_mana and cancast() and cap() &gt; capacity and itemcount(item, '', true) &lt; min_count then<br />
&nbsp;&nbsp;&nbsp;&nbsp;cast(spell)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(1000)<br />
&nbsp;&nbsp;&nbsp;&nbsp;stackitems()<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
end</code></div></div><br />
<br />
Make burst arrow only if you have less than X burst arrows.<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local item = 'burst arrow'<br />
local spell = 'exevo con flam'<br />
local spell_mana = 120<br />
<br />
local min_count = 85<br />
<br />
if mp() &gt;= spell_mana and cancast() and itemcount(item, '', true) &lt; min_count then<br />
&nbsp;&nbsp;&nbsp;&nbsp;cast(spell)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(1000)<br />
&nbsp;&nbsp;&nbsp;&nbsp;stackitems()<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
end</code></div></div>]]></description>
			<content:encoded><![CDATA[Hello.<br />
<br />
This script will cast burst arrow spell and stackitems.<br />
<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local spell = 'exevo con flam'<br />
local spell_mana = 120<br />
local capacity = 15 -- Stops if your capacity is equal or lower than this value. <br />
<br />
if mp() &gt;= spell_mana and cancast() and cap() &gt; capacity then<br />
&nbsp;&nbsp;&nbsp;&nbsp;cast(spell)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(1000)<br />
&nbsp;&nbsp;&nbsp;&nbsp;stackitems()<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
end</code></div></div><br />
An alternative to make more "legit", you setup a Mana range that a value will be sorted. If mana is higher than sorted value it will make burst arrow. <br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local spell = 'exevo con flam'<br />
local spell_mana = { Min = 120, Max = 150 } -- Mana range that a value will be sorted. If mana is higher than sorted value it will make burst arrow. <br />
local capacity = 15 -- Stops if your capacity is equal or lower than this value. <br />
<br />
if MANA_MAKE == nil then<br />
&nbsp;&nbsp;&nbsp;&nbsp;MANA_MAKE = random(spell_mana.Min, spell_mana.Max)<br />
end <br />
<br />
if mp() &gt;= MANA_MAKE and cancast() and cap() &gt; capacity then<br />
&nbsp;&nbsp;&nbsp;&nbsp;cast(spell)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(1000)<br />
&nbsp;&nbsp;&nbsp;&nbsp;stackitems()<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
&nbsp;&nbsp;&nbsp;&nbsp;MANA_MAKE = random(spell_mana.Min, spell_mana.Max)<br />
end</code></div></div><br />
Make burst arrow and drop on house<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local spell = 'exevo con flam'<br />
local spell_mana = { Min = 120, Max = 150 } -- Mana range that a value will be sorted. If mana is higher than sorted value it will make burst arrow. <br />
local drop_location = { X = 12345, Y = 12345, Z = 6 }<br />
local ammo = 'burst arrow'<br />
<br />
<br />
if MANA_MAKE == nil then<br />
&nbsp;&nbsp;&nbsp;&nbsp;MANA_MAKE = random(spell_mana.Min, spell_mana.Max)<br />
end <br />
<br />
if mp() &gt;= MANA_MAKE and cancast() then<br />
&nbsp;&nbsp;&nbsp;&nbsp;cast(spell)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(1000)<br />
&nbsp;&nbsp;&nbsp;&nbsp;stackitems()<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
&nbsp;&nbsp;&nbsp;&nbsp;moveitems(ammo, ground(drop_location.X, drop_location.Y, drop_location.Z), '', 100)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(300, 500)<br />
&nbsp;&nbsp;&nbsp;&nbsp;MANA_MAKE = random(spell_mana.Min, spell_mana.Max)<br />
end</code></div></div><br />
Make burst arrow only if your capacity is equal or higher than X and you have less than X burst arrows.<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local item = 'burst arrow'<br />
local spell = 'exevo con flam'<br />
local spell_mana = 120<br />
local capacity = 10 -- Stops if your capacity is equal or lower than this value.<br />
local min_count = 85<br />
<br />
if mp() &gt;= spell_mana and cancast() and cap() &gt; capacity and itemcount(item, '', true) &lt; min_count then<br />
&nbsp;&nbsp;&nbsp;&nbsp;cast(spell)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(1000)<br />
&nbsp;&nbsp;&nbsp;&nbsp;stackitems()<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
end</code></div></div><br />
<br />
Make burst arrow only if you have less than X burst arrows.<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local item = 'burst arrow'<br />
local spell = 'exevo con flam'<br />
local spell_mana = 120<br />
<br />
local min_count = 85<br />
<br />
if mp() &gt;= spell_mana and cancast() and itemcount(item, '', true) &lt; min_count then<br />
&nbsp;&nbsp;&nbsp;&nbsp;cast(spell)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(1000)<br />
&nbsp;&nbsp;&nbsp;&nbsp;stackitems()<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
end</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Loot Sorter]]></title>
			<link>https://forums.otbots.com/Thread-FREE-Loot-Sorter--300</link>
			<pubDate>Thu, 04 Jul 2019 08:23:31 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=1">Arkilys</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-FREE-Loot-Sorter--300</guid>
			<description><![CDATA[Hello.<br />
<br />
There are two scripts:<br />
1st script: Drop specific items on specific sqms on floor and open next backpack if no more items to drop;<br />
2nd script: Move specific items to specific containers and open next backpack if no more items to drop;<br />
<br />
It will drop the following items on the specific locations and will also open the next backpacks inside.<br />
So you need to have a backpack with 19 items and 1 container inside, etc.<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local OpenNextBPs = true<br />
local ITEMS_DROP = {<br />
&nbsp;&nbsp; { Id = 2148, Location = { X = 12345, Y = 12345}},<br />
&nbsp;&nbsp; { Id = 1234, Location = { X = 12345, Y = 12345}},<br />
&nbsp;&nbsp; { Id = 4321, Location = { X = 12345, Y = 12345}},<br />
<br />
}<br />
<br />
local player_z = posz()<br />
<br />
for _, item in ipairs(ITEMS_DROP) do<br />
&nbsp;&nbsp; while itemcount(item.Id) &gt; 0 do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; moveitems(item.Id, ground(item.Location.X, item.Location.Y, player_z), '', 100)<br />
&nbsp;&nbsp; end<br />
end<br />
<br />
if OpenNextBPs then<br />
&nbsp;&nbsp; local containers = getcontainers()<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;for i = 1, #containers do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; local container = containers[i]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for j = 1, #container.items do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; local item = container.items[j]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if item ~= nil then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if itemhasflags(item.id, 4) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; openitemslot(item.index, container.index, false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wait(800, 1200)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br />
&nbsp;&nbsp; end<br />
end</code></div></div><br />
It will move items to specific containers and will also open the next backpacks inside.<br />
So you need to have a backpack with 19 items and 1 container inside, etc.<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local OpenNextBPs = true<br />
local ITEMS_FROM_CONTAINER = 0 -- Index or container name. I recommend to use index because you may have many backpacks.<br />
local ITEMS_DROP = {<br />
&nbsp;&nbsp; { Id = 2148, Location = { X = 12345, Y = 12345}},<br />
&nbsp;&nbsp; { Id = 1234, Location = { X = 12345, Y = 12345}},<br />
&nbsp;&nbsp; { Id = 4321, Location = { X = 12345, Y = 12345}},<br />
<br />
}<br />
<br />
local player_z = posz()<br />
<br />
for _, item in ipairs(ITEMS_DROP) do<br />
&nbsp;&nbsp; while itemcount(item.Id, ITEMS_FROM_CONTAINER) &gt; 0 do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; moveitems(item.Id, ground(item.Location.X, item.Location.Y, player_z), ITEMS_FROM_CONTAINER, 100)<br />
&nbsp;&nbsp; end<br />
end<br />
<br />
if OpenNextBPs then<br />
&nbsp;&nbsp; local containers = getcontainers()<br />
<br />
&nbsp;&nbsp; local container_from_name = ''<br />
&nbsp;&nbsp; local container_from_index = -1<br />
<br />
&nbsp;&nbsp; if type(ITEMS_FROM_CONTAINER) == 'number' then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;container_from_index = ITEMS_FROM_CONTAINER<br />
&nbsp;&nbsp; elseif type(ITEMS_FROM_CONTAINER) == 'string' then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local temp_num = tonumber(ITEMS_FROM_CONTAINER)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if temp_num ~= nil then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; container_from_index = temp_num<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; container_from_name = ITEMS_FROM_CONTAINER<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp; end<br />
<br />
&nbsp;&nbsp; for i = 1, #containers do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local container = containers[i]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if container.open and container.usedslots &gt; 0 and (container.name == container_from_name or container.index == container_from_index) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for j = 1, #container.items do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local item = container.items[j]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if item ~= nil then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if itemhasflags(item.id, 4) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;openitemslot(item.index, container.index, false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(800, 1200)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp; end<br />
end</code></div></div>]]></description>
			<content:encoded><![CDATA[Hello.<br />
<br />
There are two scripts:<br />
1st script: Drop specific items on specific sqms on floor and open next backpack if no more items to drop;<br />
2nd script: Move specific items to specific containers and open next backpack if no more items to drop;<br />
<br />
It will drop the following items on the specific locations and will also open the next backpacks inside.<br />
So you need to have a backpack with 19 items and 1 container inside, etc.<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local OpenNextBPs = true<br />
local ITEMS_DROP = {<br />
&nbsp;&nbsp; { Id = 2148, Location = { X = 12345, Y = 12345}},<br />
&nbsp;&nbsp; { Id = 1234, Location = { X = 12345, Y = 12345}},<br />
&nbsp;&nbsp; { Id = 4321, Location = { X = 12345, Y = 12345}},<br />
<br />
}<br />
<br />
local player_z = posz()<br />
<br />
for _, item in ipairs(ITEMS_DROP) do<br />
&nbsp;&nbsp; while itemcount(item.Id) &gt; 0 do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; moveitems(item.Id, ground(item.Location.X, item.Location.Y, player_z), '', 100)<br />
&nbsp;&nbsp; end<br />
end<br />
<br />
if OpenNextBPs then<br />
&nbsp;&nbsp; local containers = getcontainers()<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;for i = 1, #containers do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; local container = containers[i]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for j = 1, #container.items do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; local item = container.items[j]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if item ~= nil then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if itemhasflags(item.id, 4) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; openitemslot(item.index, container.index, false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wait(800, 1200)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br />
&nbsp;&nbsp; end<br />
end</code></div></div><br />
It will move items to specific containers and will also open the next backpacks inside.<br />
So you need to have a backpack with 19 items and 1 container inside, etc.<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local OpenNextBPs = true<br />
local ITEMS_FROM_CONTAINER = 0 -- Index or container name. I recommend to use index because you may have many backpacks.<br />
local ITEMS_DROP = {<br />
&nbsp;&nbsp; { Id = 2148, Location = { X = 12345, Y = 12345}},<br />
&nbsp;&nbsp; { Id = 1234, Location = { X = 12345, Y = 12345}},<br />
&nbsp;&nbsp; { Id = 4321, Location = { X = 12345, Y = 12345}},<br />
<br />
}<br />
<br />
local player_z = posz()<br />
<br />
for _, item in ipairs(ITEMS_DROP) do<br />
&nbsp;&nbsp; while itemcount(item.Id, ITEMS_FROM_CONTAINER) &gt; 0 do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; moveitems(item.Id, ground(item.Location.X, item.Location.Y, player_z), ITEMS_FROM_CONTAINER, 100)<br />
&nbsp;&nbsp; end<br />
end<br />
<br />
if OpenNextBPs then<br />
&nbsp;&nbsp; local containers = getcontainers()<br />
<br />
&nbsp;&nbsp; local container_from_name = ''<br />
&nbsp;&nbsp; local container_from_index = -1<br />
<br />
&nbsp;&nbsp; if type(ITEMS_FROM_CONTAINER) == 'number' then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;container_from_index = ITEMS_FROM_CONTAINER<br />
&nbsp;&nbsp; elseif type(ITEMS_FROM_CONTAINER) == 'string' then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local temp_num = tonumber(ITEMS_FROM_CONTAINER)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if temp_num ~= nil then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; container_from_index = temp_num<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; container_from_name = ITEMS_FROM_CONTAINER<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp; end<br />
<br />
&nbsp;&nbsp; for i = 1, #containers do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local container = containers[i]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if container.open and container.usedslots &gt; 0 and (container.name == container_from_name or container.index == container_from_index) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for j = 1, #container.items do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local item = container.items[j]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if item ~= nil then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if itemhasflags(item.id, 4) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;openitemslot(item.index, container.index, false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(800, 1200)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp; end<br />
end</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[If player appears and don't leave, start talking!]]></title>
			<link>https://forums.otbots.com/Thread-FREE-If-player-appears-and-don-t-leave-start-talking--299</link>
			<pubDate>Thu, 04 Jul 2019 08:23:07 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=1">Arkilys</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-FREE-If-player-appears-and-don-t-leave-start-talking--299</guid>
			<description><![CDATA[<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local SafeList = { 'Player1', 'player2', 'pk3'}<br />
local TextsSay = {<br />
&nbsp;&nbsp;{ 'hello', 'hi', '^^', ':)' }, -- FIRST message, It's gonna say one of those things by random.<br />
&nbsp;&nbsp;{ 'how can i help you?', 'sup mate', 'do you need something?' }, -- SECOND message, It's gonna say one of those things AFTER FIRST MESSAGE by random.<br />
&nbsp;&nbsp;{ 'do you mind?', 'tell me', 'mind?' }, -- THIRD message, It's gonna say one of those things AFTER SECOND MESSAGE by random.<br />
&nbsp;&nbsp;{ 'im doing some stuff.', 'working..', 'doing stuff', 'homework :s' }, -- FOURTH message, It's gonna say one of those things AFTER THIRD MESSAGE by random.<br />
&nbsp;&nbsp;{ 'it can be boring', 'you may lose some time', 'wasting time?' },<br />
&nbsp;&nbsp;{ 'well, told you so', 'just said', 'well...' },<br />
&nbsp;&nbsp;{ 'must change windows', 'alt tab', 'must check something' },<br />
&nbsp;&nbsp;{ 'bye mate', 'bye :(', 'see ya' },<br />
}<br />
<br />
local Times = <br />
{<br />
&nbsp;&nbsp; StartTalking&nbsp;&nbsp;= 3000, -- Time to wait before START saying something IN milliseconds!<br />
&nbsp;&nbsp; BetweenMessages = 8000, -- Time to wait between says IN milliseconds!<br />
}<br />
<br />
<br />
--[[ DON'T EDIT BELOW THIS LINE --]]<br />
--[[ DON'T EDIT BELOW THIS LINE --]]<br />
<br />
table.lower(SafeList)<br />
<br />
IGNORED_PLAYERS = IGNORED_PLAYERS or { }<br />
<br />
local PlayersList = getcreatures('pfs')<br />
<br />
local player_name = name()<br />
local player_z = posz()<br />
<br />
for _, player in ipairs(PlayersList) do<br />
&nbsp;&nbsp; if player.name ~= player_name and player.visible and player.posz == player_z and table.find(IGNORED_PLAYERS, player.name) == nil and table.find(SafeList, player.name:lower()) == nil then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wait(Times.StartTalking)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for TALK_INDEX = 1, #TextsSay do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if paround(7, player.name) &gt; 0 then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; local sortText = random(1, #TextsSay[TALK_INDEX])<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; say(TextsSay[TALK_INDEX][sortText])<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wait(Times.BetweenMessages)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if TALK_INDEX == #TextsSay then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; table.insert(IGNORED_PLAYERS, player.name)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp; end<br />
end</code></div></div>]]></description>
			<content:encoded><![CDATA[<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local SafeList = { 'Player1', 'player2', 'pk3'}<br />
local TextsSay = {<br />
&nbsp;&nbsp;{ 'hello', 'hi', '^^', ':)' }, -- FIRST message, It's gonna say one of those things by random.<br />
&nbsp;&nbsp;{ 'how can i help you?', 'sup mate', 'do you need something?' }, -- SECOND message, It's gonna say one of those things AFTER FIRST MESSAGE by random.<br />
&nbsp;&nbsp;{ 'do you mind?', 'tell me', 'mind?' }, -- THIRD message, It's gonna say one of those things AFTER SECOND MESSAGE by random.<br />
&nbsp;&nbsp;{ 'im doing some stuff.', 'working..', 'doing stuff', 'homework :s' }, -- FOURTH message, It's gonna say one of those things AFTER THIRD MESSAGE by random.<br />
&nbsp;&nbsp;{ 'it can be boring', 'you may lose some time', 'wasting time?' },<br />
&nbsp;&nbsp;{ 'well, told you so', 'just said', 'well...' },<br />
&nbsp;&nbsp;{ 'must change windows', 'alt tab', 'must check something' },<br />
&nbsp;&nbsp;{ 'bye mate', 'bye :(', 'see ya' },<br />
}<br />
<br />
local Times = <br />
{<br />
&nbsp;&nbsp; StartTalking&nbsp;&nbsp;= 3000, -- Time to wait before START saying something IN milliseconds!<br />
&nbsp;&nbsp; BetweenMessages = 8000, -- Time to wait between says IN milliseconds!<br />
}<br />
<br />
<br />
--[[ DON'T EDIT BELOW THIS LINE --]]<br />
--[[ DON'T EDIT BELOW THIS LINE --]]<br />
<br />
table.lower(SafeList)<br />
<br />
IGNORED_PLAYERS = IGNORED_PLAYERS or { }<br />
<br />
local PlayersList = getcreatures('pfs')<br />
<br />
local player_name = name()<br />
local player_z = posz()<br />
<br />
for _, player in ipairs(PlayersList) do<br />
&nbsp;&nbsp; if player.name ~= player_name and player.visible and player.posz == player_z and table.find(IGNORED_PLAYERS, player.name) == nil and table.find(SafeList, player.name:lower()) == nil then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wait(Times.StartTalking)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for TALK_INDEX = 1, #TextsSay do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if paround(7, player.name) &gt; 0 then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; local sortText = random(1, #TextsSay[TALK_INDEX])<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; say(TextsSay[TALK_INDEX][sortText])<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wait(Times.BetweenMessages)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if TALK_INDEX == #TextsSay then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; table.insert(IGNORED_PLAYERS, player.name)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp; end<br />
end</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Equip/Unequip Small Stone and Weapon]]></title>
			<link>https://forums.otbots.com/Thread-FREE-Equip-Unequip-Small-Stone-and-Weapon--298</link>
			<pubDate>Thu, 04 Jul 2019 08:22:45 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=1">Arkilys</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-FREE-Equip-Unequip-Small-Stone-and-Weapon--298</guid>
			<description><![CDATA[<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local WEAPON = 'serpent sword' -- IT MUST BE ON LEFT HAND (&lt;&lt;&lt;)<br />
local BACKPACK_WEAPON = 'red backpack' -- Backpack that will save the weapon.<br />
<br />
local BACKPACK_STONES = 'red backpack' -- Backpack that will save the stones.<br />
local STONES_COUNT = 3 -- Minimum amount to move stones to hand if you are using weapon.<br />
local STONES_ID = 1781 -- Small stone id.<br />
<br />
<br />
local WEAPON_ID = itemid(WEAPON) -- DONT CHANGE THIS LINE<br />
<br />
<br />
local left_hand = lhand()<br />
<br />
if left_hand.id == 0 then<br />
&nbsp;&nbsp;&nbsp;&nbsp;if itemcount(STONES_ID, BACKPACK_STONES) &gt;= STONES_COUNT then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;moveitems(STONES_ID, 'lhand', BACKPACK_STONES)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
&nbsp;&nbsp;&nbsp;&nbsp;else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;moveitems(WEAPON_ID, 'lhand')<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
&nbsp;&nbsp;&nbsp;&nbsp;end<br />
elseif left_hand.id == STONES_ID and itemcount(STONES_ID, BACKPACK_STONES) &gt;= 1 then<br />
&nbsp;&nbsp;&nbsp;&nbsp;moveitems(STONES_ID, 'lhand', BACKPACK_STONES)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
elseif left_hand.id ~= STONES_ID and itemcount(STONES_ID, BACKPACK_STONES) &gt;= STONES_COUNT then<br />
&nbsp;&nbsp;&nbsp;&nbsp;moveitems(left_hand.id, BACKPACK_WEAPON, 'lhand')<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
&nbsp;&nbsp;&nbsp;&nbsp;moveitems(STONES_ID, 'lhand', BACKPACK_STONES)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
end</code></div></div>]]></description>
			<content:encoded><![CDATA[<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local WEAPON = 'serpent sword' -- IT MUST BE ON LEFT HAND (&lt;&lt;&lt;)<br />
local BACKPACK_WEAPON = 'red backpack' -- Backpack that will save the weapon.<br />
<br />
local BACKPACK_STONES = 'red backpack' -- Backpack that will save the stones.<br />
local STONES_COUNT = 3 -- Minimum amount to move stones to hand if you are using weapon.<br />
local STONES_ID = 1781 -- Small stone id.<br />
<br />
<br />
local WEAPON_ID = itemid(WEAPON) -- DONT CHANGE THIS LINE<br />
<br />
<br />
local left_hand = lhand()<br />
<br />
if left_hand.id == 0 then<br />
&nbsp;&nbsp;&nbsp;&nbsp;if itemcount(STONES_ID, BACKPACK_STONES) &gt;= STONES_COUNT then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;moveitems(STONES_ID, 'lhand', BACKPACK_STONES)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
&nbsp;&nbsp;&nbsp;&nbsp;else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;moveitems(WEAPON_ID, 'lhand')<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
&nbsp;&nbsp;&nbsp;&nbsp;end<br />
elseif left_hand.id == STONES_ID and itemcount(STONES_ID, BACKPACK_STONES) &gt;= 1 then<br />
&nbsp;&nbsp;&nbsp;&nbsp;moveitems(STONES_ID, 'lhand', BACKPACK_STONES)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
elseif left_hand.id ~= STONES_ID and itemcount(STONES_ID, BACKPACK_STONES) &gt;= STONES_COUNT then<br />
&nbsp;&nbsp;&nbsp;&nbsp;moveitems(left_hand.id, BACKPACK_WEAPON, 'lhand')<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
&nbsp;&nbsp;&nbsp;&nbsp;moveitems(STONES_ID, 'lhand', BACKPACK_STONES)<br />
&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
end</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Pickup Spears]]></title>
			<link>https://forums.otbots.com/Thread-FREE-Pickup-Spears--297</link>
			<pubDate>Thu, 04 Jul 2019 08:22:24 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=1">Arkilys</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-FREE-Pickup-Spears--297</guid>
			<description><![CDATA[Hello.<br />
<br />
This is a basic script to pickup spears/small stones to a BACKPACK, it's able to move dead bodies away and pickup.<br />
It will disable TARGETING, CAVEBOT and LOOTER to pickup the spears and enable it again.<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #ff3333;" class="mycode_color">I will <span style="text-decoration: underline;" class="mycode_u">NOT</span> give any support on this script, not even to fix bugs.</span></span> So please, don't ask to because you will be ignored.<br />
<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local SPEAR_ID = 2389 -- Spear ID<br />
local SPEAR_BACKPACK = 'red backpack' -- The backpack that spears/stones will be moved to.<br />
local SPEAR_MIN_AMOUNT = 3 -- Amount start to pickup spears<br />
local SPEAR_MAX_AMOUNT = 5 -- Max. Amount to pickup<br />
local MOVE_BODIES = true -- Move dead bodies to pickup spears<br />
<br />
<br />
local SPEAR_COUNT = itemcount(SPEAR_ID, SPEAR_BACKPACK, true)<br />
if SPEAR_COUNT &lt; SPEAR_MIN_AMOUNT then<br />
&nbsp;&nbsp;&nbsp;&nbsp;if not MOVE_BODIES then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local player_x = posx()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local player_y = posy()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local player_z = posz()<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local disabled_stuff = false<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for x = -7, 7, 1 do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for y = -5, 5, 1 do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local top_item = topitem(player_x + x, player_y + y, player_z, false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if top_item.id == SPEAR_ID then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Looter/Enabled', false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Cavebot/Enabled', false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Targeting/Enabled', false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;disabled_stuff = true<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if reachlocation(player_x + x, player_y + y, player_z) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local AMOUNT_PICKUP = (SPEAR_MAX_AMOUNT - SPEAR_COUNT)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if AMOUNT_PICKUP &gt; top_item.count then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AMOUNT_PICKUP = 100<br />
&nbsp;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sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if disabled_stuff then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Targeting/Enabled', true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Looter/Enabled', true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Cavebot/Enabled', true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if SPEAR_COUNT == 0 or maround(7) == 0 then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local player_z = posz()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local tiles = gettiles()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for _, tile in ipairs(tiles) do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if tile.itemcount &gt; 1 and tile.posz == player_z then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for __, item in ipairs(tile.items) do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if item.id == SPEAR_ID then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Looter/Enabled', false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Cavebot/Enabled', false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Targeting/Enabled', false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;disabled_stuff = true<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if reachlocation(tile.posx, tile.posy, tile.posz) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;while true do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local top_item = topitem(tile.posx, tile.posy, tile.posz, false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if top_item.id == 0 or top_item.id == SPEAR_ID or (posx() == tile.posx and posy() == tile.posy) then<br />
&nbsp;&nbsp;&nbsp;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nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if disabled_stuff then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Targeting/Enabled', true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Looter/Enabled', true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Cavebot/Enabled', true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;end<br />
end</code></div></div>]]></description>
			<content:encoded><![CDATA[Hello.<br />
<br />
This is a basic script to pickup spears/small stones to a BACKPACK, it's able to move dead bodies away and pickup.<br />
It will disable TARGETING, CAVEBOT and LOOTER to pickup the spears and enable it again.<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><span style="color: #ff3333;" class="mycode_color">I will <span style="text-decoration: underline;" class="mycode_u">NOT</span> give any support on this script, not even to fix bugs.</span></span> So please, don't ask to because you will be ignored.<br />
<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local SPEAR_ID = 2389 -- Spear ID<br />
local SPEAR_BACKPACK = 'red backpack' -- The backpack that spears/stones will be moved to.<br />
local SPEAR_MIN_AMOUNT = 3 -- Amount start to pickup spears<br />
local SPEAR_MAX_AMOUNT = 5 -- Max. Amount to pickup<br />
local MOVE_BODIES = true -- Move dead bodies to pickup spears<br />
<br />
<br />
local SPEAR_COUNT = itemcount(SPEAR_ID, SPEAR_BACKPACK, true)<br />
if SPEAR_COUNT &lt; SPEAR_MIN_AMOUNT then<br />
&nbsp;&nbsp;&nbsp;&nbsp;if not MOVE_BODIES then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local player_x = posx()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local player_y = posy()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local player_z = posz()<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local disabled_stuff = false<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for x = -7, 7, 1 do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for y = -5, 5, 1 do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local top_item = topitem(player_x + x, player_y + y, player_z, false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if top_item.id == SPEAR_ID then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Looter/Enabled', false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Cavebot/Enabled', false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Targeting/Enabled', false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;disabled_stuff = true<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if reachlocation(player_x + x, player_y + y, player_z) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(800)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local AMOUNT_PICKUP = (SPEAR_MAX_AMOUNT - SPEAR_COUNT)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if disabled_stuff then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Targeting/Enabled', true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Looter/Enabled', true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Cavebot/Enabled', true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if SPEAR_COUNT == 0 or maround(7) == 0 then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local player_z = posz()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local tiles = gettiles()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for _, tile in ipairs(tiles) do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if tile.itemcount &gt; 1 and tile.posz == player_z then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for __, item in ipairs(tile.items) do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if item.id == SPEAR_ID then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Looter/Enabled', false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Cavebot/Enabled', false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb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nbsp;local top_item = topitem(tile.posx, tile.posy, tile.posz, false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if top_item.id == 0 or top_item.id == SPEAR_ID or (posx() == tile.posx and posy() == tile.posy) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;break<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;moveitems(top_item.id, ground(posx(), posy(), posz()), ground(tile.posx, t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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if disabled_stuff then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Targeting/Enabled', true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Looter/Enabled', true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Cavebot/Enabled', true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;end<br />
end</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Take SS on Level Up!]]></title>
			<link>https://forums.otbots.com/Thread-FREE-Take-SS-on-Level-Up--296</link>
			<pubDate>Thu, 04 Jul 2019 08:21:50 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=1">Arkilys</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-FREE-Take-SS-on-Level-Up--296</guid>
			<description><![CDATA[Hello.<br />
<br />
This script gonna take a screenshot when your character reach next level.<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>if lastLevel == nil then<br />
&nbsp;&nbsp;lastLevel = level()<br />
else<br />
&nbsp;&nbsp;local lvl = level()<br />
&nbsp;&nbsp;if lvl &gt; lastLevel then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(500)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;screenshot(name() .. ' - Level ' .. lvl)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lastLevel = lvl<br />
&nbsp;&nbsp;end<br />
end</code></div></div>]]></description>
			<content:encoded><![CDATA[Hello.<br />
<br />
This script gonna take a screenshot when your character reach next level.<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>if lastLevel == nil then<br />
&nbsp;&nbsp;lastLevel = level()<br />
else<br />
&nbsp;&nbsp;local lvl = level()<br />
&nbsp;&nbsp;if lvl &gt; lastLevel then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(500)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;screenshot(name() .. ' - Level ' .. lvl)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lastLevel = lvl<br />
&nbsp;&nbsp;end<br />
end</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[v0.2] Check for rune and Open next backpack or Alert]]></title>
			<link>https://forums.otbots.com/Thread-FREE-v0-2-Check-for-rune-and-Open-next-backpack-or-Alert--295</link>
			<pubDate>Thu, 04 Jul 2019 08:21:33 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=1">Arkilys</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-FREE-v0-2-Check-for-rune-and-Open-next-backpack-or-Alert--295</guid>
			<description><![CDATA[Hello.<br />
<br />
This script will check if there are RUNES on specific backpack's and...<br />
<span style="font-weight: bold;" class="mycode_b">1.</span> IF OPEN_BACKPACK is ENABLED... If there are no specific rune and there are a container, it will open this container. <span style="font-weight: bold;" class="mycode_b">I recommend to <span style="text-decoration: underline;" class="mycode_u">disable</span> "OPEN_BACKPACK" (set "OPEN_BACKPACK" as false) while using "Healer/Settings/Open next BP for more supply" or "Targeting/Settings/Open next BP for more runes".</span><br />
<span style="font-weight: bold;" class="mycode_b">2. </span>If there are less or equal to MinCount and there are no container, it will play a sound and flash the client.<br />
<br />
I recommend you to use Backpack index instead of names, unless you use that specific backpack (e.g.: "golden backpack') for your runes backpacks only and all runes backpacks INSIDE are the same kind. So if you are using Golden Backpack for runes and gold coins OR not using same color for all runes backpacks, you must use index.<br />
<br />
Index is zero-based and according the order that you opened the backpacks.<br />
<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local Backpack = 'green backpack' -- specific container to check for runes.<br />
local Rune = 'ultimate healing rune' -- rune to check.<br />
<br />
local OPEN_BACKPACK = true -- open next backpack for more runes?<br />
<br />
local PLAY_ALERT = true -- Play alert on MinCount?<br />
local ALERT_COUNT = 2 -- Min. count to play alert.<br />
<br />
--[[ DON'T EDIT BELOW THIS LINE --]]<br />
--[[ DON'T EDIT BELOW THIS LINE --]]<br />
--[[ DON'T EDIT BELOW THIS LINE --]]<br />
<br />
if connected() then<br />
&nbsp;&nbsp;&nbsp;&nbsp;Rune = itemid(Rune)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;local Containers = getcontainers()<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;for i = 1, #Containers do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local cont = Containers[i]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local ContainerSlot = -1<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local RunesCount = 0<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (cont.name:lower() == Backpack:lower() or tostring(Backpack) == tostring(cont.index)) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for j = 1, #cont.items do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local item = cont.items[j]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if itemhasflags(item.id, 4) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ContainerSlot = item.index<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;elseif item.id == Rune then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RunesCount = RunesCount + item.count<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if OPEN_BACKPACK and RunesCount == 0 and ContainerSlot &gt;= 0 then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;openitemslot(ContainerSlot, cont.index, false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(1000)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;elseif PLAY_ALERT and RunesCount &lt;= ALERT_COUNT and ContainerSlot == -1 then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;playsound('default')<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;flashclient()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(800)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;end<br />
end</code></div></div>]]></description>
			<content:encoded><![CDATA[Hello.<br />
<br />
This script will check if there are RUNES on specific backpack's and...<br />
<span style="font-weight: bold;" class="mycode_b">1.</span> IF OPEN_BACKPACK is ENABLED... If there are no specific rune and there are a container, it will open this container. <span style="font-weight: bold;" class="mycode_b">I recommend to <span style="text-decoration: underline;" class="mycode_u">disable</span> "OPEN_BACKPACK" (set "OPEN_BACKPACK" as false) while using "Healer/Settings/Open next BP for more supply" or "Targeting/Settings/Open next BP for more runes".</span><br />
<span style="font-weight: bold;" class="mycode_b">2. </span>If there are less or equal to MinCount and there are no container, it will play a sound and flash the client.<br />
<br />
I recommend you to use Backpack index instead of names, unless you use that specific backpack (e.g.: "golden backpack') for your runes backpacks only and all runes backpacks INSIDE are the same kind. So if you are using Golden Backpack for runes and gold coins OR not using same color for all runes backpacks, you must use index.<br />
<br />
Index is zero-based and according the order that you opened the backpacks.<br />
<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local Backpack = 'green backpack' -- specific container to check for runes.<br />
local Rune = 'ultimate healing rune' -- rune to check.<br />
<br />
local OPEN_BACKPACK = true -- open next backpack for more runes?<br />
<br />
local PLAY_ALERT = true -- Play alert on MinCount?<br />
local ALERT_COUNT = 2 -- Min. count to play alert.<br />
<br />
--[[ DON'T EDIT BELOW THIS LINE --]]<br />
--[[ DON'T EDIT BELOW THIS LINE --]]<br />
--[[ DON'T EDIT BELOW THIS LINE --]]<br />
<br />
if connected() then<br />
&nbsp;&nbsp;&nbsp;&nbsp;Rune = itemid(Rune)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;local Containers = getcontainers()<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;for i = 1, #Containers do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local cont = Containers[i]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local ContainerSlot = -1<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local RunesCount = 0<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (cont.name:lower() == Backpack:lower() or tostring(Backpack) == tostring(cont.index)) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for j = 1, #cont.items do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local item = cont.items[j]<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if itemhasflags(item.id, 4) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ContainerSlot = item.index<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;elseif item.id == Rune then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RunesCount = RunesCount + item.count<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if OPEN_BACKPACK and RunesCount == 0 and ContainerSlot &gt;= 0 then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;openitemslot(ContainerSlot, cont.index, false)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(1000)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;elseif PLAY_ALERT and RunesCount &lt;= ALERT_COUNT and ContainerSlot == -1 then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;playsound('default')<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;flashclient()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(800)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end<br />
&nbsp;&nbsp;&nbsp;&nbsp;end<br />
end</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Enable/Disable Runemaker every X seconds]]></title>
			<link>https://forums.otbots.com/Thread-FREE-Enable-Disable-Runemaker-every-X-seconds--294</link>
			<pubDate>Thu, 04 Jul 2019 08:20:57 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=1">Arkilys</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-FREE-Enable-Disable-Runemaker-every-X-seconds--294</guid>
			<description><![CDATA[Hello.<br />
<br />
I didn't tested the codes that i will post, but people can use it as "start" to adapt for its own needs.<br />
<br />
This script will ENABLE the runemaker every X seconds AFTER MAKING LAST RUNE, but it will only do that if have mana enough. After enabling runemaker, it will wait 10 seconds (which you can increase, this time must be enough to move blanks, cast spell and move "made" rune back to backpack) and disable it.<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local Time_MakeRune = 300 -- Time to wait between runes to enable Runemaker, in seconds.<br />
local manaCondition = 'Mana above' -- Condition to mane runes: Mana above or Mana percent<br />
local manaValue = 500 -- Value to make runes.<br />
<br />
<br />
LAST_RUNE_TIME = LAST_RUNE_TIME or 1<br />
<br />
local currentValue = mppc()<br />
if manaCondition:lower() == 'mana above' then<br />
&nbsp;&nbsp;currentValue = mp()<br />
end<br />
<br />
local timeNow = runningtime()<br />
<br />
if currentValue &gt;= manaValue and (timeNow - LAST_RUNE_TIME) &gt;= Time_MakeRune then<br />
&nbsp;&nbsp;setsettings('Runemaker/Enabled', true)<br />
&nbsp;&nbsp;wait(10000)<br />
&nbsp;&nbsp;LAST_RUNE_TIME = timeNow<br />
&nbsp;&nbsp;setsettings('Runemaker/Enabled', false)<br />
else<br />
&nbsp;&nbsp;local runemakerEnabled = getsettings('Runemaker/Enabled')<br />
&nbsp;&nbsp;if runemakerEnabled then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Runemaker/Enabled', false)<br />
&nbsp;&nbsp;end<br />
end</code></div></div>]]></description>
			<content:encoded><![CDATA[Hello.<br />
<br />
I didn't tested the codes that i will post, but people can use it as "start" to adapt for its own needs.<br />
<br />
This script will ENABLE the runemaker every X seconds AFTER MAKING LAST RUNE, but it will only do that if have mana enough. After enabling runemaker, it will wait 10 seconds (which you can increase, this time must be enough to move blanks, cast spell and move "made" rune back to backpack) and disable it.<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local Time_MakeRune = 300 -- Time to wait between runes to enable Runemaker, in seconds.<br />
local manaCondition = 'Mana above' -- Condition to mane runes: Mana above or Mana percent<br />
local manaValue = 500 -- Value to make runes.<br />
<br />
<br />
LAST_RUNE_TIME = LAST_RUNE_TIME or 1<br />
<br />
local currentValue = mppc()<br />
if manaCondition:lower() == 'mana above' then<br />
&nbsp;&nbsp;currentValue = mp()<br />
end<br />
<br />
local timeNow = runningtime()<br />
<br />
if currentValue &gt;= manaValue and (timeNow - LAST_RUNE_TIME) &gt;= Time_MakeRune then<br />
&nbsp;&nbsp;setsettings('Runemaker/Enabled', true)<br />
&nbsp;&nbsp;wait(10000)<br />
&nbsp;&nbsp;LAST_RUNE_TIME = timeNow<br />
&nbsp;&nbsp;setsettings('Runemaker/Enabled', false)<br />
else<br />
&nbsp;&nbsp;local runemakerEnabled = getsettings('Runemaker/Enabled')<br />
&nbsp;&nbsp;if runemakerEnabled then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;setsettings('Runemaker/Enabled', false)<br />
&nbsp;&nbsp;end<br />
end</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Pause Bot if mana gain is higher than 1 (one)]]></title>
			<link>https://forums.otbots.com/Thread-FREE-Pause-Bot-if-mana-gain-is-higher-than-1-one--293</link>
			<pubDate>Thu, 04 Jul 2019 08:20:44 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=1">Arkilys</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-FREE-Pause-Bot-if-mana-gain-is-higher-than-1-one--293</guid>
			<description><![CDATA[Hello.<br />
<br />
I didn't tested the codes that i will post, but people can use it as "start" to adapt for its own needs.<br />
<br />
Check for mana gain. If your mana's value increases more than "1" since last run, it will play a sound, flash client and pause bot.<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>if connected() then<br />
&nbsp;&nbsp;&nbsp;&nbsp;LAST_MANA = LAST_MANA or mp()<br />
&nbsp;&nbsp;&nbsp;&nbsp;local current_mana = mp()<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (current_mana - LAST_MANA) &gt; 1 then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;playsound('default')<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;flashclient()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pausebot(true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;end<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;LAST_MANA = current_mana<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;LAST_MANA = nil<br />
end</code></div></div>]]></description>
			<content:encoded><![CDATA[Hello.<br />
<br />
I didn't tested the codes that i will post, but people can use it as "start" to adapt for its own needs.<br />
<br />
Check for mana gain. If your mana's value increases more than "1" since last run, it will play a sound, flash client and pause bot.<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>if connected() then<br />
&nbsp;&nbsp;&nbsp;&nbsp;LAST_MANA = LAST_MANA or mp()<br />
&nbsp;&nbsp;&nbsp;&nbsp;local current_mana = mp()<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (current_mana - LAST_MANA) &gt; 1 then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;playsound('default')<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;flashclient()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pausebot(true)<br />
&nbsp;&nbsp;&nbsp;&nbsp;end<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;LAST_MANA = current_mana<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;LAST_MANA = nil<br />
end</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Shooting fireball runes on best SQM]]></title>
			<link>https://forums.otbots.com/Thread-FREE-Shooting-fireball-runes-on-best-SQM--292</link>
			<pubDate>Thu, 04 Jul 2019 08:20:14 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=1">Arkilys</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-FREE-Shooting-fireball-runes-on-best-SQM--292</guid>
			<description><![CDATA[Hello.<br />
<br />
This script will try to shoot a GFB on the best possible SQM to hit as many monsters as possible, but will only shoot the rune if you can hit the least amount of monsters you have set.<br />
<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local Monsters = { 'Ghoul', 'Scarab', 'Stalker' }<br />
local Rune = 'great fireball rune'<br />
local MinMonsters = 2 -- Min. count to shoot rune.<br />
local SafeHealth = 60 -- Shoot runes only if your HP % is higher or equal to this valaue.<br />
local PlayerSafe = true -- Check if there's another player on screen. If so, don't shoot rune.<br />
<br />
if hppc() &gt;= SafeHealth and cancast() and maround(7, unpack(Monsters)) &gt;= MinMonsters and (PlayerSafe == false or (PlayerSafe and paround() == 0)) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;if shootarearune(Rune, MinMonsters, unpack(Monsters)) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(1200)<br />
&nbsp;&nbsp;&nbsp;&nbsp;end<br />
end</code></div></div>]]></description>
			<content:encoded><![CDATA[Hello.<br />
<br />
This script will try to shoot a GFB on the best possible SQM to hit as many monsters as possible, but will only shoot the rune if you can hit the least amount of monsters you have set.<br />
<br />
<div class="codeblock"><!--<div class="title" style="user-select: none;">Code:</div>--><div class="title" style="user-select: none;"><a href="#" onclick="selectCode(this); return false;">(COPY)</a></div><div class="body" dir="ltr"><code>local Monsters = { 'Ghoul', 'Scarab', 'Stalker' }<br />
local Rune = 'great fireball rune'<br />
local MinMonsters = 2 -- Min. count to shoot rune.<br />
local SafeHealth = 60 -- Shoot runes only if your HP % is higher or equal to this valaue.<br />
local PlayerSafe = true -- Check if there's another player on screen. If so, don't shoot rune.<br />
<br />
if hppc() &gt;= SafeHealth and cancast() and maround(7, unpack(Monsters)) &gt;= MinMonsters and (PlayerSafe == false or (PlayerSafe and paround() == 0)) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;if shootarearune(Rune, MinMonsters, unpack(Monsters)) then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait(1200)<br />
&nbsp;&nbsp;&nbsp;&nbsp;end<br />
end</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Useful Scripts for Cavebotting]]></title>
			<link>https://forums.otbots.com/Thread-FREE-Useful-Scripts-for-Cavebotting--291</link>
			<pubDate>Thu, 04 Jul 2019 08:17:30 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://forums.otbots.com/member.php?action=profile&uid=1">Arkilys</a>]]></dc:creator>
			<guid isPermaLink="false">https://forums.otbots.com/Thread-FREE-Useful-Scripts-for-Cavebotting--291</guid>
			<description><![CDATA[Hello.<br />
<br />
I'm posting this thread to share common LUA scripts that are useful for specifically Caveboting.<br />
<br />
Pay attention where you should use the script. Because some scripts may be require another code to be used Cavebot-&gt;LUA Setup, in that case, I will share both.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">If find any bug, please, send a private message and i will fix the script.</span><br />
<ul class="mycode_list"><li><center><span class="bigbutton" style="display:block;color:firebrick;font-weight:bold;border:2px solid;padding:10px;margin:10px;">|Only Registered members can see download links. | <a href="mysubscriptions.php" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> Click here to buy subscription</a> or <a href="member.php?action=register" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> here to register.</a></span></center><br />
</li>
<li><center><span class="bigbutton" style="display:block;color:firebrick;font-weight:bold;border:2px solid;padding:10px;margin:10px;">|Only Registered members can see download links. | <a href="mysubscriptions.php" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> Click here to buy subscription</a> or <a href="member.php?action=register" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> here to register.</a></span></center><br />
</li>
<li><center><span class="bigbutton" style="display:block;color:firebrick;font-weight:bold;border:2px solid;padding:10px;margin:10px;">|Only Registered members can see download links. | <a href="mysubscriptions.php" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> Click here to buy subscription</a> or <a href="member.php?action=register" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> here to register.</a></span></center><br />
</li>
<li><center><span class="bigbutton" style="display:block;color:firebrick;font-weight:bold;border:2px solid;padding:10px;margin:10px;">|Only Registered members can see download links. | <a href="mysubscriptions.php" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> Click here to buy subscription</a> or <a href="member.php?action=register" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> here to register.</a></span></center><br />
</li>
<li><center><span class="bigbutton" style="display:block;color:firebrick;font-weight:bold;border:2px solid;padding:10px;margin:10px;">|Only Registered members can see download links. | <a href="mysubscriptions.php" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> Click here to buy subscription</a> or <a href="member.php?action=register" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> here to register.</a></span></center><br />
</li>
</ul>
]]></description>
			<content:encoded><![CDATA[Hello.<br />
<br />
I'm posting this thread to share common LUA scripts that are useful for specifically Caveboting.<br />
<br />
Pay attention where you should use the script. Because some scripts may be require another code to be used Cavebot-&gt;LUA Setup, in that case, I will share both.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">If find any bug, please, send a private message and i will fix the script.</span><br />
<ul class="mycode_list"><li><center><span class="bigbutton" style="display:block;color:firebrick;font-weight:bold;border:2px solid;padding:10px;margin:10px;">|Only Registered members can see download links. | <a href="mysubscriptions.php" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> Click here to buy subscription</a> or <a href="member.php?action=register" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> here to register.</a></span></center><br />
</li>
<li><center><span class="bigbutton" style="display:block;color:firebrick;font-weight:bold;border:2px solid;padding:10px;margin:10px;">|Only Registered members can see download links. | <a href="mysubscriptions.php" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> Click here to buy subscription</a> or <a href="member.php?action=register" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> here to register.</a></span></center><br />
</li>
<li><center><span class="bigbutton" style="display:block;color:firebrick;font-weight:bold;border:2px solid;padding:10px;margin:10px;">|Only Registered members can see download links. | <a href="mysubscriptions.php" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> Click here to buy subscription</a> or <a href="member.php?action=register" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> here to register.</a></span></center><br />
</li>
<li><center><span class="bigbutton" style="display:block;color:firebrick;font-weight:bold;border:2px solid;padding:10px;margin:10px;">|Only Registered members can see download links. | <a href="mysubscriptions.php" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> Click here to buy subscription</a> or <a href="member.php?action=register" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> here to register.</a></span></center><br />
</li>
<li><center><span class="bigbutton" style="display:block;color:firebrick;font-weight:bold;border:2px solid;padding:10px;margin:10px;">|Only Registered members can see download links. | <a href="mysubscriptions.php" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> Click here to buy subscription</a> or <a href="member.php?action=register" original-title=""><i style="font-size: 14px;" class="fa fa-user fa-fw" original-title=""></i> here to register.</a></span></center><br />
</li>
</ul>
]]></content:encoded>
		</item>
	</channel>
</rss>