ID:264844
 
Code:
area/dark
luminosity = 0

obj/torch
icon = ’torch.dmi’
luminosity = 3

turf
floor
icon = ’floor.dmi’
wall
icon = ’wall.dmi’
density = 1

mob/DM
key = "bblast"
density = 0


Problem description:

I get a 8 errors :o
Like this:
Fantasy Town.dm:10:error: unexpected character (ascii -110)
Fantasy Town.dm:12:error: unexpected character (ascii -110)
Fantasy Town.dm:12:error: unexpected character (ascii -110)
Fantasy Town.dm:13:error: density: expected end of statement

Fantasy world.dmb - 8 errors, 0 warnings (double-click on an error to jump to it)

You're doing something wrong.
icon = ’torch.dmi’ should be icon = 'torch.dmi'
In response to Darker Legends
Ty it workd i have another question i get another error with

#define MASTER_KEY "Dan" //The all-powerful super-user!
mob/DM
key = MASTER_KEY
In response to B-Blast
That code is all wrong. I am also not completely sure what you're trying to do, but I'll try to help you.

#define MASTER_KEY "B-Blast"//Define the MASTER_KEY
mob/Login()
{
if(src.key == MASTER_KEY)//Check if your key is the MASTER_KEY
{
src << "Your key is the MASTER_KEY";//Tell the player that it is.
}
}


That's how you're supposed to use #define.
In response to Darker Legends
They dont explain that in the guide :s
How is the best to learn DM codes :)
In response to B-Blast
Tutorials are the best way to learn. The DM Guide is still useful but it was made a long, LONG time ago (since BYOND v.2)

Here's a good link to start off:
http://www.byond.com/developer/articles/start
In response to Darker Legends
DM hasn't used curly brackets for years. What are you doing there?
In response to Warlord Fred
Warlord Fred wrote:
DM hasn't used curly brackets for years. What are you doing there?

They're not being used for any particular purpose and your question is completely off-topic. But if you really want to know it's just a habit.
In response to Darker Legends
Darker Legends wrote:
That code is all wrong. I am also not completely sure what you're trying to do, but I'll try to help you.

Read: http://www.byond.com/ members/?command=reference&path=client%2Fproc%2FNew