Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elif event == "equipe":
- if self.privilegeLevel >= 1:
- maplist = []
- mapslist = ""
- priv = ""
- dbcur.execute('select * from users where privLevel = 10') and dbcur1.execute('select * from users where privLevel = 8') and dbcur2.execute('select * from users where privLevel = 6') and dbcur3.execute('select * from users where privLevel = 5') and dbcur4.execute('select * from users where privLevel = 4') and dbcur5.execute('select * from users where privLevel = 3')
- rrfRows = dbcur.fetchall()
- rrfRows1 = dbcur1.fetchall()
- rrfRows2 = dbcur2.fetchall()
- rrfRows3 = dbcur3.fetchall()
- rrfRows4 = dbcur4.fetchall()
- rrfRows5 = dbcur5.fetchall()
- if rrfRows is None:
- mapslist="Empty"
- else:
- for rrf in rrfRows:
- name=rrf[0]
- privlevel=rrf[3]
- priv="<ROSE>Administrador</ROSE>"
- mapslist=mapslist+"<br>"+str(name)+" - "+str(priv)
- for rrf in rrfRows1:
- name=rrf[0]
- privlevel=rrf[3]
- priv="<ROSE>Coordenador</ROSE>"
- mapslist=mapslist+"<br>"+str(name)+" - "+str(priv)
- for rrf in rrfRows2:
- name=rrf[0]
- privlevel=rrf[3]
- priv="<ROSE>Mega Moderador</ROSE>"
- mapslist=mapslist+"<br>"+str(name)+" - "+str(priv)
- for rrf in rrfRows3:
- name=rrf[0]
- privlevel=rrf[3]
- priv="<ROSE>Moderador</ROSE>"
- mapslist=mapslist+"<br>"+str(name)+" - "+str(priv)
- for rrf in rrfRows4:
- name=rrf[0]
- privlevel=rrf[3]
- priv="<ROSE>Mapcrew</ROSE>"
- mapslist=mapslist+"<br>"+str(name)+" - "+str(priv)
- for rrf in rrfRows5:
- name=rrf[0]
- privlevel=rrf[3]
- priv="<ROSE>Helper</ROSE>"
- mapslist=mapslist+"<br>"+str(name)+" - "+str(priv)
- self.sendData("\x06" + "\x14",[mapslist])
Advertisement
Add Comment
Please, Sign In to add comment