Jump to content

Fun MouseMove script


Guest Brian Smith
 Share

Recommended Posts

Guest Brian Smith

Here is a useless script I wrote that will make your mouse cursor look like it is flushing down the toilet.

$xr = 500
$yr = 500
$x = (@DesktopWidth / 2)
$y = (@DesktopHeight / 2)
$step = .2
$Pi = 3.14159265358979
$grow = "no"

While $xr > 0 And $xr < 525
   For $s = 0 To $Pi * 2 Step $step
      $xpos = $x + $xr * Cos($s)
      $ypos = $y + $yr * Sin($s)
      MouseMove($xpos, $ypos, 0)
   Next

   if $grow = "no" Then
      $xr = $xr - 20
      $yr = $yr - 20
   EndIf
   
   if $xr = 0 Then
      $grow = "yes"
   EndIf

   if $grow = "yes" Then
      $xr = $xr + 20
      $yr = $yr + 20
   EndIf
Wend
Link to comment
Share on other sites

Here is a useless script I wrote that will make your mouse cursor look like it is flushing down the toilet. 

$xr = 500
$yr = 500
$x = (@DesktopWidth / 2)
$y = (@DesktopHeight / 2)
$step = .2
$Pi = 3.14159265358979
$grow = "no"

While $xr > 0 And $xr < 525
   For $s = 0 To $Pi * 2 Step $step
      $xpos = $x + $xr * Cos($s)
      $ypos = $y + $yr * Sin($s)
      MouseMove($xpos, $ypos, 0)
   Next

   if $grow = "no" Then
      $xr = $xr - 20
      $yr = $yr - 20
   EndIf
   
   if $xr = 0 Then
      $grow = "yes"
   EndIf

   if $grow = "yes" Then
      $xr = $xr + 20
      $yr = $yr + 20
   EndIf
Wend

<{POST_SNAPBACK}>

Hello :D Great for your first Script! :idiot: Happy Coding! Edited by DirtyBanditos
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...