therabbitwindfall / flash-console

Automatically exported from code.google.com/p/flash-console
0 stars 0 forks source link

addSlashCommand: passing several arguments instead of only one, and report the return value #108

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I've added it to my fork but it'd would be good if we have it by default

Original issue reported on code.google.com by darl...@gmail.com on 16 Dec 2012 at 11:47

GoogleCodeExporter commented 8 years ago
Can you attach a patch please?

Suppose you are talking about automatic argument splitting on the callback. I 
am not particularly in favor of auto splitting to space or \s+ because this 
largely depends on what user wants.
I know some people prefer to be able to have spaces in command, e.g.  give 
credit 1000. where 'give credit' is the command. - more friendly to non-tech 
users.
Or perhaps I misunderstood your request.
Regards,

Original comment by luay...@gmail.com on 16 Dec 2012 at 3:03