Run something before the game actually starts?

Alright, so what I mean is this:

I disabled the resolution screen.

I want to run a script that checks something before the game even starts (i.e., before the splash screen)

Is this possible, or no?

bump.