I must admit that you have me a bit confused as to where you are in the game. You're asking questions about how to set up a good party and at the same time asking questions about the magic lamp.
Well, whatever - the lamp is a multiple choice thing. You choose from the 3 options offered. You don't type in anything. You can't wish to be a ZenMaster, you have to earn that!
There are ways to use the lamp over and over again but there are limits. You'll probably find that it sounds a lot neater than it is. You will get some nice items but most good things are found randomly in chests as you explore anyways.
Wyv