Advertisement
se7enek

Untitled

Sep 13th, 2016
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. #singleinstance force
  2. #Persistent
  3. #maxthreadsperhotkey 2
  4. coordmode, mouse, screen
  5.  
  6. Numpad0::
  7. {
  8. SoundPlay, *16
  9.  
  10. mousegetpos, sx, sy
  11. SplashTextOn ,300 ,153 , Komunikat!, `nUwaga!`n`nNa twojej mapie`npojawil sie Diviner!`n`nPowodzenia!`n
  12. Sleep 500
  13. Soundbeep, 400, 250
  14. Soundbeep, 500, 250
  15. Soundbeep, 666, 400
  16.  
  17. Loop
  18. {
  19.  
  20. Sleep, 100
  21.  
  22. mousegetpos, cx, cy
  23. if (cx != sx or cy != sy)
  24. {
  25. if (cx > (sx+50) or cx < (sx-50) or cy > (sy+50) or cy < (sy-50))
  26. {
  27. break
  28. }
  29. }
  30. }
  31.  
  32. SplashTextOff
  33.  
  34.  
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement