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
Help with script to use e-ring
#1
Hey can I have help with some thing i wanna.. Well i want something like

if hppc < X then equip energy ring, if hpc > X then unequipp energy ring

can someone help me?


also if its possible would be nice a script to equip stone skin amulet 1 second later after get shoot by sudden death rune

#2
Hello.

Tools->Ring Equipper can do that, but here's a script to do the same:

local RING_IDS = { InUse = 3088, NotInUse = 3051 }

if hppc() < 50 then
    local ring = finger()
    if ring.id == 0 or ring.id ~= RING_IDS.InUse then
        moveitems(RING_IDS.NotInUse, 'finger', '', 100)
        wait(100, 300)
    end
else
    local ring = finger()
    if ring.id == RING_IDS.InUse then
        moveitems(ring.id, '0', 'finger')
        wait(100, 300)
    end
end

Unfortunately, it's not possible to detect if received damage from a sd rune.

#3
|Only Registered members can see download links. | Click here to buy subscription or here to register.

#4
|Only Registered members can see download links. | Click here to buy subscription or here to register.

I didn't tested this script, but should work. You should leave Default channel selected/active, otherwise it will not work.

local SSA_ID = 3081


local amulet = neck()

if amulet.id == 0 or amulet.id ~= SSA_ID then

    local Messages = getnewmessages()
    local REGEX_DMG_TAKEN     = '^You lose (%d+) (%l+) due to an attack by ?a?n? (.-)%.$'

    if type(Messages) == 'table' then
       for _, msg in ipairs(Messages) do
           if msg.channel == 'Default' then
               local dmgAmount, dmgType, dmgCreature = msg.content:match(REGEX_DMG_TAKEN)
               if dmgAmount >= 150 then
                   moveitems(SSA_ID, 'neck', '', 100)
                   wait(300, 500)
               end
           end
       end
    end
end

#5
|Only Registered members can see download links. | Click here to buy subscription or here to register.

#6
Hello.

This script does that. Just make sure the ids are correct.



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016