Help me with an AHK Script? menu

User Tag List

Results 1 to 2 of 2
  1. #1
    AyyLmaoAlien's Avatar Member
    Reputation
    1
    Join Date
    Nov 2016
    Posts
    6
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help me with an AHK Script?

    XButton2::
    {
    Send, {XButton2 down}
    Sleep 10
    Send, {XButton2 up}
    }
    return


    I bounded my Crouch in-game to Mouse button 5. I want to be able to hold it down (or toggle it) so it will spam the button. (mouse button 5) (crouch)

    How do i do this? so far whenever i click MB5 it will crouch, and stand back up.
    Last edited by AyyLmaoAlien; 11-28-2016 at 11:09 PM.

    Help me with an AHK Script?
  2. #2
    aznracrx's Avatar Active Member
    Reputation
    29
    Join Date
    Feb 2012
    Posts
    18
    Thanks G/R
    0/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by AyyLmaoAlien View Post
    XButton2::
    {
    Send, {XButton2 down}
    Sleep 10
    Send, {XButton2 up}
    }
    return


    I bounded my Crouch in-game to Mouse button 5. I want to be able to hold it down (or toggle it) so it will spam the button. (mouse button 5) (crouch)

    How do i do this? so far whenever i click MB5 it will crouch, and stand back up.
    You need a loop.
    Try

    XButton2::
    Loop
    {
    GetKeyState, state, XButton2, P
    if state = U
    break
    Send, {XButton2 down}
    Sleep 10
    Send, {XButton2 up}
    }
    return

Similar Threads

  1. [Tool] [HELP] Can someone help me with a bat script?
    By MightyYo in forum Pokemon GO Hacks|Cheats
    Replies: 0
    Last Post: 08-10-2016, 10:16 AM
  2. Can someone please help me with my lua script.
    By ConnorJ in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 08-20-2013, 05:19 AM
  3. need help with .ahk script for showing users input text
    By lovemymuffin in forum Programming
    Replies: 0
    Last Post: 03-21-2011, 02:11 AM
  4. (HELP) Help me with script plz !! T_T
    By djkajabaxd in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 02-23-2008, 04:56 AM
  5. {question} Alil help with the .M2 script for 3DS max
    By BH5432 in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 01-17-2008, 07:55 PM
All times are GMT -5. The time now is 01:43 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search