therabbitwindfall / flash-console

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

Slash commands to adapt to end of line (;) #83

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently slash commands don't support multiple line commands.
Adding the end of command param 'endMarker' (which defaults to ;) in 
addSlashCommand will likely fix it. 
Setting endMarker to null would mean the rest of string will be passed into 
callback as param.

Reason behind this is for /string command to keep functional as necessary where 
giving the new feature.

Those commands that need to use ; as part of param can pass a custom endMarker 
to use.

Original issue reported on code.google.com by luay...@gmail.com on 7 Jun 2011 at 10:25

GoogleCodeExporter commented 8 years ago

Original comment by luay...@gmail.com on 7 Jun 2011 at 11:22