|
Yamabushi Apprentice
Joined: 29 Jul 2003 Posts: 101 Location: USA
|
Posted: Thu Sep 18, 2003 5:16 pm
multiple word variable problems |
Hi, I am trying to put multiple words into a single variable.
At this point I can either use an alias to set the varible, "XYZ", or use a trigger to try to pull it off of either and echo, or show command.
Any ideas on how to set the variable?
The variable data could be anything from "Big Grey Duck" to "1982 World Series" or "pay-pal money tonight"
Thanks for the time and thought. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Sep 18, 2003 5:52 pm |
The built-in command works well, whether in an alias, a trigger, or even as a stand-alone command.
#VARIABLE XYZ {Big Grey Duck} |
|
|
|
Yamabushi Apprentice
Joined: 29 Jul 2003 Posts: 101 Location: USA
|
Posted: Thu Sep 18, 2003 8:31 pm |
Well I plan on changing the variable alot, it's for my theft aliases i'm working on. So I need a way to capture the item's name into the variable in one command when I turn on my aliases....
so if i use stealstuff <multiple word name> it will set the variable to that name.
Thanks |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Sep 18, 2003 8:59 pm |
#AL stealstuff {#VAR XYZ {%-1}}
|
|
|
|
Yamabushi Apprentice
Joined: 29 Jul 2003 Posts: 101 Location: USA
|
Posted: Thu Sep 18, 2003 10:42 pm |
Thanks looks like it will work
|
|
|
|
|
|