Heh, I knew it was something I overlooked completely.  That's
what I get for copying lookup functions huh? ;)  Thanks.

--- Dale Kingston <[EMAIL PROTECTED]> wrote:
> Look at it
> 
> You typed buy energy right? so prize_lookup is getting the
> word energy.
> 
> now is name[0] the same as prize_table[i].name[0]
> 
> name[0] = e and prize_table[i].name[0] would be s
> 
> you would need to change that check to do if
> (is_name(prize_table[i].name,
> name))
> 
> And hope you don't have anything else with the words energy or
> suit in them.
> I would suggest having it display a number and then you buy 1
> then do
> number - 1 (unless you put someone empty for start of the
> table)
> 
> 


=====
-Matt Foltz
[Neoterra MUD] telnet://neoterra.is-a-geek.com:4000
[Car Audio Resources homepage] http://www.car-audio.net

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Reply via email to