"Boh-Ahz" <[EMAIL PROTECTED]> wrote:
>The problem is that you are stripping off 2, one word arguments from the
>"argument" variable that is passed to do_clan.
>
> argument = one_argument(argument, arg1);
> argument = one_argument(argument, arg2);
>
>The first one is doing what you want I think. It is removing "talk" off
>the front of the string and storing it in arg1, returning the remainder
>to argument. The next like does the same thing, cept with arg2. So,
>for example, if someone typed "clan talk Heya Clannies!",
>
>Arg1 == talk
>Arg2 = Hey
>
>Below, after you check to make sure that arg1 == talk you do this:
>
>sprintf( buf, "{B[{W%s{B]{x clans {R'{x%s{R'{x\n\r",
> ch->name,
> arg2 );
>
>But, arg2 == "Hey", and argument contains "clannies!" I don't know what
>the intention of arg2 is, but if you remove arg2, and just use argument
>in its place below, you should be ok.
When i do this, it cuts off the first word after the argument "talk" but
displays the rest of the string. *rofl* im stumped, but whats new.
Charlie
the Noobz
__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now!
http://channels.netscape.com/ns/browsers/download.jsp
Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/