If you take a quote as an example:
Code:
[QUOTE="Martok, post: 1042652, member: 46288"]
The option in this case is the bit in quotation marks: "Martok, post: 1042652, member: 46288".
When you use the custom BB code system, it only supports a single option.
So if you wanted a BB code that would produce a div element with certain colours, with the Custom BB Code system you can do:
[DIV=red]Blah[/DIV]
Which is set up like this:
Code:
<div style="border-color: {option}; border-size: 1px;">{text}</div>
Which would produce when used as above:
HTML:
<div style="border-color: red; border-size: 1px;">Blah</div>
But you may want to do something like this:
[DIV=border-color: X, background-color: Y, color: Z]Blah[/DIV]
But to process that accordingly, you need to write PHP code to do so. I guess what would be nice is something like:
Code:
<div style="{option|1:name}: {option|1:value}; {option|2:name}: {option|2:value}; {option|3:name}: {option|3:value}">{text}</div>
There's many challenges and considerations to make here, but that gives you the gist of what is being suggested.