What would be an example of a script that moves a player forward?

this is for a side scroler so tecnicly it would be the right and a speed var whold be good

http://unity3d.com/support/documentation/ScriptReference/Transform.Translate.html