How do I get at the last line of input I typed?
I want to write a little script that offers targeted aliases. So for example if I type "c thief" it replaces it with "con thief" instead of just "con."
Grabbing Input
Re: Grabbing Input
^c (.+)$ as a regex, and send("con "..matches[2]) as the script should do it
Re: Grabbing Input
Thanks, Vadi. I added "\s" after "^c". It's working great!
Last edited by jklua on Wed Jun 22, 2011 8:23 pm, edited 1 time in total.