Its called holidays, and I usually prefer not to write scripts when family is here. This should work, and I am not to blame if it doesnt work. It is your resonsibility to decide how and when to test a plugin, and setting up a local testing server is your best bet. I dont have the time to go test it again, although I am pretty sure I tested this version the other day and it worked fine.
It doesnt automatically switch them to another weapon when it removes the primary, but with another 0.1 second timer, you could force an equip and they would never know the difference.