Нужна помощь с скриптом RAKBOT

  • Автор темы deleted-user-453401
  • Дата начала
D

deleted-user-453401

Гость
Автор темы
Версия MoonLoader
.027.0-preview
dfsa:
noflood = true
defCallAdd(1000,true, function ()
x,y,z = getPosition()
if (x >= 1638 and x <= 1644) and noflood then
defCallAdd(2000    , false, function() runCommand('!play ls1') end)
noflood = false
elseif (x >= 2144 and x <= 2150) and noflood then
defCallAdd(240000, false, function() runCommand('!play ls1.1') end)
noflood = false
elseif (x >= 1829 and x <= 1831) and noflood then
defCallAdd(240000, false, function() runCommand('!play ls1.2') end)
noflood = false
elseif (x >= 1700 and x <= 1702) and noflood then
defCallAdd(240000, false, function() runCommand('!play ls1.3') end)
noflood = false
elseif (x >= 1181 and x <= 1183) and noflood then
defCallAdd(240000, false, function() runCommand('!play ls1.4') end)
noflood = false
elseif (x >= 653 and x <= 655) and noflood then
defCallAdd(240000, false, function() runCommand('!play ls1.5') end)
noflood = false
elseif (x >= 1014 and x <= 1016) and noflood then
defCallAdd(240000, false, function() runCommand('!play ls1.6') end)
noflood = false
elseif (x >= 1591 and x <= 1593) and noflood then
defCallAdd(240000, false, function() runCommand('!play ls1.7') end)
noflood = false
end
end)

почему не выполняется условие, когда бот на нужных мне координатах? (RAKBOT)