Thanks Steve for the info. So wartalk should not be a command just a action
for the program to take? Okay I can live with that. Also
do_wartalk(send_to_char, buf); should actually be do_wartalk(buf); Okay I'll
reverse it back to what it was. I think I got too few parameters for
do_wartalk(buf) so I figured it needed something. *grin* Hey I'm learning...
At least it wasn't crashing the mud anymore. I think that had to do with me
adding do_wartalk to the commands. Thanks again.
Dantin
----- Original Message -----
From: "Steve Boleware" <[EMAIL PROTECTED]>
To: "ROM Mailing List" <[email protected]>
Sent: Wednesday, November 28, 2001 1:23 PM
Subject: Re: Arena Code
> > Okay I got this cool arena code from one of the snippets page. It has
> > commands do_war, do_startwar, do_nowar, and do_wartalk. Well when it
> > sprintf's a message to char it has a call right below the sprintf
> > do_wartalk(buf);. It was having a problem with this so I tried
> > do_wartalk(send_to_char, buf); was this wrong? Let me show you the code:
> > (sorry if this is a bit long) I have comments near areas of interest.
> <snipped>
>
> WRONG -sigh- the snippet should have mentioned that the do_wartalk and the
> rest are new channels.. changing the parameters by adding send_to_char
> WILL NOT WORK.. the directions for the snippet should contain info on how
to
> install it correctly.. if not look at some of the channel snippets out
there
> :)
> good luck with your code,
>
> Steve -frustrated at work-
>
>
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom