connect 2 scripts

How do I connect two scripts linked to the same object and acting without the help of a sensor ?

script 1 :
if something : x=1

script 2:
if x==1 : do something

I’ve tried with own.prop, but it didn’t worked…

simple answer: you cant

I really don’t know why you would want to link two scripts which are already assigned to the same object. Just use one script. You can use one script even if you call properties from other objects in it.

You need at least one sensor in order to get a pulse pass over your script. Otherwise it won’t be read and nothing will happen.

Why don’t you tell us exactly what your trying to do here, so that we can tell you how to do it. It’s probably something simple, you just have to explain it in enough detail so that we can understand, and give you a (hopefully) working answer.

This may be a silly question, but why don’t you use Expression controllers instead of Python scripts? For something so short and simple as the examples you gave, I’d rather stay within the Logic Bricks.