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
Need scripts
#1
Hey again.

I need your help again, tried to build it alone but it's way too hard

Pick up 4 blank runes from X Y Z if mana is higher than 300 then start cast spell untill mana is lower than 180 and stop and then throw made runes to X Y Z

#2
I need Your help with it.


11:43:39 - Core:Lua:ExecuteScript
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Big Grin" title="Big Grin" class="smilie smilie_4" />oString
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Tongue" title="Tongue" class="smilie smilie_5" />ersistent01: 14: 'then' expected near ')'

local SafeList = { 'name', 'name' } -- Your safelist
local CheckPlayers = true -- Check for players? Not going to CAST SPELL if player on screen.
local CheckAllFloor = false -- Checks all floors for players?
local LOCATION = { X = 66666, Y = 66666, Z = 6 }


if not islocationxyz(LOCATION.X, LOCATION.Y, LOCATION.Z) then
    setsettings('Runemaker/Enabled', false)
        wait (500)
    setsettings('Cavebot/Enabled', true)
        wait(5000, 5000)
    setsettings('Cavebot/Enabled', false)
        wait(1000 * 60 * 5)
    if CheckPlayers(0, CheckAllFloor, unpack(SafeList)) == 0) then
    say('alana sio "' .. name() .. '"')
        wait(1000, 1200)
    setsettings('Runemaker/Enabled', true)
    end
end
I deleted the string right after "0" so it's "... == 0 then " but it says alana sio anyway if player is on screen.

#3
Replace this:
if CheckPlayers(0, CheckAllFloor, unpack(SafeList)) == 0) then

With
if not CheckPlayers or paround(0, CheckAllFloor, unpack(SafeList)) == 0 then

#4
Still saying alana sio when players are on the screen :/




local SafeList = { 'XXX', 'XXX' } -- Your safelist
local CheckPlayers = true -- Check for players? Not going to CAST SPELL if player on screen.
local CheckAllFloor = true -- Checks all floors for players?
local LOCATION = { X = 66666, Y = 66666, Z = 6 }


if not islocationxyz(LOCATION.X, LOCATION.Y, LOCATION.Z) then
    setsettings('Runemaker/Enabled', false)
    wait(500)
    setsettings('Cavebot/Enabled', true)
    wait(5000)
    setsettings('Cavebot/Enabled', false)
    wait(1000)
    if CheckPlayers == false or  paroundignore(0, CheckAllFloor, unpack(SafeList)) == 0 then
        wait(5000)
        say('alana sio "' .. name() .. '"')
        wait(1000, 1200)
        setsettings('Runemaker/Enabled', true)
    end
end

#5
My bad, it’s paroundignore instead of paround

#6
Still doesn’t work as I want. It cast Alana sio with paround and paroundignore.

Please read it slowly and correct it, something small must be wrong.

Changed from say to cast, I had all the time say in my script and it did Alana sio all the time, now with cast on script it doesn’t cast Alana sio at all with paround or with paroundignore

Got ofc right nickname in safelist of characters I am testing it on

#7
cast will never work because alana sio is not a spell.

The script works fine with paroundignore. So i've edited your post with the fixed the script.
local SafeList = { 'XXX', 'XXX' } -- Your safelist
local CheckPlayers = true -- Check for players? Not going to CAST SPELL if player on screen.
local CheckAllFloor = true -- Checks all floors for players?
local LOCATION = { X = 66666, Y = 66666, Z = 6 }


if not islocationxyz(LOCATION.X, LOCATION.Y, LOCATION.Z) then
    setsettings('Runemaker/Enabled', false)
    wait(500)
    setsettings('Cavebot/Enabled', true)
    wait(5000)
    setsettings('Cavebot/Enabled', false)
    wait(1000)
    if CheckPlayers == false or  paroundignore(0, CheckAllFloor, unpack(SafeList)) == 0 then
        wait(5000)
        say('alana sio "' .. name() .. '"')
        wait(1000, 1200)
        setsettings('Runemaker/Enabled', true)
    end
end



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016