name of script to declare

i want to declare a script but my script’s name goes like this… “script rotate”

var script : script rotate;

but it returns the error: UCE0001: ‘;’ expected. Insert a semicolon at the end.

it’s because you should write:

var script : scriptRotate;

instead of this (no gap).