voorash

dotd raidadder chrome edition

Jul 2nd, 2014
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.    
  2.  
  3.     #SingleInstance force
  4.      
  5.     #.::
  6.     KeyWait .
  7.      
  8.      
  9.      
  10.     IfWinExist, Play Dawn of the Dragons | Armor Games - Google Chrome
  11.         WinActivate
  12.     else
  13.         return
  14.      
  15.     Msgbox, Put the mouse over the topmost link in raidcatcher and press enter
  16.     MouseGetPos, raidLinkX, raidLinkY
  17.      
  18.     Msgbox, Put the mouse over the join button and press enter
  19.     MouseGetPos, joinButtonX, joinButtonY
  20.      
  21.     joinBoxX := joinButtonX-40
  22.     joinBoxY := joinButtonY
  23.      
  24.     click left %joinButtonX%,%joinButtony%
  25.      
  26.     Msgbox, Put the mouse over the invalid raid button and press enter. You might need to move this message box first.
  27.     MouseGetPos, errorBoxX, errorBoxY
  28.      
  29.     Loop,10000
  30.     {
  31.     GetKeyState, state, Shift
  32.     if state = D
  33.         return
  34.     click left %errorBoxX%,%errorBoxY%
  35.      
  36.      
  37.     click right %raidLinkX%,%raidLinkY%
  38.     Sleep, 1000
  39.     Loop 5 {
  40.        Send {Down}
  41.        Sleep, 300
  42.     }
  43.      
  44.     Send {Enter}
  45.      
  46.     IfWinExist, Play Dawn of the Dragons | Armor Games - Google Chrome
  47.         WinActivate
  48.     else
  49.         return
  50.      
  51.     click left %joinBoxX%,%joinBoxY%
  52.     click right %joinBoxX%,%joinBoxY%
  53.      
  54.     Sleep,300
  55.     Loop 7 {
  56.        Send {Up}
  57.        Sleep, 300
  58.     }
  59.     Send {Enter}
  60.      
  61.     IfWinExist, Play Dawn of the Dragons | Armor Games - Google Chrome
  62.         WinActivate
  63.     else
  64.         return
  65.      
  66.     Sleep, 300
  67.      
  68.     click left %joinButtonX%,%joinButtonY%
  69.     Sleep, 300
  70.      
  71.     }
  72.     return
Advertisement
Add Comment
Please, Sign In to add comment