Comandos /P1
Olá pessoal vim postar os comandos para sua source na qual coloca um mapa em determinado status
elif event == "p0":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["0", self.room.ISCM])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-"+str(self.room.ISCM)+" normal."])
elif event == "p1":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["1", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" permanente."])
elif event == "p2":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["2", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" permanente (Official)."])
elif event == "p3":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["3", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" permanente (Bootcamp)."])
elif event == "p4":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["4", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" Shaman."])
elif event == "p5":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["5", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" Art"])
elif event == "p6":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["6", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" vient de rendre la carte "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" Mecanismo."])
elif event == "p44":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["44", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" deletado."])
elif event == "p7":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["7", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" Sem shaman."])
elif event == "p8":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["8", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" Cooperation."])
elif event == "p9":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["9", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+"deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" Protegido."])
elif event == "p22":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["22", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" Cafofo de tribo."])
Creditos a Charlus
elif event == "p0":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["0", self.room.ISCM])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-"+str(self.room.ISCM)+" normal."])
elif event == "p1":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["1", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" permanente."])
elif event == "p2":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["2", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" permanente (Official)."])
elif event == "p3":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["3", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" permanente (Bootcamp)."])
elif event == "p4":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["4", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" Shaman."])
elif event == "p5":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["5", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" Art"])
elif event == "p6":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["6", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" vient de rendre la carte "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" Mecanismo."])
elif event == "p44":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["44", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" deletado."])
elif event == "p7":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["7", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" Sem shaman."])
elif event == "p8":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["8", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" Cooperation."])
elif event == "p9":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["9", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+"deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" Protegido."])
elif event == "p22":
if self.privilegeLevel>=5 and not self.isDrawer:
if self.room.ISCM!=0:
dbcur.execute('UPDATE mapeditor SET perma = ? WHERE code = ?', ["22", self.room.ISCM])
self.room.sendAll("\x05\x12", [])
self.server.sendModChat(self, "\x06\x14", [self.username+" deixou o mapa "+str(self.server.getMapName(self.room.ISCM))+ "-@"+str(self.room.ISCM)+" Cafofo de tribo."])
Creditos a Charlus
Assinar:
Postar comentários (Atom)
0 comentários:
Postar um comentário