Post Processing on Comments
So, I'm trying to figure out the best way to add some custom tags and such to the comments.
Initially, I want to build a DiceRoller plugin like the one that was available for Vanilla 1 but I'm having some issues figuring out which model/controller Event to capture with my custom class.
Ideally, players would be able to add some text in the comment:
[roll]3d6[/roll]
And, when they hit "Post Comment," my Plugin would be able to capture some Event so I can convert the [roll]3d6[/roll] into random numbers before the comment is saved.
Any thoughts on where to get started with this search?
Thanks!
John
Initially, I want to build a DiceRoller plugin like the one that was available for Vanilla 1 but I'm having some issues figuring out which model/controller Event to capture with my custom class.
Ideally, players would be able to add some text in the comment:
[roll]3d6[/roll]
And, when they hit "Post Comment," my Plugin would be able to capture some Event so I can convert the [roll]3d6[/roll] into random numbers before the comment is saved.
Any thoughts on where to get started with this search?
Thanks!
John
Tagged:
0