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
lua script lines
#1
I need some script code lines:
1- set targetting on/ set targetting off
2-set cavebot on/set cavebot off
3- if on location xyz for x seconds then say X
4- use key X on door (to open door with a specific key)
5- open/close door on direction north or etc
6- if player on screen set cavebot off, if player leave screen set cavebot ON
Reply

#2
1.
setsettings('Targeting/Enabled', false)

setsettings('Targeting/Enabled', true)

2.
setsettings('Cavebot/Enabled', false)

setsettings('Cavebot/Enabled', true)

3.
if islocationxyz(12345, 12345, 6) and standtime() >= 60 then
     say('something')
end

4.
local keyID = 2970 -- Key's id
local lockedDoorID = 1631 -- Doors LOCKED ID.
local door_location = { X = 12345, Y = 12345, Z = 9 } -- Door's location.

if topitem(door_location.X, door_location.Y, door_location.Z).id == lockedDoorID then
    useitemon(keyID, door_location.X, door_location.Y, door_location.Z)
    wait(800, 1500)
end

usedoor(door_location.X, door_location.Y, door_location.Z, 'open')
wait(800, 1500)

5.
usedoor(12345, 12345, 6, 'open')
wait(800, 1500)

6.
if paround() > 0 then
     if getsettings('Cavebot/Enabled') == true then
          setsettings('Cavebot/Enabled', false)
     end
else
     if getsettings('Cavebot/Enabled') == falsethen
          setsettings('Cavebot/Enabled', true)
     end
end
Reply

#3
TYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016