03-05-2020, 01:45 PM
The first post pretty much shows everything you need. Use cl_hook_activeweapon to get the name of the current weapon. If it's blaster (the post shows how to build conditions), bind W to prev weapon (not sure the exact command name but it's on Q by default i think). If it's anything else, bind W to blaster. The config.cfg shows how to set binds - you can do it each time the cl_hook_activeweapon alias runs. Ofc if you've never coded before, don't try to do all this at once - split it into multiple steps, make sure each one works separately, then combine them.