ID:145222
 
Code:
//only teater can come
mob/proc
Closed_Testing()
if(src.key == "sdsd"||src.key == "EXPmushroom")
usr<<"Welcome to Ninja Academy"
else
world << "<b><small>Announcement: [src]/[key] tried to log in!"
src << "<font size = 3><b><font color = red>Sorry we are in Closed Testing!"
del(src)
//tester
second part
//closing the game for testing
mob/proc
PlayerList()
var/savefile/F=new("players/[src.ckey]/mobs.sav")
F.cd="/[ckey]"
var/list/players=F.dir
return players
CC()
Closed_Testing()
src.loc = locate(7,7,20)//shows login screen right when brought up
src<<'Login.BMP'
src.Login44()
//creating a group of POWER
mob/proc/Login44()
..()
if(src.key == "sdsd"||src.key == "EXPmushroom")
usr.admin=1

//closing the game for testing


Problem description:
the script is spose to stop people from playing the game except the people with the key listed, for some reason its not working, i am noob and have little experence plz help :)
Soccerguy13 wrote:
2nd - you never call the Closed_Testing() proc. Add it into login, or CC I would suppose.

It is in the CC() proc....