[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [NOOB] "remember" function
- From: "Patrick Donnelly" <batrick.donnelly@...>
- Date: Thu, 23 Aug 2007 13:36:45 -0600
First, in an effort to help you clean up your Lua code:
-- local i = 0 --why is this here?
if not who then return (nil) end
if (remember[who]) then
return("I remember you, " .. who .. "!")
remember[who] = 1
return ("I am trying to remember you, " .. who .. "!")
Sorry if that seems like nit picking but I found what you did incredibly odd.
Anyways, seeing your C code is necessary for us to help you I think.
Just be sure to trim it to show only relevant portions.
"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."