`atoi(message) == 0` is true when `message` is `"usable"`, `"etc"`, `"weapon"`, etc. so the below cases won't work. I'd personally use 1 here rather than 0, or remove the IDs altogether, and only use names.

If you decide to keep the IDs, you can also (for performance reasons) make it so the ID are checked before the strings, i.e.:

```
if (atoi(message) == 1 || strncmp(message, "healing", 3) == 0)
```