Scotland beat Afghanistan by two wickets to book their place in the ICC World Cricket League Division One final in the Netherlands, where they will meet Ireland on Saturday.
In a low-scoring game, Afghanistan were bowled out for 141 and it took Scotland 43.5 overs to chase down the runs in what turned out to be a tense finish.
Ross Lyons was the hero with the ball, returning figures of three for 21 while Gordon Goudie and Moneeb Iqbal shared four wickets as only captain Nowroz Mangal, unbeaten on 38 in 83 balls, offered much resistance and that coming after Afghanistan were in disarray at 98 for six.
In reply, Fraser Watts made 46 at the top of the order but Afghanistan chipped away with regular wickets - two apiece for Shapoor Zadran, Mohammad Nabi, Hamid Hassan and Mangal but it wasn't enough and with Iqbal unbeaten on a vital 15, they were left to rue bowling some 19 wides which made Scotland's task easier than it could have been.
Afghanistan will play the Netherlands in the third/fourth place play-off despite the home side going down by 39 runs to Ireland, who made it five wins out of five in the group stage.
John Mooney made 54 and Paul Stirling 33 to prop up Ireland's batting after they slipped to 57 for five and three wickets apiece from Mark Jonkman and Bernard Loots meant the Dutch were chasing 178 to win.
However, they fell short as George Dockrell and Paul Stirling both took four wickets. Peter Borren top scored with 47.
Canada registered their first win of the competition by beating Kenya by six wickets although both sides will meet again in the fifth/sixth place play-off.
Harvir Baidwan starred with three wickets and there were two apiece for Rizwan Cheema and Parth Desai as Kenya were bowled out for 153 and then an unbeaten 61 from Ashish Bagai steered Canada to victory in 35.5 overs.
Final standings: Ireland 10 points, Scotland 8, Afghanistan 6, Netherlands 4, Canada 2, Kenya 0
© Cricket World 2010