|
Boes Newbie
Joined: 26 Dec 2006 Posts: 5
|
Posted: Tue Dec 26, 2006 2:05 pm
Quick question. |
I'm trying to make an alias to will take a list of varibles from the command line and format them into a proper search url for google.
I have a trigger that does this and it works, but i want the input to come from the command line instead of the trigger. Heres what i have.
Code: |
#var googlesearch %-1
#show googlesearch %replace( @googlesearch, " ", "+") |
but for some reason it doesnt take any thing beyond the first word after the alias.
The show line formats it for google, and I have a trigger setup to trigger off of the googlesearch, and add the rest into the url.
So my question is, how do i change either the #var line or the alias name to where it will capture all the words after the alias.
i.e.
"gs this is a test of the emergency broadcast system This has only been a test"
as it stands now, all it captures is this, then makes a class call is with a varible named a, which i know is a bug. |
|
|
|
Boes Newbie
Joined: 26 Dec 2006 Posts: 5
|
Posted: Tue Dec 26, 2006 2:36 pm |
Never find, found my problem.
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|