ID:179952
 
What i need in my login is a list (i have that), but i need it to loose options as people log in. I have something like this already.

var/alignment = input("Your Alignment?","")in list ("Good","Evile")
switch(alignment)
If("Good")
alignment -= "Good"
if("Evil")
alignment -= "Evil"

is this even close to what i need. I want to figure out a way that if the first player would select good, that the next could only select evil. and then maybe a message would pop up telling the third person all the places are filled. I think it's possible, i saw it in one of those lexi games... lexiquest maybe... i don't know, it had little walkig hats that attacked each other...
Flynn wrote:
What i need in my login is a list (i have that), but i need it to loose options as people log in. I have something like this already.

var/alignment = input("Your Alignment?","")in list ("Good","Evile")
switch(alignment)
If("Good")
alignment -= "Good"
if("Evil")
alignment -= "Evil"

is this even close to what i need.

Somewhat.

var/list/alignments = list("Good","Evil")

mob/Login()
if(alignments.len)
var/alignment = input("Choose your alignment:") in alignments
alignments -= alignment
..()
else
usr << "Sorry, there are no more alignments left."
del(usr)