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
Must Atack Me
#1
Need script if player on screen set must atack me else if no player on screen set off must atack me.
Reply

#2
Hello.

That's a simple example:
if paround() == 0 then
     setsettings('Targeting/Rat/Setting0/Must attack me', false)
else
     setsettings('Targeting/Rat/Setting0/Must attack me', true)
end

Another example for multiple creatures:
local Creatures = { 'Rat', 'Demon', 'Rotworm' }
if paround() == 0 then
     for _, creature in ipairs(Creatures) do
          setsettings('Targeting/' .. creature .. '/Setting0/Must attack me', false)
     end
else
     for _, creature in ipairs(Creatures) do
          setsettings('Targeting/' .. creature .. '/Setting0/Must attack me', true)
     end
end
Reply

#3
Its not working for me, i used 1st and 2nd script and he is still atacking other players monsters
Reply

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

#5
Change Setting0 to Setting1
Reply

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

#7
This kind of script goes on hotkey or persistent? sorry i'm new to this :/ thx
Reply

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

#9
attackingme(number lastMILLISECONDS, optional string filter) [number]: Returns the amount of creatures (players and/or monsters) that are attacking you or attacked you in last milliseconds according parameters. Filter must be: 'p' => players, 'm' => monsters or 'pm' => players and monsters.


Is this still working? I've tried and this does not return anything
Reply

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


this var works only with players, if you use 'm' for monsters it does not return things
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016