不那么做的话你想引入几条命令？
SE 和 BGM 要分开设置


On Wed, Mar 20, 2013 at 5:33 PM, Proton <notifications@github.com> wrote:

> In src/client/ui/commands.py:
>
> >  def _format_all_commands():
> >      return '\n'.join([
> >          u'/%s ' % cmdname + cmd.commandname
> >          for cmdname, cmd in registered_commands.items()
> >      ])
> >
> > -
> > -def process_command(arglist):
> > -    while True:
> > -        if not arglist:
> > -            prompt = _format_all_commands()
> > -            break
> > -
> > -        al = list(arglist)
> > -        cmdname = al.pop(0)
> > +def process_command(arglist, frame):
>
> 不赞成引入这种复杂的参数机制。
> 所有的参数都是必须的，尽量保证参数少为好。
> 如果不满足就help。
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/feisuzhu/thbattle/pull/5/files#r3447294>
> .
>