This is just plain useless code. Here\'s why:
You use \"if (nick == name)\" a lot, but those two strings ar never going to be equal (you should have use variables instead), so the only thing that\'s setting of on your events are the \"else\" parts
There\'s no level check or any kind of restriction to prevent people from abusing this bot
I can\'t give out more than 1 score for this snippet