Skip to content

Instantly share code, notes, and snippets.

@kurumpa
Last active March 19, 2023 19:05
Show Gist options
  • Save kurumpa/faa394f3d8a508cc0378af0903b0570b to your computer and use it in GitHub Desktop.
Save kurumpa/faa394f3d8a508cc0378af0903b0570b to your computer and use it in GitHub Desktop.
dynamic clantag cs go
; This script for http://autohotkey.com will constantly press
; the middle mouse button to change CS:GO clan tag 6 times per second
; (the script is active only when CS:GO is running)
; you can change the button to whatever you don't use in the game, eg. F12
; in that case update user.cfg accordingly
;
; Groups to join:
; http://steamcommunity.com/groups/loading001
; http://steamcommunity.com/groups/loading002
; http://steamcommunity.com/groups/loading003
; http://steamcommunity.com/groups/loading004
; http://steamcommunity.com/groups/loading005
; http://steamcommunity.com/groups/loading006
; http://steamcommunity.com/groups/loading007
; http://steamcommunity.com/groups/loading008
;
; See more info at
; https://www.reddit.com/r/GlobalOffensive/comments/3dgyjl/tutorial_change_clantag_on_bindmultiple_tags_in/
;
; ----------
; by kurumpa
#Persistent
SetTimer, CheckWnd, 1500
tmrActive := false
return
CheckWnd:
{
IfWinActive, Counter-Strike: Global Offensive
{
if (tmrActive = false)
{
tmrActive := true
SetTimer, PressButton, 150
}
}
else
{
if (tmrActive = true)
{
tmrActive := false
SetTimer, PressButton, Off
}
}
return
}
PressButton:
{
MouseClick, Middle
return
}
alias Tag1 "cl_clanid 25032815; alias TagBind Tag2;"
alias Tag2 "cl_clanid 25032843; alias TagBind Tag3;"
alias Tag3 "cl_clanid 25032844; alias TagBind Tag4;"
alias Tag4 "cl_clanid 25032846; alias TagBind Tag5;"
alias Tag5 "cl_clanid 25032847; alias TagBind Tag6;"
alias Tag6 "cl_clanid 25032849; alias TagBind Tag7;"
alias Tag7 "cl_clanid 25032850; alias TagBind Tag8;"
alias Tag8 "cl_clanid 25032851; alias TagBind Tag1;"
alias TagBind "Tag1"
bind "MOUSE3" TagBind
echo Dynamic clantag by kurumpa
@pikleman12
Copy link

how do I change the button press to h on the keyboard?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment