Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(16) | Call(16) | Derive(0) | Import(0)
Write a sequence of messages to Rcon/Console. Optimized for speed
src/b/3/b3-1.9.2/b3/parsers/iourt41.py b3(Download)
if len(lines): self.writelines(lines) def inflictCustomPenalty(self, type, client, reason=None, duration=None, admin=None, data=None):
if len(lines): self.writelines(lines) def ban(self, client, reason='', admin=None, silent=False, *kwargs):
def unban(self, client, reason='', admin=None, silent=False, *kwargs): self.debug('EFFECTIVE UNBAN : %s',self.getCommand('unbanByIp', ip=client.ip, reason=reason)) cmd = self.getCommand('unbanByIp', ip=client.ip, reason=reason) # UrT adds multiple instances to banlist.txt Make sure we remove up to 5 duplicates in a separate thread self.writelines([cmd, cmd, cmd, cmd, cmd])
src/b/i/big-brother-bot-HEAD/b3/parsers/iourt41.py big-brother-bot(Download)
if len(lines): self.writelines(lines) def inflictCustomPenalty(self, type, client, reason=None, duration=None, admin=None, data=None):
if len(lines): self.writelines(lines) def ban(self, client, reason='', admin=None, silent=False, *kwargs):
def unban(self, client, reason='', admin=None, silent=False, *kwargs): self.debug('EFFECTIVE UNBAN : %s',self.getCommand('unbanByIp', ip=client.ip, reason=reason)) cmd = self.getCommand('unbanByIp', ip=client.ip, reason=reason) # UrT adds multiple instances to banlist.txt Make sure we remove up to 5 duplicates in a separate thread self.writelines([cmd, cmd, cmd, cmd, cmd])
src/b/3/b3-1.9.2/b3/parsers/sof2.py b3(Download)
lines.append(self.getCommand('message', prefix=self.msgPrefix, name=client.name, message=line)) self.writelines(lines) except: pass
src/b/i/big-brother-bot-HEAD/b3/parsers/sof2.py big-brother-bot(Download)
lines.append(self.getCommand('message', prefix=self.msgPrefix, name=client.name, message=line)) self.writelines(lines) except: pass
src/b/3/b3-1.9.2/b3/parsers/etpro.py b3(Download)
lines.append(self.getCommand('message', name=client.name, prefix=self.msgPrefix, message=line)) self.writelines(lines) except: pass
if len(lines): self.writelines(lines) def getTeam(self, team):
src/b/i/big-brother-bot-HEAD/b3/parsers/etpro.py big-brother-bot(Download)
lines.append(self.getCommand('message', name=client.name, prefix=self.msgPrefix, message=line)) self.writelines(lines) except: pass
if len(lines): self.writelines(lines) def getTeam(self, team):
src/b/3/b3-1.9.2/b3/parsers/wop15.py b3(Download)
if len(lines): self.writelines(lines)
src/b/i/big-brother-bot-HEAD/b3/parsers/wop15.py big-brother-bot(Download)
if len(lines): self.writelines(lines)
src/b/3/b3-1.9.2/b3/parsers/et.py b3(Download)
lines.append('qsay %s ^8[%s^8]^7 %s' % (self.msgPrefix, client.exactName, line)) self.writelines(lines) except: pass
src/b/i/big-brother-bot-HEAD/b3/parsers/et.py big-brother-bot(Download)
lines.append('qsay %s ^8[%s^8]^7 %s' % (self.msgPrefix, client.exactName, line)) self.writelines(lines) except: pass