Not sure what you're saying. I thought your issue was that you wanted it to respond both to the trigger word with+without the number following. That's what I did.

Your script is using $calc to add the number, but you're accepting input of any number, including -2.345

You can change
if ($2 isnum)
to
if ($2 isnum 1-)

then instead of
var %variable $calc(%variable + $2)
you can do
inc %variable $int($2)

These ignore numbers less than 1, and shave off any fractions. Since you're not using negative numbers, you don't need to worry about the difference between $int and $floor.