ID:166443
 
is there a way to tell which rooms are taken through lists? I am having 10 rooms for a training program and if one is taken, they would be sent to the next. Then im adding a check to see if all rooms are full, they would have to wait for one to be open.
Using variables for checks would work. You could also check for a client in the vacinity of the rooms.
Cyclometh wrote:
is there a way to tell which rooms are taken through lists? I am having 10 rooms for a training program and if one is taken, they would be sent to the next. Then im adding a check to see if all rooms are full, they would have to wait for one to be open.

BYOND already has something built-in so you can accomplish things such as this, they're called "area". All you need to do is check against how many clients are in a certain "area", if there are too many, check the next one.