Triggering Actuators

Hi, I have a problem. I’ve written a python script but I need it to trigger the actuator connected to it depending on the value of a variable, how do I do this?

http://www.tutorialsforblender3d.com/GameDoc/Movement/Movement_Servo_2.html
using servos??

You have to activate/deactivate the actuator. See http://www.blender.org/documentation/249PythonDoc/GE/GameTypes.SCA_PythonController-class.html

What does servo control have to do with my question?
what I mean is if a variable is a certain number then activate the actuator like
if prop is equal to 8
Gamelogic.addActiveActuator(name here, True)

I don’t know how to do the if prop is equal to 8 bit.

You can also post you script, that makes it easier to understand what you want.

 
own = GameLogic.getCurrentController().owner
if own["prop"]==8:
    # whatever you want

I hope it helps

That should do the trick, Thanks