Normally Zorro does not check your account before placing a trade, so you'd need to do that by script.
There's one exception: when the MARGINLIMIT flag is set, Zorro doesn't enter a new trade when the trade margin plus the trade risk exceeds the available margin left in the account. But this is a rather crude condition - finer adaption of the margin to the account size should be done by script.