Traverse boundary

In cncjs I have this macro that will traverse the boundary of the loaded gcode, is there such a thing for repetier-host/server?

Here’s the macro for cncjs:
; Traverse around the boundary
;G0 Z40 ; go to z-safe
G0 X[xmin] Y[ymin] S2000 F3000
G0 X[xmax] S2000
G0 Y[ymax] S2000
G0 X[xmin] S2000
G0 Y[ymin] S2000
G0 X0 Y0 F3000

I don’t know repetier-host and don’t know the answer, but wanted to let you know your question was seen. Sorry.