I've never heard of being able to op (or owner) yourself when not opped already with /mode before, even if you need to provide a key. What is the exact format of the command? Replace it with what tidy_trax gave you, e.g.:
menu channel {
owner me:
command here}
For example, if the command was
/msg ArnieServ owner #channel keyhere you would use:
menu channel {
owner me:/msg arnieserv owner #channel $$?*="key?"
}
The $$?*="key?" bit makes a dialog pop up asking you for the password, when you type it the letters/numbers will be covered with '*****' - it's considered the most 'secure' way of using a password as nobody near your screen can see it. When you type the key it will be inserted into the place where you put the $$?*="key?" bit, so in this example it comes out as:
-> *arnieserv* owner #channel thekeyyouspecified
Also note you should place the code in Remotes,
ALT+R and in a new file,
File > New. Don't place it in popups. Oh, and in this case, the popup will appear in the channel window and nowhere else - so you need to right click the channel window, not the nick list or elsewhere.
Hope that hasn't been too confusing
Regards,