Still won't work. atoi(message) is always == 0 if message doesn't start with a number, so if message is i.e. `"usable"` or `"weapon"`, this will be always true.
You have to either use another method, or not use the ID `0`. (or get rid of the IDs as I suggested, they're not much meaningful to the user anyways)