Afaik thats not possible.
I don't know what you want to code, even though you mentioned something about plants. Anyway, is it necessary in your code to use an ABM? If not, and you need a timer that can be turned off whenever needed, try NodeTimers.
/giveme landrush:sale_block