ID:162276
 
I'm having a bit of a problem. I'm using "s_admin" by Spuzzum, and well, this keeps popping up when I compile:

GaladoriaOnline.dm:792: Inconsistent indentation.


The area of the problem is here:

//Set their names to include the prefixes and suffixes.
//Be sure not to allow duplication.
if(MasterGMCheck())
if(MASTER_GM_PREFIX && !findtext(name, MASTER_GM_PREFIX))
src.name = "[MASTER_GM_PREFIX][name]"
if(MASTER_GM_SUFFIX && !findtext(name, MASTER_GM_SUFFIX))
src.name = "[name][MASTER_GM_SUFFIX]"
if(AdminGMCheck())
if(ADMIN_GM_PREFIX && !findtext(name, ADMIN_GM_PREFIX))
src.name = "[ADMIN_GM_PREFIX][name]"
if(ADMIN_GM_SUFFIX && !findtext(name, ADMIN_GM_SUFFIX))
src.name = "[name][ADMIN_GM_SUFFIX]"
if(GMCheck())
if(GM_PREFIX && !findtext(name, GM_PREFIX))
src.name = "[GM_PREFIX][name]"
if(GM_SUFFIX && !findtext(name, GM_SUFFIX))
src.name = "[name][GM_SUFFIX]"

mob/proc/RemoveGMVerbs()
for(var/X in typesof(/mob/GM_verbs/verb) + typesof(/mob/admin_GM_verbs/verb) + \
typesof(/mob/master_GM_verbs/verb))

src.verbs -= X

mob/var/tmp/_temp_gm = 0
mob/var/_GM_lockmove = 0
if(MASTER_GM_PREFIX && !findtext(name, MASTER_GM_PREFIX))

Tab that one over once.
In response to Feenux
Yeah, I know that's the problem. But why? What's wrong with that string?
In response to Jamora1124
It's not tabbed properly.
In response to Garthor
Um, Tapped? What do you mean exactly? Is that some vocabulary that I may have missed in the refference?
In response to Jamora1124
In response to Garthor
Oh, I see, so I should "Tab" it? I knew this rule, but i haven't exactly understood it as clear. But I guess I should work around with it. Shall I list my next bug?
In response to Jamora1124
Jamora1124 wrote:
Oh, I see, so I should "Tab" it? I knew this rule, but i haven't exactly understood it as clear. But I guess I should work around with it. Shall I list my next bug?

EDIT/

I got a new error

    if(MAX_INACTIVITY_TIME > ) InactivityCheck()


That's the line with the problem and here's what the error says:

GaladoriaOnline.dm:665:error: missing expression
In response to Jamora1124
You are currently saying
"If MAX_INACTIVITY_TIME is greater than (null), call the InactivityCheck procedure"

if(MAX_INACTIVITY_TIME > ___Greather than what?____) InactivityCheck()
In response to GhostAnime
So I should put it like this:

if(MAX_INACTIVITY_TIME > 1500) InactivityCheck()


I was using it more of the lines of this:

if(MAX_INACTIVITY_TIME > ) InactivityCheck(1500)