Hear I would like for others to say what happens to help them as well,
I will put a few that helps me.
*Early In the morning I like to get a good cup of coffee and read a good documentary.
*Sometimes energy drinks help "But sometimes I am not sure about the caffeine".
*Reading interesting script releases, "Client scripts, to anything easy to read or complicating to understand" helps me get motivated.
*Typically I have a good cigarette and a really good coffee before I begin my scripting.
Sometimes listening to Trance as I script helps me get lost into scripting.
PRACTICE! Because when you have practice then you have knowledge and when you have knowledge you have power. Power to do what you want or at least what you can. And you can certainly do more than someone without knowledge.
:D Practice is always great, Always scripting helps compared to rarely scripting getting rusty "At-least it's like that for me".
2 redbull's and go.
Practice, ofc.
And sometimes, curiousity.
Nothing. I cannot be arsed.
Scripting something unique and challenging is quite motivating.
When it comes to VCMP, I get motivated to script if the gamemode promises a decent playerbase. Around 1 player per 1000 lines of code is considered a good return.