I made a custom item which is like random box.
Then, I want to know what item I got from the box when I open the box. Do you know what I mean?
For example, when you open a creature random box, you may see the message ("You use creature random box." and "You gain 1 xxx.") in the chat.
However, when I open my box, no message shows. Just like "You use xxx." So how can I write script for adding a message like "You gain 1 xxx."? Please anyone help me if you know about this.
Then, I want to know what item I got from the box when I open the box. Do you know what I mean?
For example, when you open a creature random box, you may see the message ("You use creature random box." and "You gain 1 xxx.") in the chat.
However, when I open my box, no message shows. Just like "You use xxx." So how can I write script for adding a message like "You gain 1 xxx."? Please anyone help me if you know about this.