I'd say both, in your case, because it's best to have set goals when learning something. So if you decided on a little project, maybe a weapon for FPSC, you would make the model and script as a complete project, and the more projects like that you do, the better they will become.
You don't learn to script or program by reading a book, or following a tutorial - that's not programming, that's replication. You learn by having a set task or problem, and solving it. Tutorials etc will teach you which command does what and why, but you still have to engineer the solution yourself. This is why a good programmer can pick up a new language very quickly, because it's only syntax. You have to know what you want to happen, then break that down into small tasks, and reconstruct it with code.
Modeling is practically at opposite poles to programming, it's quite easy to get stuck in, making beautiful high poly wastes of time

. Making game-ready media takes a lot of learning - polygon management, UV mapping, texturing, animating... but the rewards are worth it. Having a character you've created run around a world you also created, well that's about as close to being a god as any human can get, and the buzz it gives you makes all this learning worthwhile.