BGE python script to change action

I am trying to use a python code to make a NPC in a game change from one action to another. So far the only way I can get it to work is to have a separate logic brick for each action and have a logic brick sensor detecting the change in a property with a delay repeater along with that. This is creating a great deal of clutter and I don’t see why I can’t use the http://www.blender.org/documentation/blender_python_api_2_57_release/bge.types.html#bge.types.BL_ActionActuator things to make it work. Any help would be great and a example code would be greatly appreciated.

Wow this place gets stuff solved fast, well I no longer need any help, all I had to do was delete my previous code and retype it up. (must have had a small error somewhere I didn’t see before)