nice hack!
Is is possible to create a bbcode within a bbcode? Example, if I want to create a bb code called "roll" (and an accompanying button for it), and I want it to automatically roll 5 dice with 1-6 options, how can I do that? Theoretically this is what I want:
my member would type (or hit the roll button and get this): [roll][/roll]
but the code would execute as: [roll][dice=5]6[/dice][/roll]
Anyway to do that? The reason is...my members are low tech and having them input all the variables is too complex. Just want a simple roll button that they can click and it's all set up for them. Can do?
|