(1) An extended litigation restraint order made by the Magistrates' Court against a person under section 17 may direct that the person must not, without leave of the Magistrates' Court, do either or both of the following for the period specified by the Magistrates' Court—
(a) continue a proceeding in the Magistrates' Court against a person or other entity named in the order or in respect of a matter described in the order;
(b) commence a proceeding in the Magistrates' Court against a person or other entity named in the order or in respect of a matter described in the order.
(2) An extended litigation restraint order that relates to intervention order legislation made by the Magistrates' Court against a person under section 19 may direct that the person must not, without leave of the Magistrates' Court, do either or both of the following for the period specified by the Magistrates' Court—
(a) continue a proceeding in the Magistrates' Court or the Children's Court under intervention order legislation—
(i) against a person protected by the extended litigation restraint order and, if the person is a parent of a child, his or her child; or
(ii) in respect of a matter described in the order;
(b) commence a proceeding in the Magistrates' Court or the Children's Court under intervention order legislation—
(i) against a person protected by the extended litigation restraint order and, if the person is a parent of a child, his or her child; or
(ii) in respect of a matter described in the order.
(3) An extended litigation restraint order made by the Magistrates' Court may include any other direction or order that the Magistrates' Court considers appropriate in relation to a proceeding or the commencement of a proceeding—
(a) in the case of an extended litigation restraint order made under section 17, in the Magistrates' Court; or
(b) in the case of an extended litigation restraint order that relates to intervention order legislation made under section 19, in the Magistrates' Court or the Children's Court.
(4) Without limiting subsection (3), the Magistrates' Court may direct that the person who is subject to the order may commence or continue a specified proceeding—
(a) in the case of an extended litigation restraint order made under section 17, in the Magistrates' Court; or
(b) in the case of an extended litigation restraint order that relates to intervention order legislation made under section 19, in the Magistrates' Court or the Children's Court.