Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
seller
#1
Hi, can u make scripts like this?:

items = { 'plate shield', 'chain armor' }
lootsellerID = '23722'
backpack = 'Backpack'
unique = 'Red Backpack'

1)
if items in Backpack then
use lootseller on item

2)
if items in Backpack then
items to unique

3)
and i need info:
 how to turn off this script in other script for few sec.
Reply

#2
1. This script check if there's one of listed items in "backpack" then use "lootSellerId" on it.
local items = { 'plate shield', 'chain armor' }
local lootSellerId = '23722'
local backpack = 'Backpack'
local unique = 'Red Backpack'

for _, item in ipairs(items) do
    while itemcount(item, backpack) > 0 do
        local flag = useitemonitem(lootSellerId, item, backpack)
        if flag == false then
            break
        end
    end
end

2. I'm not sure if that's your request, but this script will move items from "backpack" to "unique".
local items = { 'plate shield', 'chain armor' }
local backpack = 'Backpack'
local unique = 'Red Backpack'

for _, item in ipairs(items) do
    while itemcount(item, backpack) > 0 do
        local flag = moveitems(item, unique, backpack)
        if flag == false then
            break
        end
    end
end

3.
setsettings(path, false)
To find a tools path you should right click on the option that you wanna find out and click on copy path.
So if you are going to use THE OTHER SCRIPTS on Persistents then after creating the OTHER SCRIPT persistent and placing the code inside, right-click on "Enabled" option and click on "Copy path" then paste on the script above.
Example:
setsettings('Persistents/0/Enabled', false)
So it will disable the first persistent on Persistents tab.
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016