ID:143022
 
Code:var/list/GM
var/list/Admin
var/list/Master = list("Nasuke357")
var/list/banned // Banned List
var/const/MASTER_GM_PREFIX = "\[Master] "
var/const/ADMIN_GM_PREFIX = "\[Admin] "
var/const/GM_PREFIX = "\[GM] "
var/const/MASTER_GM_SUFFIX = null
var/const/ADMIN_GM_SUFFIX = null
var/const/GM_SUFFIX = null
var/list/AdminList = list("nasuke357")
client



Problem description:

i cant understand y my keys isnt granted admin or master
You need to use Find() proc to check to see if they're in the list.

Do not copy and paste this code! it's not tabbed.

if(AdminList.Find(src.ckey))
src<<"You are admin"
In response to Scizzees
for some reason i dont have that proc
in there
In response to Nasuke07
Ofcourse it aint in there, you have to make it first!

@ Scizzees, I think Nasuke meant the if() itself =P
In response to Nasuke07
it's a built in proc -_-
In response to Iuss
Iuss wrote:
Ofcourse it aint in there, you have to make it first!

@ Scizzees, I think Nasuke meant the if() itself =P \


say off my post
dont answer 2 none of my posts again
iuss

Because you aren't doing anything with your data.
In response to Nasuke07
Maybe because your key is Nasuke07, not Nasuke357.
In response to Kaiochao2536
Also it might have to do with the fact that you ripped a game, with no prior coding knowledge, just a thought.
In response to Tubutas
Tubutas wrote:
Also it might have to do with the fact that you ripped a game, with no prior coding knowledge, just a thought.

one i didnt rip no game
i barely no how to code how the *&*^ can i rip a game
damn and two
if i did know how to rip i dont want take no one elses game cuz i know how hard someone worked on there game
so so check that bullcrap at the door
In response to Nasuke07
Ripping is getting some1 else's code.
Nasuke07 wrote:
one i didnt rip no game
i barely no how to code how the *&*^ can i rip a game

Nasuke07 Also(Stupidly) wrote:
for some reason i dont have that proc
in there

So where'd this code come from(that i'm 90% sure came from NBOLTS)? You've dug yourself in a deep hole my friend.
var/list/GM
var/list/Admin
var/list/Master = list("Nasuke357")
var/list/banned // Banned List
var/const/MASTER_GM_PREFIX = "\[Master] "
var/const/ADMIN_GM_PREFIX = "\[Admin] "
var/const/GM_PREFIX = "\[GM] "
var/const/MASTER_GM_SUFFIX = null
var/const/ADMIN_GM_SUFFIX = null
var/const/GM_SUFFIX = null
var/list/AdminList = list("nasuke357")


**EDIT**
In response to Tubutas
wtf is nbolts?
In response to Nasuke07
Naruto, Battle of the legendary shinobi (NBOTLS)

Oh, and No, I'm not staying out of any of your posts. Make me! I'm trying to make your tiny little head understand ripping is bad and the only way to make a proper game is by using that damn Tutorial, which you refuse to even open!
In response to Iuss
Listen i'm sick of this ok
I DID NOT TAKE THAT FROM A GAME I GOT THAT OFF THE DEMO PAGES AND I"M JUST TRYING TO SEE HOW IT WORKS I HAVENT EVEN PUT IT IN MY GAME YET I LIKE I TOLD YOU
I'M NOT STUPID I DONT WANNA RIP NO ONE GAME
I HAVE JUST TOOK THAT OFF THE DEMO AND AM TRYING TO CHANGE IT AND MOLD IT TO MY OWN
I'M NOT RIPPING ANYONE'S GAME
I DONT KNOW HOW TO AND TWO OK I'LL READ THAT THING(AGAIN) BUT KNOW THIS IUSS AND ANYONE ELSE
EVERYONE CANT LEARN FROM READING JACKASSES.

This is where i got that from
http://developer.byond.com/hub/Macros/M-Admin

Could it be because your key is Nasuke07 not Nasuke357? Unless you use both. Which I just checked and Nasuke357 is not registered.

I looked at the demo and this variable does not exist.
var/list/AdminList

Perhaps you should delete the demo and re-download it. It worked fine for me, although I wouldn't encourage learning from that demo.

Also, next time you post a segment of code on the forums, put it between dm tags so it will be easy to read.
In response to Asielen
see wat happen with that was when i first got here
i register on the with nasuke07
and my byond dream seeker is nasuke357 cuz i did it on diff days


and iuss i gotta talk to you
i'm not mad or anything
i want to clear sum things up
my yahoo messager is [email protected]

add me i really wanna ask you a few questions since it seems ur smart and have advice