NanashiSC

toggle_q_bind

Jan 25th, 2019
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.89 KB | None | 0 0
  1. //-------------------------------------------------------------------------------------------------------------------------------------------
  2. // Toggle Q Bind
  3. //-------------------------------------------------------------------------------------------------------------------------------------------
  4. alias qbind //points towards current q bind
  5. alias qbind_lastinv "bind q lastinv"
  6. alias qbind_quickswitch "bind q +quickswitch"
  7. //
  8. alias toggle_qbind q_quickswitch //toggles between binds
  9. alias q_lastinv "alias qbind qbind_lastinv; qbind_lastinv; alias toggle_qbind q_quickswitch; say_team "q binded as lastinv";"
  10. alias q_quickswitch "alias qbind qbind_quickswitch; qbind_quickswitch; alias toggle_qbind q_lastinv; say_team "q binded as +quickswitch";"
  11. //-------------------------------------------------------------------------------------------------------------------------------------------
  12. // Binds --->
  13. //-------------------------------------------------------------------------------------------------------------------------------------------
  14. bind q lastinv
  15. //-------------------------------------------------------------------------------------------------------------------------------------------
  16. // <--- Binds
  17. //-------------------------------------------------------------------------------------------------------------------------------------------
  18. // Altbinds --->
  19. //-------------------------------------------------------------------------------------------------------------------------------------------
  20. // pri = primary
  21. // mod = modifier
  22. // sec = secondary
  23. //-------------------------------------------------------------------------------------------------------------------------------------------
  24. // Key-Q
  25. //-------------------------------------------------------------------------------------------------------------------------------------------
  26. alias priQ "qbind"
  27. alias secQ "bind q toggle_qbind"
  28. //-------------------------------------------------------------------------------------------------------------------------------------------
  29. // Set +ALT/-ALT
  30. //-------------------------------------------------------------------------------------------------------------------------------------------
  31. alias +altbinds "secQ" //Alt+KEY binds
  32. alias -altbinds "priQ" //Default binds
  33. //-------------------------------------------------------------------------------------------------------------------------------------------
  34. // Bind ALT
  35. //-------------------------------------------------------------------------------------------------------------------------------------------
  36. bind ALT +altbinds
  37. //-------------------------------------------------------------------------------------------------------------------------------------------
  38. // <--- Altbinds
  39. //-------------------------------------------------------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment