Creating a screen with a name and then sending commands to it
first of all, this is VERY important, so I would very much appreciate answers. I have also been looking around a LOT to find this answer, without success, so that's why it's also important.

I have found that I can create a detached screen session with the following:

    screen -d -m -S name
Where 'name' is the name of the screen. However, I have absolutely no idea how to simply send a command to that session as if I was there anyway. I have source servers (Garry's Mod and CSS) and Minecraft servers running, so I need to be able to send a command like 'stop', or 'exit', into them (for 24/hr maintenance).

Please please please can you provide me with a simple numbered tutorial on sending a command? Most of the other snippets that I found, only half work, and most return loads of crap I don't need.
I just need to be able to also run this from a script, or potentially from cron.

This video is near to what I need, but either creates new sessions or returns stuff, which I don't want:
http://www.youtube.com/watch?v=D2BuScTmS6M
Creating a screen with a name and then sending commands to it
===

first of all, this is VERY important, so I would very much appreciate answers. I have also been looking around a LOT to find this answer, without success, so that's why it's also important.

I have found that I can create a detached screen session with the following:

    screen -d -m -S name
Where 'name' is the name of the screen. However, I have absolutely no idea how to simply send a command to that session as if I was there anyway. I have source servers (Garry's Mod and CSS) and Minecraft servers running, so I need to be able to send a command like 'stop', or 'exit', into them (for 24/hr maintenance).

Please please please can you provide me with a simple numbered tutorial on sending a command? Most of the other snippets that I found, only half work, and most return loads of crap I don't need.
I just need to be able to also run this from a script, or potentially from cron.

This video is near to what I need, but either creates new sessions or returns stuff, which I don't want:
http://www.youtube.com/watch?v=D2BuScTmS6M