ID:149869
 
I have a problem this is my error
Quest Of The Dragon.dme:20: unterminated text (expecting ")
THIS IS THE SCRIPT THAT I'M HAVING PROBLEMS WITH

// DM Environment file for Quest Of The Dragon.dme.
// All manual changes should be made outside the BEGIN_ and END_ blocks.
// New source code should be placed in .dm files: choose File/New --> Code File.

// BEGIN_INTERNALS
// END_INTERNALS
// BEGIN_FILE_DIR
#define FILE_DIR .
#define FILE_DIR "backup"
// END_FILE_DIR

// BEGIN_PREFERENCES
// END_PREFERENCES

// BEGIN_INCLUDE
#include "Login Map.dm"
#include "Login.dm"
#include "Menu.dm"
#include "s_admin2.dm"
#include "Speak.dm"
#include "Warp Out Pub.dm"
#include "Warp To Pub.dm"
#include "Townone.dmp"
// END_INCLUDE



HELP!!!!!!!!

now i get this

loading Quest Of The Dragon.dme
Speak.dm:3: Inconsistent indentation.

Quest Of The Dragon.dmb - 1 error, 0 warnings (double-click on an error to jump to it)

script
mob/verb/say(T as text)
set category = "Talk"
world<< "[src]:T"

In response to Chrishero
Chrishero wrote:
now i get this

loading Quest Of The Dragon.dme
Speak.dm:3: Inconsistent indentation.

Quest Of The Dragon.dmb - 1 error, 0 warnings (double-click on an error to jump to it)

script
mob/verb/say(T as text)
set category = "Talk"
world<< "[src]:T"



You don't indent once for every line. Please read up on the basics, because you keep posting questions about things that are answered in the most basic tutorials. Take a look at the ZBT(Tutorials->ZBT), the Guide, the FAQ, and anything else you might find helpful.

You indent to show that something belongs to something else, like in an if() statement:
if(a)
[ind]b=c

ind = indent/tab

Since DM doesn't use(Rather, you dont need to) { and } to show possession. The same piece of code would look like this in C(where spaces dont matter, and {} is used to show what belongs to the function)
if(a)
{
b=c
}


Hope that helps. Once again, all of your questions have been answered in the FAQ, Guide and other places so you would help us all if you read them through first. By the by, this question should be in Newbie Central, not Code Problems

Alathon
In response to Alathon
Could You Help Me Build A Char Load/Save Script the others anrt working for me