Multiple AC Dimmer

Hey guys, I am working on a multiple AC dimmer. I used this code from someone else and modified it a little. The problem I am having is when i post the " D/0/50/F" into the serial monitor is I get the result I am looking for and also a "code unknown". I dont know where this code unknown is coming from. I am eventually trying to throw it into max and the code unknown is messing up the refresh rate of the dimming. If anyone could give me a suggestion on my code I would highly appreciate it!

http://arduino.cc/forum/index.php/topic,22512.45.html

this is the guys code i am taking it from ^^^