getobj
struct obj *getobj(const char *, const char *);
otmp = getobj("0#%", "put in");
obj = getobj("(", "use or apply");
obj = getobj("#)", "throw"); /* it is also possible to throw food */
return (drop(getobj("0$#", "drop")));
obj = getobj("#", "name");
obj = getobj("?!=/", "call");
otmp = getobj("[", "wear");
otmp = getobj("=", "wear");
getobj("[", "take off");
otmp = getobj("%", "eat");
otmp = getobj("#-)/", "write with");
if (!(obj = getobj("#", "dip")))
if (!(potion = getobj("!", "dip into")))
otmp = getobj("!", "drink");
scroll = getobj("?", "read");
if (!(wep = getobj("#-)", "wield"))) /* nothing */
obj = getobj("/", "zap");