sprintf(log_buf,"%s %s",argument, ch->name);
log_string(log_buf);
thats proper, as it should be. the problem doesnt seem to be ch->name or
argument, but it looks almost like its keeping track of wordtwist.name and
wordtwist.word as one string because it adds things to them "seperately" but
shows up as one, i logged wordtwist.name and the same thing showed up as
wordtwist.word.
From: Sandi Fallon <[EMAIL PROTECTED]>
Reply-To: Sandi Fallon <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: a problem with checking if a word has been entered already
Date: Sun, 22 Aug 2004 18:47:05 -0400
void do_wtcorrect(CHAR_DATA *ch, char *argument)
{
int points;
int length;
char announce[MAX_INPUT_LENGTH];
char log_buf[MAX_STRING_LENGTH];
DESCRIPTOR_DATA *d;
if ( is_exact_name(argument,wordtwist.word) )
return;
sprintf(log_buf,"%s %s",argument, ch->name);
log_string(log_buf);
--
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom
_________________________________________________________________
Scan and help eliminate destructive viruses from your inbound and outbound
e-mail and attachments.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSNĀ® Premium right now and get the
first two months FREE*.