title: How can i make a script pull my mouse cursor downwards at a different rate per second?
body: <p>I can't figure out how to make the mouse pull down at a different rate for each second.</p>
  
  <p>I've tried adding different sleep values which would change how hard my mouse would pull down throughout the script, but it doesn't work and it will only pull down in one set rate. </p>
  
  <pre><code>function OnEvent(event, arg)
      if IsKeyLockOn("scrolllock" )then
          if IsMouseButtonPressed(1) then
              repeat
                 MoveMouseRelative(0,1)
                 Sleep(8)
                 MoveMouseRelative(0,1)
                 Sleep(7)
              until not IsMouseButtonPressed(1)
          end
      end
  end
  </code></pre>
  
  <p>I was expecting for the mouse to pull down at one rate, then pull down even harder a second later, but the results were just one fixed rate.</p>