Rovers will play Crawley if they can get past York in the replay.Rovers will play Crawley at home in the second round of the FA Cup if they can overcome York City in their first round replay.
The draw was made at Wembley this afternoon and shown live on ITV.
Crawley currently sit 13th in the League One table, and beat non-league side Hednesford Town 2-1 to make it through to the second round.
On Friday night Rovers and York drew 3-3 in an exciting contest at the Memorial Stadium, with Eliot Richards, Matt Harrold and Chris Beardsley all scoring for the Pirates.
Rovers will travel to York for the replay on Tuesday, November 19th. Ticket details to follow.