/raw, as you're using it, is a command. I think you're looking for the event however (as in do something with the number 319 being sent to you). In this case, use:
raw 319:*: {
; code here
}
If you're looking for more RAW's, try
/debug @d, and any server raws being sent to you will be visible (as well as those you're sending).