Thread: Access list
View Single Post
  #2  
Old 06-02-2002, 05:39 AM
BBflat BBflat is offline
Registered User
BBflat's Avatar
Join Date: Apr 2002
Location: United States of America
Posts: 573
BBflat is on a distinguished road
Re: Access list

Quote:
Originally posted by aesquivel
I need some help with an npc that lets me set who can have access to a room. like i cna do add "aesquivel" and it will let the account aesquievl in if you can help me im me on aim : Hax0r8669

thanx
Okay, when a player enters, tokenize all the accounts, then go through a for loop, seeing if the player's account is equal to any of the tokens. If the account matches one, set a variable. If the variable has not changed at the end, warp the player out.