I made a fairly simple code for a stair case build that places floor, ramp and wall for a big stair case.
$e::
Send {1}
Sleep 70
Send {Lclick}
Sleep 70
Send {2}
Sleep 70
Send {Lclick}
Sleep 70
Send {3}
Sleep 70
return
*not for code, 1 if for my floor, 2 is for my ramp, 3 is for my wall, change that according to your binds. Also the $e:: is what button is pressed to activate the macro. Change that to $f:: if you want. Also not sure if Lclick is correct for left click. You might want to try it and if not look for what Lclick is actually called in scripting world*
*Also this is not an automatic loop so you will have to press your activate key each time you want the ramp you will need to add a toggleable loop if you want that which I will be adding to mine soon!*