LOLz, I'm ready to post mine. There are two things to keep in mind.
1) The 'S' menu will set a string client.s to the value you choose. Because I didn't script the system to change your weapon, that's what it does. I'm sure you can figure out how to make the other, it is quite simple :P
2) The 'D' menu shouldn't be too hard to use either :P Use 'D' to set once you have the Q-Menu open. It uses a string client.weapons (would be Clientr. if i felt the need to use a triggeraction) and is where it reads the information from. Let me go get my script and the GIF with it (the gif is small and quite simple, I used Zoom

)
---Shifter