mgunr removeaction 1
You can't use a fixed number with the removeaction command. Every time the addaction command is used, it returns a new ID number. Try this instead:
actionid=mgunr addaction blahblah
and then later,
mgunr removeaction actionid.
Use a different variable name for each addaction if you use more than one.