Hello friends, family, child enthusiasts, rapists, druggies, and most importantly coders. Today a problem has arisen; I have a coding problem. I am asking you, Block land Forums, to help me. I have strode along the streets and alleys of my poor town and found many cats astray in the street. I feel bad for these cats, so I reference to the almighty internet. I found many people very (loveually) interested in cats. They call themselves 'furries'. I thought to my self how honorable these people where, giving poor animals homes in their hearts. I decided to make a mod called the 'Cat Mod', where you can adopt, name, and talk to a cat that exists in the chat of your local blockland program. One of my first problems is that I have no idea how to name the cat. I softly thought to myself that if the cat is represented by a said variable, such as $kitty, you could do something along the dear lines of $kitty = 'Georges' so the kitty is named Georges. I then think differently about this, because there are a lot of dear, heroic furries out there. This solution would only work for one cat! I don't know how to go about this, please help. Also, I have no idea how to represent $kitty in chat. If someone said /namecat Georges, what would I put in response? messageClient(%client, '', "Your cat is named $kitty"); Would this solution do it? I don't think so, because variables aren't automagically replaced by what they are. That was my second problem. My third, probably harder and less needed problem, is how would I save said kitty when the handsome furry disconnects? I know this is very complex, so it may not end up happening.
Read all of it.