Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(14)  |  Derive(0)  |  Import(0)

src/b/3/b3-plugin-poweradminurt-HEAD/extplugins/poweradminurt/iourt41.py   b3-plugin-poweradminurt(Download)
                return None
 
            if self.isEnabled() and not self._balancing:
            # set balancing flag
                self._balancing = True
    def teambalance(self):
        if self.isEnabled() and not self._balancing and not self._matchmode:
            #set balancing flag
            self._balancing = True
            self.verbose('Checking for balancing')
    def resetTeamLocks(self):
        if self.isEnabled():
            clients = self.console.clients.getList()
            for c in clients:
                if c.isvar(self, 'paforced'):
        self.debug('Checking Names')
        d = {}
        if self.isEnabled() and self.console.time() > self._ignoreTill:
            for player in self.console.clients.getList():
                if not d.has_key(player.name):
    def onNameChange(self, name, client):
        if self.isEnabled() and self._checkchanges and client.maxLevel < 9:
            if not client.isvar(self, 'namechanges'):
                client.setvar(self, 'namechanges', 0)
                client.setvar(self, 'savedname', self.clean(client.exactName))

src/b/3/b3-1.9.2/b3/plugins/censor.py   b3(Download)
    def onEvent(self, event):
        try:
            if not self.isEnabled():
                return
            elif not event.client:

src/b/i/big-brother-bot-HEAD/b3/plugins/censor.py   big-brother-bot(Download)
    def onEvent(self, event):
        try:
            if not self.isEnabled():
                return
            elif not event.client:

src/b/3/b3-1.9.2/b3/plugins/pingwatch.py   b3(Download)
    def check(self):        
        if self.isEnabled() and (self.console.time() > self._ignoreTill):        
            for cid,ping in self.console.getPlayerPings().items():
                #self.console.verbose('ping %s = %s', cid, ping)
                if ping > self._maxPing:                

src/b/i/big-brother-bot-HEAD/b3/plugins/pingwatch.py   big-brother-bot(Download)
    def check(self):        
        if self.isEnabled() and (self.console.time() > self._ignoreTill):        
            for cid,ping in self.console.getPlayerPings().items():
                #self.console.verbose('ping %s = %s', cid, ping)
                if ping > self._maxPing: