I don't mind you altering any of my scripts. Feel free to use them any way you want to. They're out there for people to use and learn from after all.
If you bought PB, it should have come with a manual, which contains (more or less) all of the actions and conditions found in PB (not including stock scripting commands, which can be found in the regular FPSC manual).
I think the action you're wanting, and the one I mentioned in my last post is called "setgunspecoption". Not sure if it's in the manual or not, but it's a highly untested command. Feel free to experiment with it, as the worst that could happen is FPSC will crash, I promise it won't do any irreversable damage to anything. Just remember to save your level before running the test game.
Here's an example of how it's used:
:state=1:state=2,setgunspecoption=damagetype 2
basically what the small script does is it will change your current weapon's "damagetype" gunspec option to the value of 2, which I think is a shotgun type damage (causes knockback).
[EDIT]
Here's an example of how to use it for options that need TWO parameters:
:state=1:state=2,setgunspecoption=idle 50 65
That will (read as "should") change the idle animation frames to 50,65
[/EDIT]
You can use virtually ANY gunspec option with this command. I had it set up to accept all of the stock, airmod, and PB gunspec options but couldn't ever really test them all out.
One BIG NOTE for using this command... don't try to change a gunspec option that needs to load something... so changing the flak to another flak model will most likely not work, since this command does NOT load additional media the new flak model will not load into memory and the flak being used by the weapon will not change. For something like that, you'd be better off making two different weapons, one using the normal flak and one using the new flak, then swap between them via a script.
The same thing applies to any gunspec option that requires media path and for that media to be loaded, such as muzzleflash, sparkflash, chardecal, nonchardecal, smokedecal, altflak, etc.
Hope that was informative enough to help you (and anyone else watching) get the command working without problems.
The one and only,