So i want to make a script that searches for a picture and keeps doing it until all the pictures of that kind have been found and then shows the number of how many pictures of that kind there is.
the runes/stones in the picture are the ones that i need to count how man there are of them in my inventory/bag and show the result in a msgbox but i dont know a good way of doing it and i would like some advice.
IF this picture is found then make Stone1 = 1 and if it finds another one like that but not one the same place like this
then it should make Stone1 = 2 and so one for every stone/rune, so it doesnt count the stones on the same location over and over again.
The game is Diablo 2 Lord of destruction
Inventory with the runes/stones: