How to direct a specific role to a specific page This is related to this question:

How do I redirect a user role on login (Drupal 6)?

My biggest problem is that the only rules available as far as I can see are on user login, period, nothing for a specific role. How would I go about setting the redirect ONLY for certain user roles, when using rules?
In rules you could select "when a user logs in" and then as the action, select "custom php code" and fiddle with something along the lines of:    

if (in_array('ROLE_TO_CHECK', array_values($account-&gt;roles))) {
  drupal_goto('PAGE_TO_GOTO');
}


ADDITION:

D'oh!

Rules can do this....


Select 'Add a new rule'
Name it whatever and select 'User has logged in' as the event
Add a condition: User has role(s)
Select the role you want
Add an action.
Select Page Redirect
Enter the path you want ADDITION:  check both Force Redirect and Immediate Issue check boxes
Save