def func(self): "Handle command" caller = self.caller if not caller: return MATCH_QUEUE_HANDLER.reject(caller)
def func(self): "Handle command" caller = self.caller if not caller: return MATCH_QUEUE_HANDLER.reject(caller)
def func(self): "Handle command" caller = self.caller if not caller: return if caller.db.level < settings.MIN_HONOUR_LEVEL: caller.msg({"alert":_("You need to reach level %s." % settings.MIN_HONOUR_LEVEL)}) return MATCH_QUEUE_HANDLER.add(caller)
def at_pre_unpuppet(self): """ Called just before beginning to un-connect a puppeting from this Player. """ if not self.solo_mode: # notify its location if self.location: change = {"dbref": self.dbref, "name": self.get_name()} self.location.msg_contents({"player_offline":change}, exclude=self) MATCH_QUEUE_HANDLER.remove(self)
def func(self): "Handle command" caller = self.caller if not caller: return if caller.db.level < settings.MIN_HONOUR_LEVEL: caller.msg({ "alert": _("You need to reach level %s." % settings.MIN_HONOUR_LEVEL) }) return MATCH_QUEUE_HANDLER.add(caller)