Here is the script I can only use integers, I was wondering if there is anyway to modify the script so I can use floats with MoveMouseRelative.
EnablePrimaryMouseButtonEvents (true);
function OnEvent(event,arg)
if IsKeyLockOn("ScrollLock")then
if IsMouseButtonPressed(3)then
repeat
if IsMouseButtonPressed(1) then
repeat
MoveMouseRelative(0,2)
Sleep(10)
until not IsMouseButtonPressed(1)
end
until not IsMouseButtonPressed(3)
end
end
end
New contributor
Emre is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.