ID:166628
 
hey, ive been trying to code out my GM coding page for the verbs for gms etc, everything is going well until i reach the point where i enter, switch(input("Grant what level GM?","Add GM")in list("Temp","1","2","3","4","Cancel"))
if("1")
M.GM=1
world<< "[M] has been granted level 1 GM commands by [usr]!"
M<< "To recieve your GM commands, save and load your game!" The error comes from the M.GM=1 part, it says its an undefined var. Im a new coder and this might be simple, but I was wondering if anyone could tell me how to define the var? thanks J Lyall
1. I'm sick of this. Why don't people just read the DM Guide and learn? Look. You want to make a game? Start out by not using other people's code like that.
2. Define a variable? It's so easy, even a small child can do it! Read the DM Guide!
mob/var/GM=0

3. The term is "administrator", "moderator" or "enforcer". "GM" stands for "Game Master" which means that said person would be in charge of creation, modification and deletion of maps and whatnot in your game. Don't mix the two up!
4. There are several libraries out there that allow you to appoint administrators and whatnot. If you want to, you could just use those and move on, or you can choose to go along and learn by reading the guide.

Please, for the love of god... read the guide.

01000100011000010111010001100001
In response to Android Data
'GM' also stands for Game moderator ;P

But yeah, go read the DM guide... because a variable GM method isn't really wise...especially if you have edit in...

btw, logging out/in for getting verbs? Pshh
mob.verbs+=typesof(/mob/OMZ/POWZR/verb)


- GhostAnime
Also, alot of your questions can be answered under the Developer FAQ. That area contains answers to the most common questions..
In response to Android Data
Android Data wrote:

3. The term is "administrator", "moderator" or "enforcer". "GM" stands for "Game Master" which means that said person would be in charge of creation, modification and deletion of maps and whatnot in your game. Don't mix the two up!

The term 'GM' can be used in multiple ways and mean many different things. It doesn't neccessarily stand for 'Game moderator' or 'Game Master'. It also stands for 'General Motors' and a few things I can't remember.

1. I'm sick of this. Why don't people just read the DM Guide and learn? Look. You want to make a game? Start out by not using other people's code like that.

He is new to coding and doesn't know better as of yet. I don't care how sick of it you are, KEEP IT TO YOURSELF! No need to take it out on newbies.

2. Define a variable? It's so easy, even a small child can do it! Read the DM Guide!

Again, HE'S A NEWBIE. No need to flame him, no need to say clichèd lines and yell at him. Just help him and keep your anger to yourself.

All you need to do is point him in the right direction, not yell at him for being new. I DIDN'T READ THAT GUIDE EITHER! And I'm a pretty decent coder, have helped many people, and am working on several games. I taught myself DM, so are you gonna yell at me?
In response to Pyro_dragons
I agree on this post, which is one of the rare, that actual help should be given (it should always be given, but there are some posts were ... ), granted as it's Developer How-To.

Also, GM also stands for Guild Master. :x
In response to GhostAnime
I agree with Pyro; Android shouldn't be so rash.
In response to GhostAnime
GhostAnime wrote:
'GM' also stands for Game moderator ;P

id:464028
The voice of Duh has yet again spoken.

01000100011000010111010001100001
In response to Android Data
Oh, wow, I read that wrong and just wrote a post about how you shouldn't be happy. I guess it's smart to delete it, though, since you are right. :-P But that doesn't mean you should be mean to newbie coders...you were on once. And, he'll learn; it just takes time.
In response to Digital Stompy
Digital Stompy wrote:
that doesn't mean you should be mean to newbie coders...

I'm not mad at newbie coders; I'm mad at newbie Englishmen.