Most likely you're looking for some kind of add-on to the Menu system. Take a look in the script database to see if there's anything like that, or google around other RMXP forums.
It's not something that's built into XP, so there's not really a general/easy solution.