I have the same problem
Here is what I have this so far:
if (actionname) setstring server.namedone,#v(namedone);
message #s(server.namedone)%
how would I get it to add 1 percent every time you fired the weapon which uses the triggeraction command? (I already have the triggeraction working on the weapon)