Here is the things that you must add to the levelbot:
Get Nearest Mob: Get nearest mob is the most important one for example...
About Near...
Set Base : If you don't add set base
Your character will move forever...
Remove Dead Mob: After you kill a mob your character must leave there. If you don't add this levelbot tries to kill dead mobs like your levelbot xD
Walk range: You used this:
PHP Code:
chr.MoveToDestPosition(myVid, int(X), int(Y))
But some people has no monster wallhack so this is useless...
Setting Direction:
PHP Code:
RandomRotation = app.GetRandom(0, 7)
chr.SetDirection(RandomRotation)
I haven't got much time to use levelbot bot but i think this is changing monsters' direction and you should use

's
PHP Code:
chr.SetRotation(GetDegree(mobX, mobY, myx, myy))
You can get examples from his levelbot.
That's all i can tell you should find other mistakes by yourself