def getAccess(self):
		if self.access in self.levels:
			access = self.levels[self.access]
		else: access = 0
		
		agreement = ('0' if (self.access in ('disabled', 'agreement')) else '1')
		bot = ('1' if self.bot else '0')
		
		return (bot + agreement + dec2bin(self.ingame_time, 20) + dec2bin(access, 3)).lstrip('0') or '0'
dataset/ETHPy150Open lunixbochs/uberserver/tasserver/LegacyUsers.py/User.getAccess/original