No. the waitMulti does not take regions as parameters. Just use following to click the match
Here is the method of waitMulti in commonLib.lua
function waitMulti(target, seconds, skipLocation) local timer = Timer() while (true) do for i, t in ipairs(target) do if (i == 1) then usePreviousSnap(false) else usePreviousSnap(true) end if (exists(t, 0)) then -- check once usePreviousSnap(false) return i, getLastMatch() end end if (skipLocation ~= nil) then click(skipLocation) end if (timer:check() > seconds) then usePreviousSnap(false) return -1 end end end
I've been using toast for generic debugging, but it's value is limited as I have to be watching script execute in order to see the toast. Is it possible to provide a console in the ankulua gui's screen. Using a debug api we could view a log of messages sent from the script to allow better debugging and understanding what went wrong when scripts don't work as expected.
hi they have any random() like rndom number 1 untin 5? i need this exmple : ori code: doubleClick(sit.jpg) doubleClick(random(sit.jpg,1,2) becuz i got new anti cheat detect.. clik same spot click. i want just abit move on click...