I have started to work at the shooter template code, so the weapons system should be out in a few months. I guess that it won't be exactly what you need, but you should be able to customize it without too much effort. Meanwhile, I suggest that you should continue to improve your programming abilities.

Here are a few things to try until then: create a variable named "picked_up_weapons" and set its initial value to zero. If the player comes close to a weapon (make them all passable) and picked_up_weapons is smaller than 2, add the weapon to its arsenal and increment picked_up_weapons. Otherwise, if picked_up_weapons is 2 already, don't do anything until the player drops a weapon (you'd do this by removing the weapon using ent_remove and creating (ent_create) it at player's feet).