Skip to content

Instantly share code, notes, and snippets.

@jgke
Created July 1, 2021 09:14
Show Gist options
  • Save jgke/51b591086e112f72b56e18e57132fd16 to your computer and use it in GitHub Desktop.
Save jgke/51b591086e112f72b56e18e57132fd16 to your computer and use it in GitHub Desktop.
Valuable contribution for the CS:GO community
n = 1
bindname = "bindnamehere"
print(f'alias "${bindname}" "${bindname}1"')
print(f'bind "l" "${bindname}"')
try:
while True:
s = input()
print(f'alias "${bindname}{n}" "say {s}; alias ${bindname} ${bindname}{n+1}"')
n += 1
except:
print(f'alias ${bindname} "alias ${bindname} ${bindname}1"')
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment