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
hold target?
#1
Tongue 
there an easy way to hold target?

#2
To hold target you must create a Persistent script...
TARGET_ID = TARGET_ID or 0

local targeted_creature = attacked()
updateglobals()

if targeted_creature.id == 0 and TARGET_ID > 0 then
   attack(TARGET_ID)
elseif targeted_creature.id > 0 and TARGET_ID ~= targeted_creature.id then
   TARGET_ID = targeted_creature.id
end

To stop holding target, you need to disable the persistent, pause Bot or you can create a another hotkey and set it to "ESC" with the following code:
setglobal('TARGET_ID', 0)

or one of codes below to disable persistents:
setsettings('Persistents/0/Enabled', false)
setglobal('TARGET_ID', 0)
or
local path = 'Persistents/0/Enabled'

setglobal('TARGET_ID', 0)
setsettings(path, getsettings(path) == false)

But you must setup the correct path above, it changes according persistent's order.

#3
this caused me to skull?? i had someone attacked went off screen then went back on screen and it targeted someone else and skulled? also the esc hotkey to disable it didnt work?

#4
have a working hold target?



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016