I'm guessing you mean post content.
It would be extremely difficult, since filter:parse.post isn't passed the viewers UID. Which it should be, imo.
Looking for a dice roller plugin to post common rolls for RPGs, like 1d20, 3d6, etc. Anyone know of something like that currently up to date? If not, would anyone be interested in a commission to create one?
There is one
Tell us if it works
Got this one by @djensen47 working!
Just have to take out line 10 of plugin.json and create a user to be a bot and modify the bot UID in dice.js.
@Michael-Pfaff Oh, cool. I guess my plugin is still working?
I found this thread looking for a dice roller and I guess mine is one of the few so I guess I'll have to keep working on it.
Whoo, sockbot is a little overpowered for a dice roller, innit?
I have the dice roller plugin up, running, and published on npm:
Oof! That's spectacularly bad timing! However, I suppose it's good that we have two dice roller plugins in the wild now?
Bummer. At least I didn't spend much time on fixing it yesterday. I did most of the work a few years ago.
Actually, by the looks of it, I need to take mine in a different direction.
It looks like this plugin does a sum and also produces output that is, sorry, user unfriendly. I need to count positive results not sum the values. Number of rolls above, or below a number.
I also want to introduce labels on rolls.
[dice(hits) infantry:3d6<=1 tanks:1d6<=3]
infantry 3d6<=1: [2 3 1] 1 hits
tanks 1d6<=3:  1 hits
total: 2 hits
You should be able to do compare points. It’s based off this: https://github.com/GreenImp/rpg-dice-roller/blob/master/readme.md
But the labels and additions of hits would be a nice touch.
I recently updated the dice-bot plugin to 1.1.0