I misread your post before...
Code:
 SERIN PORT?.?,N9600,[K],myVar
IF myVar = 3 THEN gosomeplace or dosomething
Send K and another value from the PC " K3 " for example.
The PIC will wait for the "K". When the PIC receives a "K" the next character will be written to myVar.