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?
using servos??

You have to activate/deactivate the actuator. See

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