Expression Help

I need help with this expression i am making On Garry’s Mod

I’m new to the Expression 2 part so if i get things epically messed up don judge me.

@name Trail ‘n’ Colorizer!
interval(100)
#Trail--------------------
Trail = entity () : getTrails () <---- On line 4 Charcter 16 it sais must not be procceded by a white space line.
owner () : setTrails (Trail)

#Color--------------------
Color = entity () : getColor ()
owner () : setColor (Color)

#Material-----------------
Material = entity () : getMaterial ()
Owner () : setMaterial (Material)

This is not lua. This is E2.
This board is for Lua, This is not for E2.

Use the http://www.wiremod.com/ Forums.