Double Click (blue moongate (0F6C)) Open moongate menu
WaitForGump
GumResponse (Button 14) Select Prevalia
WaitForGump
GumpResponse (Button 2) Travel through gate
While next to a public moongate, create a new macro in Razor and start recording.
Double click the gate, select your desired default escape destination, click
Travel to Destination and stop recording. Finally, right-click the first
entry Double Click (0x400000AC) (the number may be different) and change
the target to generic with Convert to DClick by Type.
To use this macro, be at most 2 tiles away from the moon gate.