When using "replace" option in Windows IDE, I notice that it is quite usual that I am replacing something where there is number included in the replacement and then it is supposed to rise by one each time.
as example i might have:
after which i copy paste this same line several times:
Code: Select all
gfx["itemname1"] = 1
gfx["itemname1"] = 1
gfx["itemname1"] = 1
gfx["itemname1"] = 1
gfx["itemname1"] = 1
after which i change the real names and numbers to it:
Code: Select all
["itemname1"] = 1
gfx["itemnama"] = 2
gfx["itemnamo"] = 3
gfx["itemnameas"] = 4
gfx["itemn"] = 5
It isnt that much trouble changing those numbers afterwards manually, but I was wondering how difficult would it be to make "replace" function in such way that you could determine that one of the things to be replaced is a number that rises by 1 after each click.