SHARE
TWEET

Daggerfall Unity AHK Spam

a guest Aug 7th, 2019 100 in 322 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. \::              ;press "\" to toggle
  2. {
  3.  Suspend
  4.  return
  5. }
  6.  
  7. r::              ;hold "r" to start loop
  8. {
  9.  IfWinActive, Daggerfall Unity
  10.  {
  11.   if ( GetKeyState("r",p) )    ;must be the same as hotkey
  12.   {
  13.    if ( IsToggle = nil or IsToggle = 0 )
  14.    {
  15.     Send, {RButton down}
  16.     IsToggle := 1
  17.     return
  18.     }
  19.  
  20.   if ( IsToggle = 1 )
  21.   {
  22.    Send, {RButton up}
  23.    IsToggle := 0
  24.    return
  25.    }
  26.  
  27.   }
  28.  }
  29. }
  30. return
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top