Macro - Extract If Own < 100 Cores

I was trying to write a macro “Extract if I own less than 100 cores”. This doesn’t seem to be possible under the current macro system?

It is possible but quite cumbersome. Here is my general purpose extract macro. It extracts singular and itherian creatures with priority then tries to extract each creature if Cores less than 10.

2,-1,44,-1,3,-1,1;2,-1,45,-1,3,-1,1;2,1,53,10,3,-1,1;2,2,53,10,3,-1,1;2,3,53,10,3,-1,1;2,4,53,10,3,-1,1;2,5,53,10,3,-1,1;2,6,53,10,3,-1,1