Nonmovingentity is doubtfully a predefined name. I don't know about player, but it seems quite common. As to your error, the most likely cause I can come up with is that the player pointer has not been defined yet. Instead of player.x, you could use camera.x instead. This uses the camera instead of a player. If you do have a player (I don't), then you need another pointer. Pointers are formatted like this in C-script:
entity* player; // the * is a pointer with the name following. It can later be assigned by script.
Also, you have "info1.string" done incorrectly. You're very close though:
info1.string = "Your new string content goes here";
You have to manually add hard returns (although you could write a script to do it, I do it manually with my hypercount ability for short range and rare use, but a string of digits on top commented out to help as well which is even faster than my hypercount ability is. I have the format as:
123456789A123456789B123456789C12
For 32 characters. I then just move it along starting immediately after the \n.
Ya know, I think you should read and go through the scripting tutorials. Posting here isn't bad either. I may seem to be gone, but I'm working on my 2D game's clouds while waiting for anything new. I'll be around until about noon to 12:30 PM Central Time when I end up going to bed.