@chop here's my wipe.g but is machine specific, you will want to make your own
if !move.axes[0].homed || !move.axes[1].homed
echo "X and Y axes not homed, aborting the wipe"
M99
if state.currentTool < 0
echo "No tool loaded, aborting the wipe"
M99
if heat.heaters[tools[state.currentTool].heaters[0]].current < 200
echo "Extruder too cold, no point wiping, aborting the wipe"
M99
; Drop all motor currents down
M400
M913 X30 Y30 Z25
M83
; -135, -116, 115, 125,
; ,104....++++++++++++++++++++++....
; ....++++++++++++++++++++++....
; ....++++++++++++++++++++++....
; ....++++++++++++++++++++++....
; ,63 ..|.++++++++++++++++++++++....
; ..|.++++++++++++++++++++++....
; ..|.++++++++++++++++++++++....
; ,30 ..|.++++++++++++++++++++++....
; ....++++++++++++++++++++++....
; ....++++++++++++++++++++++....
; ....++++++++++++++++++++++....
; ,-112....++++++++++++++++++++++....
; ..............................
; ..............................
; ,-121..............................
G0 X-115 Y65 F9000
while true
G0 X-135 Y{65 - iterations * 3} F7000
G0 X-115 Y{65 - iterations * 4} F5000
if iterations == 6
G1 E-3 F3000
if iterations == 8
break
M98 P"park.g"
; Return all motor currents to 100%
M400
M913 X100 Y100 Z100
and park.g
; drop motor curents
M913 X30 Y30 Z25
; go to park position
G0 X-135 Y40
; restore motor curents
M913 X100 Y100 Z100