You should be able to use that *get as it seems to be solution related.

The *if statement might go in a do loop in a transient analysis.

(I can not be 100% since I never used this,but try it)


On how to do this (*do loop) see this chapter in help:

5.6. Solving Multiple Load Steps