This should work for what your looking for if I am not mistaken.
Might need changing depending on how you want it to work.