On Tue, Apr 30, 2002 at 01:29:04PM -0600, Ammaross Danan wrote: > I have an interesting problem with some drunk code I have. > What it does, is slurs a string that is passed to it, depending on the > drunkness of the player. I use it like this: > argument = makedrunk(argument,ch); > > Now, argument is, of course, the pointer to the start of the words a player > is speaking in their ch->desc->incomm.
That's wrong. ch->desc->incomm should only be touched by read_from_descriptor(). You're talking about do_say(). Use the argument-parameter from that function. Further on "Now, the function basically looks like this:" is not sufficient for these solving these kind of problems. They are very specific for your implementation and hard to give a general solution for expect UTSL. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org [EMAIL PROTECTED] | Interested in MUDs? Visit Fatal Dimensions: bash$ :(){ :|:&};: | http://www.FatalDimensions.org/

