XF 2.1 Using bbcode to call a user's avatar in a thread

I'm wondering whether it's possible to set up bbcode to post a user's avatar in a thread. Something like this:

Rich (BB code):
[avatar]<userid>[/avatar]

or

[avatar]121946[/avatar]

Any help is appreciated, thanks :)
 
Top Bottom