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.