I tried to use xtile with the if statement, but received the message, "option if not allowed". Is there a workaround?

Code:
xtile risk_cat3=riskscore, nq(3) if sOTcat==1