Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
You can't show only the icon, you have to show the icon and the name of the weapon/armor/item. For example, "\oi[2]" shows item 2's icon, then the name of item 2. If you want to show only the icon search for the UCoder's Message System.