ID:156732
 
I want to create some procedures that will drop a player in a WAITLIST. They'd sit in the WAITLIST until a space becomes available in the ACTIVE GAME, at which point they are dropped into gameplay at a specific LOCATION. But I don't know how to create a list, and then have the engine pull their character from the wait list when their turn comes up. Help!
Maybe you should try reading the material first, saying, "I don't know how to make the engine pull their character" doesn't look like you tried more than you are showing.

This is the reference for lists:

http://www.byond.com/ members/?command=reference&path=list#comment_1

You could store a persons' name or key in a list. Then when it is available, you remove them from the list, add them to another list, then set their loc.

Location:

http://www.byond.com/members/?command=reference&path=atom/ var/loc#comment_1

Lummox JR's Associative list tutorial:

http://www.byond.com/members/ DreamMakers?command=view_post&post=32170



No problem, just post here again with a copy of what you have if you would like more help.
In response to Darkjohn66
Thanks for the direction!