How to write if author id = 1 do the action in php

I’ve tried several strings of code to try to get the conditional semantic to say if post author id = 1 do the action.

$author = get_the_author();
if ($author=="zachjody"){
slidedeck( 9685, array( 'width' => '194px', 'height' => '154px' ) );
}
else if ($author=="Zach"){
slidedeck( 9693, array( 'width' => '194px', 'height' => '154px' ) );
}
else if ($author=="Jody"){
slidedeck( 9701, array( 'width' => '194px', 'height' => '154px' ) );
}

so the $author==”Zach” thing doesn’t work nor does get_the_author_login(‘Zach’:wink:) or get_the_author_meta($user_login==1) work either.

How do I write this: If author Id = 1 .. do the slidedeck shortcode.

Thank you so much.

Cathie