not sure what you mean
unless you mean:
Events can retrieve data from scripts via the Python system expression. For example, the expression:
will return the content of the variable x. Similarly:
will return the value returned from calling the function myfunc in script. Further, you can use the system condition Python Compare, to directly compare a python variable in an event, such as the variable "x" greater than 100.
Scripts can trigger events by using the Function Object. The Call routine of the Function object takes two parameters: the function name, as a string, and the forget/remember picked objects option, which can be left as 0 (for Forget). For example:
Function.Call("My function", 0)
if not, what do you mean?