The team is very old in cricket but they have not been able to move forward accordingly. They sometimes perform well but fail to maintain the consistency you already mentioned. At one time they were staying in the same position with Ireland Cricket but Ireland Cricket improved a lot but Scotland could not change their position. To improve the cricket of a country, of course, the support of the government of that country is necessary. I don't know how much support they are getting or what problems are going on their cricket. But if they had taken this cricket seriously from the beginning then the team would have definitely reached a higher position. The way we have seen Afghanistan improve is rare in cricket history.
Since the day Scotland started playing cricket, they have not significantly improved their cricket even they have not been consistent. As a result, there has been no significant improvement in their cricket so far. In recent times they have been doing well with several teams but they are not Test status teams. The Scotland team has been performing well so far in the ICC Cricket World Cup League Two. An interesting fact is that when the Afghanistan team first started playing cricket, they were much weaker than Scotland and Ireland. But nowadays they have brought themselves to such a height that they are now ready to fight with the big teams of the world and even beat those teams. The way Afghanistan team is improving itself day by day is unbelievable.
What I understand is that to do well in cricket, the love for cricket must grow.
In order to improve cricket in a country, it is necessary to arrange Experienced coaches in that country first. Then there should be regular domestic leagues so that the players can correct their mistakes and learn from them and improve.