Yeah, it's just a square with delay on it that's played in a guitar type fashion
To go for the whole "guitar solo" type of sound you should should use plenty of slides to transition between notes that are further away from each other and bend up the pitch the sustained notes. Also guitar soloing is normally more disjointed so to speak compared to other instruments, it's often very "section-y" with the occasional long section of arpeggios.

Here's what a minor scale pattern looks on the fret board, you should keep how the instrument is actually played in mind when you write to sound like it. Notice how easy it is to transition between specific notes, choicely the 1st and 5th (the basis of powerchords which are the most often used chord pattern on guitars), one thing that can work nicely is to go from the first to the 5th hammering on and off the 6th back to the 5th.
Also never bend notes down when trying to sound like a guitar, unless you have a whammy (which is difficult to use for more then effects or the occasional tremelo) it's impossible.
Adding some slight vibrato to stressed notes that begin or end sequences involving a lot of faster notes can get you a pretty pleasing effect too.
Also when you get really high on the fret board (like past the 16th fret) it becomes fairly hard to do complicated finger work, so normally the higher sections contain more long held out notes and bends.