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
Atack in correct SQM

It's possible creat a script that just atack the monster "X" when he is correct SQM?

If he goes out of SQM stop atack

Thank you!


Yes, it's possible.
If you plan to LURE then you should use Lure wpt, but if plan to stand still and just attack or stop attacking then you can use the script below.
local LOCATION = { X = 12345, Y = 12345, Z = 7 } -- Attack only if monster is on this location.
local MONSTERS = { 'rat', 'hydra' }


if attackedCreature.id == 0 or (attackedCreature.id ~= 0 and (attackedCreature.posx ~= LOCATION.X or attackedCreature.posy ~= LOCATION.Y or attackedCreature.posz ~= LOCATION.Z)) then
    local creatures = getcreatures('mfs')
    for _, creature in ipairs(creatures) do
        if table.find(MONSTERS, creature.name:lower()) ~= nil and creature.posx == LOCATION.X and creature.posy == creature.Y and creature.posz == LOCATION.Z then

    if attackedCreature.id ~= 0 then

Forum Jump:

Forum software by © MyBB Theme © iAndrew 2016