I like what you got going on here and would love to use but I have the same question as above. Where do you put this code in the .dll file or in a .ini file? I have tried a couple things but haven't figured it out.
Edit: Scratch that I figured it out lol. Good work on this I find it VERY useful.
And for anyone else that wants to use this but don't know how:
If you do not have a mq2itemdisplay.ini file along side your mq2itemdisplay.dll open notepad and paste the info and save it as mq2itemdisplay.ini. Now in game type /plugin mq2itemdisplay to reload the mq2itemdisplay plugin.