newbie script will nicht (blink)

Nicht immer:

if (x=0) // ergibt false

Gruß Tommy