I know I told ya about this before but hope this helps
this is the sub that builds the message icons
it in ubb_libary2.pl
this is the sub that builds the avatar dropdown
also in ubb_library2.pl
you need to combine these 2
real quick it looks like if you just changed the icon sub to this, you shouldn't have to change anything else other than the code that calls the msh icons on the post page.
forumdisplay.cgi and ubblibary2 should be unaffected by this change.
in postings, you'll have to change the av code that you've already installed for mesage icons to reflect these var names.
good luck