Well, there's a lot of different ways people could be smart. For example, the way you thought of that nickname was smartly thought out; it doesn't necessarily mean that you're intelligent. You just think of things logically, which is smart in it's own way. Anyway, if you think the things you do aren't very smart, then why don't you change your habits?
Programming is very hard. Like I noted above, there are a lot of advanced mathematical aspects that I don't understand, so therefore I can't delve deeper into programming itself. What I posted above was a simple includes, if, else if code that makes the code do something different depending on the situation. For example, if you have a theoretical awesomness level of 100, then the program responds with the else if command: "You are cool, I am jealous of your work place." (/n just means a line break.)