Posted: Fri Jan 27, 2023 4:44 pm Post subject: LUA script wreid error
i get this error every time that i click OK
Quote:
Error in line 2 (function TriggerBot()) :This instruction cant be compiled
and this is the code
Code:
[ENABLE]
function TriggerBot()
if readInteger("somegame.exe+125304") == 2 then
mouse_event(MOUSEEVENTF_LEFTDOWN, nil, nil, nil, nil)
mouse_event(MOUSEEVENTF_LEFTUP, nil, nil, nil, nil)
end
end
t = createTimer()
t.Interval = 10
t.OnTimer = TriggerBot
[DISABLE]
t.destroy()
is wreid as i dont see any error in the code
i use CE 6.2 as i dont know what version supports Windows XP
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum