Jump to content
Sign in to follow this  
Guest Brian Smith

Fun MouseMove script

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

You could make pi much more accurate by doing the numbers from the attached txt file

(not that you would need it with a step of .2)

:idiot::D:lol:;):D

pi.txt

Edited by killaz219

Share this post


Link to post
Share on other sites

LOL - how wonderfully pointless :D

You could make pi much more accurate by doing the numbers from the attached txt file...

<{POST_SNAPBACK}>

Wishes for an @PI... :idiot:

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...