SWG macro editor