Assign ticket depending on the value of custom field

Hello.
Another simple question for you.
I need to assign tickets inside one queue to different users depending on different values in the same custom field. Any ideas?
Thanks