Item attribute auto increment

Hello dears
I`m asking about if it possible to make an item attribute and increment it like

Item template : TEST

item attributes :
1- color
2- Alt ( Which is numeric vale from 01 to 99 increment 1) and auto increment this value every time item creation like

TEST-BLACK-01
TEST-BLACK-02
TEST-BLACK-03

Is there any custom script which can auto increment this value instead of user check the last number and write the next number manually ??