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
Pyramid Making
#1
I am looking around for that specific line but I am not finding it and not sure how to make it work. But if I am standing on a pyramid and I take damage from anything I would like the character to move to the direction I want ( example: South )
Reply

#2
Hello.

Just check and save your current hp to compare on the next check.

If your hp is lower than on last time the script ran then it will move to west.
local current_hp = hp()

if LAST_HP == nil then
    LAST_HP = current_hp
elseif current_hp < LAST_HP then
    move('w')
    wait(1000)
    LAST_HP = current_hp
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016