Originally Posted By: tolu619

Code:
on_e = door_function();



That's a function call...

You have to assign it linke this:
on_e = door_function;


POTATO-MAN saves the day! - Random