ID:167550
 
Ok so I have created an object:

obj
sword
desc = "a sword."

Now I want for that object appear in a room. Also any suggestions as to how I can creat 1.Npcs that move around and 2. monsters for fighting and 3. a decent combat system.

Thanks in advance I know that's alot.
Okey first of all, you want people to just give you all those codes? I would try to do it myself and if I can't, I would try demos or libraries. Also there's a forum search that you can use. As for the code that you showed, it's wrong.
Here is how it should look like.
obj
sword
icon='sword.dmi'
desc="A shard blade."

Sorry for the incorrect way to post a code snippet, I am in a hurry.

~Bamrulez
In response to Bamrulez
What in hellsname is wrong about his code? He's making a TEXT mud, not an icon/map game.

Anyhow, there are PLENTY of monster/NPC demo's out there.