The constant smell of smoke, whether from something that burned or from cigarettes, can be an annoyance that develops into a real problem -- causing headaches or other allergic reactions. When the smell of smoke is coming out of an air conditioner, it can smell even more intense. Getting rid of the smell takes a little work, but it can be done.
Unplug your air conditioner. Remove the grill and clean the fins and coils according to manufacturer's instructions. Remove the air filter.
Rinse the air filter thoroughly or replace it with a new one.
Use an old toothbrush and rag dipped in soapy water to clean dirt and debris from the chambers and area around the filter.
Spray air freshener on the filter before you replace it. This may help mask the odor as the air conditioner runs in the beginning. Eventually the air freshener will run out, but it should last long enough to clear the smell of smoke out of the air conditioner.
Run the air conditioner after cleaning it out to allow the smoke smell to dissipate. You may need to leave the house while doing this.